List indexes
curl --request GET \ --url 'https://api.grepvine.ai/v1/organizations/example/indexes?amount=50' \ --cookie __Host-grepvine-session=<__Host-grepvine-session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”An account or organization name. Accounts and organizations share one namespace. A name keeps the case it was created with, and any spelling that differs only in case refers to it; no other account or organization can take such a spelling.
Query Parameters
Section titled “Query Parameters”Lists only the indexes whose names start with this literal prefix, compared without regard to case. A page token is valid only with the prefix it was issued for.
Responses
Section titled “Responses”A page of indexes, ordered by name. Document counts, sizes and last write times can trail the most recent writes by a few seconds; read one index for its current values.
object
An index as a listing returns it.
object
An account or organization name. Accounts and organizations share one namespace. A name keeps the case it was created with, and any spelling that differs only in case refers to it; no other account or organization can take such a spelling.
An index name, unique in its organization. A name keeps the case it was created with, and any spelling that differs only in case refers to it; no other index in the organization can take such a spelling.
What the index holds, in Markdown. Empty when no description was set. Clients render it without raw HTML.
Key/value labels on the index, for example the commit it was synced from. At most 64 tags. A key is 1 to 128 characters without whitespace or control characters; a value is at most 1,024 characters without control characters. Empty when none was set.
object
A page may hold fewer results than the requested amount, possibly none, while has_next is true; a query page stops at the server’s soft time budget and next_page_id resumes exactly after the last candidate it examined. Clients continue while has_next is true.
object
Example
{ "results": [ { "state": "creating" } ]}default
Section titled “default”The request failed. A 429 carries Retry-After; the index is busy absorbing recent writes or is out of request capacity, and clients must slow down and retry after the interval. A 403 with code organization_suspended refuses every operation on a suspended organization’s members, indexes, documents and searches; reading the organization itself still answers and reports suspended, and the client should contact support.
object
Example generated
{ "code": "example", "reason": "example", "error": "example"}Headers
Section titled “Headers”The request identifier used for support and audit correlation.
Seconds to wait before retrying. Sent with every 429 so a client slows down instead of failing.