API referenceMemory organizations

Get Memory Organization

GET/api/v1/memory-organizations/{organization_id}

Authorization

AuthorizationBearer <token>

A workspace API key (a13n_...)

In: header

Path Parameters

organization_id*Organization 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/memory-organizations/string"
{  "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"}