List all contexts
Retrieve a paginated list of all contexts, optionally filtered by type and key pattern. type and id are optional fields, if provided, only contexts with the matching type and id will be returned. search is an optional field, if provided, only contexts with the matching key pattern will be returned. Checkout all possible parameters in the query section below for more details
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Query Parameters
afterstringCursor for pagination indicating the starting point after which to fetch results.
beforestringCursor for pagination indicating the ending point before which to fetch results.
limitnumberLimit the number of items to return
orderDirectionstringDirection of sorting
"ASC" | "DESC"orderBystringField to order by
includeCursorbooleanInclude cursor item in response
idstringFilter contexts by id
searchstringSearch contexts by type or id (supports partial matching across both fields)
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
dataRequiredarray<object>List of returned Contexts
nextRequiredstring | nullThe cursor for the next page of results, or null if there are no more pages.
previousRequiredstring | nullThe cursor for the previous page of results, or null if this is the first page.
totalCountRequirednumberThe total count of items (up to 50,000)
totalCountCappedRequiredbooleanWhether there are more than 50,000 results available