List a document's content versions
GET/v1/projects/:project_id/documents/:document_id/versions
Returns the document's archived states, newest first. A version is written on create and on every subsequent write that changes the content or its annotations, and a withdrawal is archived as a version carrying no content.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
List of document versions, newest first
The request was malformed or failed validation.
Unauthorized
Forbidden
Document not found
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded