Skip to main content
GET
/
v1
/
documents
/
{id}
/
revisions
List document revisions
curl --request GET \
  --url https://api.fortressproductivity.com/v1/documents/{id}/revisions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "workspace_id": "<string>",
      "document_id": "<string>",
      "title": "<string>",
      "created_by_actor_id": "<string>",
      "reason": "<string>",
      "review_state": "pending",
      "reviewed_at": "2023-11-07T05:31:56Z",
      "reviewed_by_actor_id": "<string>",
      "reverted_at": "2023-11-07T05:31:56Z",
      "reverted_by_actor_id": "<string>",
      "revert_reason": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "content": "<unknown>",
      "created_by_actor_kind": "user",
      "created_by_actor_name": "<string>",
      "created_by_agent_id": "<string>"
    }
  ],
  "total": 1,
  "page": {
    "offset": 1,
    "limit": 123
  },
  "sort": "<string>",
  "filters": {},
  "hidden_count": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.fortressproductivity.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Agent bearer token using the ft_... token format.

Path Parameters

id
string
required
Minimum string length: 1
Example:

"act_123"

Response

Document revisions

items
object[]
required
total
integer
Required range: x >= 0
page
object
sort
string
filters
object
hidden_count
integer
Required range: x >= 0