Skip to main content
An index is a crawled website turned into searchable pages. Creating one starts a background crawl, so the index begins in a pending state and moves to indexed when it finishes. Indexes always resolve to your account’s default workspace. There is no workspace_id parameter on any index endpoint. Any authenticated token can reach them.
The index endpoints do not use the data envelope. GET /api/v1/indexes returns a bare JSON array, and the single item and create endpoints return bare objects.

List indexes

string
One of PENDING, INDEXING, INDEXED, or FAILED.
The crawled pages themselves are not returned by the API. Only the index metadata is.

Get an index

Returns a bare index object.

Create an index

string
required
The site to crawl.
string
A label for the index. Max 500 characters.
integer
default:"20"
A cap on how many pages to crawl, from 1 to 50.
Poll GET /api/v1/indexes/{id} until status leaves PENDING and INDEXING.

Delete an index