Sazabi
APIMemory

Get a memory document

GET
/memory/document

Get one project memory document by id or path.

Query Parameters

projectId?string

Project that owns the document. Auto-filled from CLI and SDK context when omitted.

Formatuuid
id?string

Document id.

Formatuuid
path?string

Relative curated path.

Length1 <= length <= 512

Response Body

application/json

curl -X GET "https://example.com/memory/document"
{  "document": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",    "kind": "note",    "managed": true,    "path": "string",    "title": "string",    "contentHash": "string",    "attrs": {      "property1": null,      "property2": null    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "body": "string"  }}