> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Memory Item

> Retrieve a single memory item from an agent session by its key, including its value, metadata, and creation timestamp.

Use this endpoint when you know the exact key of a stored memory item and want to fetch its current value and metadata without performing a semantic search.

## Endpoint

```http theme={null}
GET /v1/agents/sessions/{session_id}/memory/{key}
```

## Authentication

Pass one of `Authorization: Bearer <api-key>` or `Authorization: ApiKey <key>`.

## Path Parameters

<ParamField path="session_id" type="string" required>
  The agent session identifier.
</ParamField>

<ParamField path="key" type="string" required>
  The memory item key.
</ParamField>

## Response

<ResponseField name="key" type="string">
  The item key.
</ResponseField>

<ResponseField name="value" type="string">
  The stored text value.
</ResponseField>

<ResponseField name="metadata" type="object">
  Arbitrary metadata attached to the item.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp when the item was created.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://agent.example.com/v1/agents/sessions/sess_01J5X8/memory/user_preference_temperature \
    -H "Authorization: Bearer <api-key>"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "key": "user_preference_temperature",
    "value": "User prefers Celsius.",
    "metadata": {"topic": "units"},
    "created_at": "2024-06-01T10:00:00Z"
  }
  ```
</ResponseExample>


## Related topics

- [Write and Search Session Memory](/api-reference/agent/memory/put-search.md)
- [Get Subagent Turn](/api-reference/agent/subagents/turn-get.md)
- [List Subagent Items](/api-reference/agent/subagents/items.md)
- [Get Subagent](/api-reference/agent/subagents/get.md)
- [Delete an Aria Agent Cloud Session by ID](/api-reference/agent/sessions/delete.md)
