---
title: "Execute View"
method: GET
path: "/api/v2/views/{view_id}/execute"
tags: ["Views"]
---

# Execute View

`GET /api/v2/views/{view_id}/execute`

Returns the column titles and the rows of the specified view.

The `columns` array lists the view's column titles and includes only views parameters.

The `rows` array lists the values of each column for each ticket and includes parameters from both views and tickets. Though not displayed in the view, a partial ticket object is included with each row object.

**Note**: To get the full ticket objects for a specified view, use [List Tickets from a View](#list-tickets-from-a-view).

This endpoint is rate limited to 5 requests per minute, per view, per agent. This rate limit includes activity in Zendesk Support. An API script is more likely to encounter rate limit errors if the authenticating agent or admin is concurrently active in Zendesk Support.

The view execution system is designed for periodic rather than high-frequency API usage. In particular, views called very frequently may be cached by Zendesk. This means that the API client will still receive a result, but that result may have been computed at any time within the last 10 minutes.

Zendesk recommends using the Incremental Ticket Export endpoint to get the latest changes. You can call it more often, and it returns all the tickets that changed since the last poll. For details and rate limits, see [Incremental Exports](/api-reference/ticketing/ticket-management/incremental_exports/).

View output sorting can be controlled by passing the `sort_by` and `sort_order` parameters in the format described in the table in [Preview Views](#preview-views).

#### Allowed For

* Agents

#### Pagination

* Cursor pagination (recommended)
* Offset pagination

See [Pagination](/api-reference/introduction/pagination/).

## Query parameters

- `page[before]` string
- `page[after]` string
- `page[size]` integer
- `sort_by` string
- `sort_order` string

## Response `200`

Success response

- ViewResponse
  - `columns` object[]
  - `groups` object[]
  - `rows` object[]
  - `view` ViewObject
    - `active` boolean — Whether the view is active
    - `conditions` object — Describes how the view is constructed. See [Conditions reference](/documentation/ticketing/reference-guides/conditions-reference)
    - `created_at` string, date-time — The time the view was created
    - `default` boolean — If true, the view is a default view
    - `description` string — The description of the view
    - `execution` object — Describes how the view should be executed. See [Execution](#execution)
    - `id` integer — Automatically assigned when created
    - `position` integer — The position of the view
    - `restriction` object — Who may access this account. Is null when everyone in the account can access it
    - `title` string — The title of the view
    - `updated_at` string, date-time — The time the view was last updated

---

[API](https://skmtc.net/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.net/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/botbrains-io/support-api/versions/d53eac07ba68/schema)
