GET /v1/watches returns the owner’s watches, newest first, with cursor pagination.

Tenant scope

Restricted (sk_*) keys see only their own watches. Internal keys can act on behalf of one tenant for watch reads and writes by sending ?owner=<ownerId> or X-AISearch-On-Behalf-Of: <ownerId>; the query parameter wins when both are present. A restricted key’s override is ignored. When an override is applied, the response adds a top-level owner field and an X-AISearch-Owner header containing the enforced owner id.

Query parameters

limit
integer
default:"20"
Page size, 1100.
status
string
Filter by active, paused, or canceled.
cursor
string
Opaque cursor from a previous page’s nextCursor. Omit for the first page.
owner
string
Internal keys only. Owner id to enforce for this read. Overrides the X-AISearch-On-Behalf-Of header when both are sent.

Request

Response

200 OK
items
object[]
Public Watch objects, newest first.
nextCursor
string | null
Pass as ?cursor= to fetch the next page. null on the last page.

Paginate to the end

Errors

401
AUTH_INVALID
The API key is missing, invalid, or revoked.
401

Watches

Scheduling, lifecycle, billing, and run history.

Create a watch

Save a new scheduled query.

Get a watch

Read one watch and its ten most recent runs.

Watch runs

Page through full run history.