Skip to main content
GET
/
snapshot
/
document
/
{documentId}
List snapshots for a document
curl --request GET \
  --url https://app.myhero.so/snapshot/document/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "_id": "<string>",
      "documentId": "<string>",
      "createdAt": 123,
      "state": "<unknown>",
      "name": "<string>",
      "description": "<string>",
      "comments": [
        {
          "_id": "<string>",
          "userId": "<string>",
          "comment": "<string>",
          "createdAt": 123
        }
      ],
      "isAiManaged": false,
      "createdBy": "<string>",
      "updatedAt": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

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

Returns all snapshots for the given document, sorted newest-first. The binary state field is omitted from list results; use the single-snapshot endpoint to retrieve it.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

documentId
string
required
Minimum string length: 1

Response

200 response

data
object[]
required