Skip to content

ISearchResponse

Defined in: search/search.types.ts:7

A page of search results from the Zendesk search API.

count: number

Defined in: types.ts:8

The total number of records.

IAPIResponse.count


optional facets?: string | null

Defined in: search/search.types.ts:9

Facet data for the results, if any.


optional next_page?: string | null

Defined in: types.ts:4

The URL of the next page, or null/absent if this is the last page.

IAPIResponse.next_page


optional previous_page?: string | null

Defined in: types.ts:6

The URL of the previous page, or null/absent if this is the first page.

IAPIResponse.previous_page


results: IUser[] | ITicket[] | IGroup[]

Defined in: search/search.types.ts:11

The matching records: tickets, users or groups, depending on the query.