Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Retrieve a memory store

GET
/agents/memory_stores/{store_id}

Retrieve a memory store.

Retrieve a memory store

curl https://api.openai.com/v1/agents/memory_stores/$STORE_ID \
    -H 'OpenAI-Beta: agents=v1' \
    -H "Authorization: Bearer $OPENAI_API_KEY"
200 — Example
{
  "id": "id",
  "created_at": 0,
  "metadata": {
    "foo": "string"
  },
  "name": "name"
}
Path Parameters
store_id: string
minLength0
maxLength1048576
Returns
MemoryStore object { id, created_at, metadata, name }
id: string
minLength0
created_at: integer
formatint64
metadata: map[string] or null
name: string or null
minLength0
Returns Examples
200 — Example
{
  "id": "id",
  "created_at": 0,
  "metadata": {
    "foo": "string"
  },
  "name": "name"
}