Skip to content

Read bounded version provenance for a document under the caller's current project grant.

GET
/api/artifacts/documents/{id}/history
curl --request GET \
--url https://example.com/api/artifacts/documents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/history \
--header 'Authorization: Bearer <token>'

Historical principal attribution is retained; this read supplies no upload or recovery authority.

id
required
string format: uuid

Authorized document

limit
integer format: int32
cursor
string
document_id
string format: uuid

Bounded document version provenance

Media typeapplication/json
object
as_of
required
string format: date-time
complete
required

No further matching rows were observed in this page’s transaction.

boolean
consistent_snapshot
required

Each page uses a separate transaction; concurrent commits may change later pages.

boolean
items
required
Array<object>
object
authority_epoch
integer | null format: int64
authority_expires_at
string | null format: date-time
committed_at
string | null format: date-time
deployment_id
string | null format: uuid
principal_id
string | null format: uuid
principal_kind
string | null
publication_id
string | null format: uuid
publication_status
string | null
version
required
integer format: int32
version_created_at
required
string format: date-time
version_id
required
string format: uuid
next
One of:
object
as_of
required

The snapshot time the first page fixed; later pages read the same history.

string format: date-time
document_id
required

The document whose history is listed.

string format: uuid
principal_id
required

The principal the listing was made for.

string format: uuid
principal_kind
required

The kind of principal the listing was made for.

string
project_id
required

The project of the listing, as the previous page returned it.

string format: uuid
publication_id
required

The last publication the previous page returned.

string format: uuid
version
required

The last version the previous page returned.

integer format: int32
workspace_id
required

The workspace of the listing, as the previous page returned it.

string format: uuid

Example generated

{
"as_of": "2026-04-15T12:00:00Z",
"complete": true,
"consistent_snapshot": true,
"items": [
{
"authority_epoch": 1,
"authority_expires_at": "2026-04-15T12:00:00Z",
"committed_at": "2026-04-15T12:00:00Z",
"deployment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"principal_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"principal_kind": "example",
"publication_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"publication_status": "example",
"version": 1,
"version_created_at": "2026-04-15T12:00:00Z",
"version_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
],
"next": {
"as_of": "2026-04-15T12:00:00Z",
"document_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"principal_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"principal_kind": "example",
"project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"publication_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"version": 1,
"workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
}