> This page is for version v2.
> For other versions, use one of these documentation indexes:
> - v4 (default): https://help.getzep.com/v4/llms.txt
> - v3: https://help.getzep.com/v3/llms.txt
> - v2: https://help.getzep.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.getzep.com/_mcp/server.

# Returns all facts for a session by ID

GET https://api.getzep.com/api/v2/sessions/{sessionId}/facts

Deprecated API: get facts for a session

Reference: https://help.getzep.com/v2/sdk-reference/deprecated/memory/get-session-facts

## Request

### Path parameters

- `sessionId` (string, required) — Session ID

### Query parameters

- `minRating` (double, optional) — Minimum rating by which to filter facts

## Response

### 200

The facts for the session.

- `facts` (list of apidata.Fact, optional)

## Errors

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### apidata.Fact

- `content` (string, required)
- `created_at` (string, required)
- `fact` (string, required) — Deprecated
- `uuid` (string, required)
- `expired_at` (string, optional)
- `invalid_at` (string, optional)
- `name` (string, optional)
- `rating` (double, optional)
- `source_node_name` (string, optional)
- `target_node_name` (string, optional)
- `valid_at` (string, optional)

## Examples

**Response**

```json
{
  "facts": [
    {
      "content": "string",
      "created_at": "string",
      "fact": "string",
      "uuid": "string",
      "expired_at": "string",
      "invalid_at": "string",
      "name": "string",
      "rating": 1.1,
      "source_node_name": "string",
      "target_node_name": "string",
      "valid_at": "string"
    }
  ]
}
```