Skip to main content
List the searches made with your API key, with each search’s status code, result count, and request ID. Use it to audit usage or to find the request_id of a failed search. All requests require the X-API-Key header. See Authentication.

Endpoints

List Search Runs

In an organization, a workflow key reads only records made by its team’s workflow keys, never its creator’s own. See Who sees what.

Parameters

string
ISO 8601 timestamp lower bound for when the search was made.
string
ISO 8601 timestamp upper bound for when the search was made.
string
Filter by outcome: completed or failed.
integer
default:"100"
Records per page, 1–1000.
integer
default:"1"
Page number, starting from 1.
string
Whose records to list: me (the default for a personal key) or team, the searches made by the team’s workflow keys. team is the only choice for a workflow key, and a personal key outside a team is rejected with HTTP 400.

Response

object[]
The search runs on this page.
number
Records matching the filters. For a team list (a workflow key, or owner=team) this is a lower bound; page with has_more.
number
Records per page.
number
The current page number.
number
Pages implied by total; a lower bound wherever total is one.
boolean
Whether another page follows.

items[]

string
Run ID.
string
The request’s correlation ID. Include it when reporting a problem.
string
The search query.
number
HTTP status the search returned.
number
Number of results returned.
number | null
Size of the response, when known.
string
When the search was made, as an ISO 8601 timestamp.
object[] | null
The results returned for that search, in the same shape as the Search response.

Raw HTTP

cURL

Errors

Search

Run a search

TinySearch Reference

Errors, rate limits, and billing