Skip to main content
GET
/
snapshot
/
{snapshotId}
Retrieve a snapshot
curl --request GET \
  --url https://app.myhero.so/snapshot/{snapshotId} \
  --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 a single snapshot including the full Y.js-encoded state binary, suitable for rendering or restoring the document at that point in time.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

snapshotId
string
required
Minimum string length: 1

Response

200 response

data
object
required