Get embeddings for all files of a document
GET/v0/documents/:documentId/embeddings
Returns the pre-computed embedding vectors for all files belonging to the specified document within the authenticated user's organization. Files without a computed embedding are included with status EMBEDDING_NOT_FOUND.
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 500
- 502
- 503
- 504
Document embeddings retrieved
Response Headers
Maximum number of requests allowed in the current rate limit window for the used scope.
Number of requests remaining in the current rate limit window.
Unix timestamp (seconds since epoch, UTC) when the rate limit window resets.
The OAuth scope bucket to which this rate limit applies: read or write.
Unauthorized
Forbidden
Document not found
Rate limit exceeded. Reduce request frequency and retry after the indicated number of seconds.
Response Headers
Maximum number of requests allowed in the current rate limit window for the used scope.
Number of requests remaining in the current rate limit window.
Unix timestamp (seconds since epoch, UTC) when the rate limit window resets.
The OAuth scope bucket to which this rate limit applies: read or write.
Number of seconds to wait before retrying. Only present on 429 Too Many Requests responses.
Internal server error
Bad gateway. An upstream service could not be reached.
Service temporarily unavailable. An upstream service returned a 503 error.
Gateway timeout. An upstream service did not respond in time.