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

# List signed records

> List your signed records, newest first. EDN saves a `sip` record when it builds a SIP, and an `ai_response` record when you send the build's `receipt_id` to Save a conversation turn. Records are subject to your memory retention settings.

Use this endpoint to list your signed records, for example every record from one conversation, before fetching and verifying them. See [Signed records](https://docs.tensorpro.ai/concepts/signed-records.md).

## Required headers

| Header | Value | Description |
| - | - | - |
| `Authorization` | `Bearer YOUR_API_KEY` | Your EDN API key. Create keys in the [Console](https://docs.tensorpro.ai/console/api-keys.md). See [Authentication](https://docs.tensorpro.ai/authentication.md) |

## Request

| Parameter | Type | Required | Description |
| - | - | - | - |
| `session_id` | string | No | Only records from this conversation |
| `record_type` | string | No | Only records of this type: `sip` or `ai_response` |
| `limit` | integer | No | Most records to return, 1 to 200. Default 50 |
| `offset` | integer | No | How many records to skip, for paging through a long list |

```bash cURL theme={"theme":"github-light"}
curl "https://api.tensorpro.ai/api/v1/evidence?session_id=chat-42" \
  -H "Authorization: Bearer $EDN_API_KEY"
```

```python Python theme={"theme":"github-light"}
import os
import requests

resp = requests.get(
    "https://api.tensorpro.ai/api/v1/evidence",
    headers={"Authorization": f"Bearer {os.environ['EDN_API_KEY']}"},
    params={"session_id": "chat-42"},
)
resp.raise_for_status()
print(resp.json())
```

```javascript JavaScript theme={"theme":"github-light"}
const resp = await fetch("https://api.tensorpro.ai/api/v1/evidence?session_id=chat-42", {
  headers: {
    Authorization: `Bearer ${process.env.EDN_API_KEY}`,
  },
});
console.log(await resp.json());
```

## Response

```json 200 OK theme={"theme":"github-light"}
{
  "records": [
    {
      "receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
      "record_type": "ai_response",
      "parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
      "session_id": "chat-42",
      "project_id": null,
      "built_at": "2026-11-17T04:43:27Z",
      "created_at": 1794890607
    },
    {
      "receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
      "record_type": "sip",
      "parent_receipt_id": null,
      "session_id": "chat-42",
      "project_id": null,
      "built_at": "2026-11-17T04:43:25Z",
      "created_at": 1794890605
    }
  ],
  "total": 2
}
```

| Field | Type | Description |
| - | - | - |
| `records` | array | The page of signed records, newest first |
| `records[].receipt_id` | string | The record's ID |
| `records[].record_type` | string | `sip`: a record of a Session Initialization Package (SIP) build. `ai_response`: a record of the AI response to a SIP, saved when you send `receipt_id` to Save a conversation turn |
| `records[].parent_receipt_id` | string or null | For an `ai_response` record, the ID of the SIP record it answers. Otherwise null |
| `records[].session_id` | string or null | The conversation the record belongs to, if any |
| `records[].project_id` | string or null | The project the record belongs to, if any |
| `records[].built_at` | string | When the record was signed, in RFC 3339 UTC format: the build time for a `sip` record, or the time the AI response was signed for an `ai_response` record |
| `records[].created_at` | integer | When the record was saved, in Unix seconds |
| `total` | integer | How many signed records match, across all pages |

## Errors

| Status | Code | When |
| - | - | - |
| `401` | `UNAUTHORIZED` | The API key is missing, invalid, revoked or expired |
| `422` | `VALIDATION_ERROR` | A request field is missing or invalid. The `errors` field lists each problem |
| `429` | `RATE_LIMITED` | A rate limit or your daily quota was reached. Wait for the number of seconds in the Retry-After header, then retry |

See [Error handling](https://docs.tensorpro.ai/reference/errors.md).

```json 200 theme={"theme":"github-light"}
{
  "records": [
    {
      "receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
      "record_type": "ai_response",
      "parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
      "session_id": "chat-42",
      "project_id": null,
      "built_at": "2026-11-17T04:43:27Z",
      "created_at": 1794890607
    },
    {
      "receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
      "record_type": "sip",
      "parent_receipt_id": null,
      "session_id": "chat-42",
      "project_id": null,
      "built_at": "2026-11-17T04:43:25Z",
      "created_at": 1794890605
    }
  ],
  "total": 2
}
```


## OpenAPI

````yaml get /api/v1/evidence
openapi: 3.1.0
info:
  title: EDN Memory Engine
  version: 0.9.3
servers:
  - description: EDN private beta
    url: https://api.tensorpro.ai
security:
  - EDNApiKey: []
paths:
  /api/v1/evidence:
    get:
      summary: List signed records
      description: >-
        List your signed records, newest first. EDN saves a `sip` record when it
        builds a SIP, and an `ai_response` record when you send the build's
        `receipt_id` to Save a conversation turn. Records are subject to your
        memory retention settings.
      operationId: list_evidence_receipts_api_v1_evidence_get
      parameters:
        - description: Only records from this conversation.
          in: query
          name: session_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Only records from this conversation.
            title: Session Id
        - description: 'Only records of this type: `sip` or `ai_response`.'
          in: query
          name: record_type
          required: false
          schema:
            anyOf:
              - enum:
                  - sip
                  - ai_response
                type: string
              - type: 'null'
            description: 'Only records of this type: `sip` or `ai_response`.'
            title: Record Type
        - description: Most records to return, 1 to 200. Default 50.
          in: query
          name: limit
          required: false
          schema:
            default: 50
            description: Most records to return, 1 to 200. Default 50.
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - description: How many records to skip, for paging through a long list.
          in: query
          name: offset
          required: false
          schema:
            default: 0
            description: How many records to skip, for paging through a long list.
            minimum: 0
            title: Offset
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvidenceRecordsResponse'
          description: Matching signed records returned.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The API key is missing, invalid, revoked or expired.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
          description: >-
            A request field is missing or invalid. The `errors` field lists each
            problem.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            A rate limit or your daily quota was reached. Wait for the number of
            seconds in the Retry-After header, then retry.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
components:
  schemas:
    EvidenceRecordsResponse:
      description: A page of signed records.
      properties:
        records:
          description: The page of signed records, newest first.
          items:
            $ref: '#/components/schemas/EvidenceReceiptSummary'
          title: Records
          type: array
        total:
          description: How many signed records match, across all pages.
          title: Total
          type: integer
      required:
        - records
        - total
      title: EvidenceRecordsResponse
      type: object
    ErrorResponse:
      properties:
        code:
          description: >-
            A stable error code, e.g. NOT_FOUND. Also sent in the
            X-EDN-Error-Code header.
          title: Code
          type: string
        detail:
          description: What went wrong, in plain language.
          title: Detail
          type: string
      required:
        - detail
        - code
      title: ErrorResponse
      type: object
    ValidationErrorResponse:
      properties:
        code:
          description: >-
            A stable error code, e.g. NOT_FOUND. Also sent in the
            X-EDN-Error-Code header.
          title: Code
          type: string
        detail:
          description: What went wrong, in plain language.
          title: Detail
          type: string
        errors:
          description: One entry per invalid field.
          items:
            $ref: '#/components/schemas/FieldError'
          title: Errors
          type: array
      required:
        - detail
        - code
        - errors
      title: ValidationErrorResponse
      type: object
    EvidenceReceiptSummary:
      description: One signed record in a list.
      properties:
        built_at:
          description: >-
            When the record was signed, in RFC 3339 UTC format: the build time
            for a `sip` record, or the time the AI response was signed for an
            `ai_response` record.
          title: Built At
          type: string
        created_at:
          description: When the record was saved, in Unix seconds.
          title: Created At
          type: integer
        parent_receipt_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            For an `ai_response` record, the ID of the SIP record it answers.
            Otherwise null.
          title: Parent Receipt Id
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The project the record belongs to, if any.
          title: Project Id
        receipt_id:
          description: The record's ID.
          title: Receipt Id
          type: string
        record_type:
          description: >-
            `sip`: a record of a SIP build. `ai_response`: a record of the AI
            response to a SIP, saved when you send `receipt_id` to Save a
            conversation turn.
          enum:
            - sip
            - ai_response
          title: Record Type
          type: string
        session_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The conversation the record belongs to, if any.
          title: Session Id
      required:
        - receipt_id
        - record_type
        - built_at
        - created_at
      title: EvidenceReceiptSummary
      type: object
    FieldError:
      properties:
        field:
          description: The request field with the problem, e.g. session_id.
          title: Field
          type: string
        message:
          description: What is wrong with it.
          title: Message
          type: string
      required:
        - field
        - message
      title: FieldError
      type: object
  securitySchemes:
    EDNApiKey:
      description: >-
        Your EDN API key, sent as `Bearer YOUR_API_KEY`. Create keys in the
        Console.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.