API referenceMemory organizations

Get Memory Automation

GET/api/v1/memories/{memory_id}/organization

Authorization

AuthorizationBearer <token>

A workspace API key (a13n_...)

In: header

Path Parameters

memory_id*Memory Id

Header Parameters

X-Workspace-ID?|

The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/memories/string/organization"
{  "id": "string",  "policy": {    "check_interval_seconds": 10,    "cooldown_seconds": 300,    "enabled": false,    "history": {      "after": "2019-08-24T14:15:22Z",      "before": "2019-08-24T14:15:22Z",      "max_runs": 100,      "session_ids": [        "string"      ]    },    "instructions": "string",    "model": "string",    "trigger": {      "type": "any_change"    }  },  "processed_history_runs": 0,  "status": {    "active_run_id": "string",    "due_at": "2019-08-24T14:15:22Z",    "failure": {      "code": "string",      "message": "string"    },    "history_gap": false,    "last_run_id": "string",    "pending": false,    "processed_seq": 0,    "session_id": "string"  },  "version": 0}