Get a document
curl --request GET \ --url https://api.grepvine.ai/v1/organizations/example/indexes/example/objects/example \ --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.
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.
Header Parameters
Section titled “Header Parameters”One HTTP bytes range. Multiple ranges are not supported.
Responses
Section titled “Responses”The complete document content.
Headers
Section titled “Headers”The range unit accepted for document reads.
The number of content bytes in this response.
The opaque document revision.
The document Metadata object encoded as JSON.
The requested document byte range.
Headers
Section titled “Headers”The range unit accepted for document reads.
The number of content bytes in this response.
The returned range and complete document size, or the complete size for an unsatisfied range.
The opaque document revision.
The document Metadata object encoded as JSON.
The resource does not exist or is not visible.
object
Example generated
{ "code": "example", "reason": "example", "error": "example"}Headers
Section titled “Headers”The request identifier used for support and audit correlation.
The byte range does not overlap the document.
object
Example generated
{ "code": "example", "reason": "example", "error": "example"}Headers
Section titled “Headers”The returned range and complete document size, or the complete size for an unsatisfied range.
The request identifier used for support and audit correlation.
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.