List a document's relations
GET/v1/projects/:project_id/documents/:document_id/relations
Returns the typed edges this document asserts about others, oldest first. An edge is owned by the document it leaves, so this is what the document claims — use ?related_to= on the listing to find what claims something about it.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
The document's relations, oldest 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