API referenceMemory organizations

List Memory Organizations

GET/api/v1/memory-organizations

Authorization

AuthorizationBearer <token>

A workspace API key (a13n_...)

In: header

Query Parameters

limit?Limit
Range1 <= value <= 100
Default50
cursor?string|null

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/memory-organizations"
{  "items": [    {      "candidate_memory_id": "string",      "created_at": "2019-08-24T14:15:22Z",      "created_by_id": "string",      "id": "string",      "request": {        "history": {          "after": "2019-08-24T14:15:22Z",          "before": "2019-08-24T14:15:22Z",          "max_runs": 100,          "session_ids": [            "string"          ]        },        "instructions": "Organize the saved memory files.",        "model": "string",        "output": "direct",        "target": {          "id": "string",          "kind": "memory"        }      },      "run_id": "string",      "session_id": "string",      "sources": [        {          "run_id": "string",          "sealed_at": "2019-08-24T14:15:22Z",          "session_id": "string",          "thread_id": "string"        }      ],      "thread_id": "string",      "workspace_id": "string"    }  ],  "next_cursor": "string"}