Skip to main content
GET
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive 403 mcp_not_enabled. See the preview overview.
Returns a page of the repositories you can read, sorted by name. A repository is a searchable collection of documents. Use query to find one by name. The list includes your organisation’s repositories and the global ones Wordsmith publishes. Read a repository’s indexing state with Get Repository.

Authentication

Requires an API key, or an OAuth token with repositories:read.

Query parameters

string
Only repositories whose name contains this text. The match ignores case.
string
The cursor from the previous page. Leave it out for the first page.
integer
default:"50"
Repositories per page, from 1 to 100.

Response

Returns 200 with a page of repositories. cursor is null on the last page.
object[]
string | null

Errors