> ## 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.

# Get verification keys

> Get the public keys that verify signed records. No API key is needed. Match a record's `key_id` to a key here, then check the record's `signature_b64` over its decoded `payload_b64` with that key.

Use this endpoint to get EDN's public verification keys. No API key is needed. See [Signed records](https://docs.tensorpro.ai/concepts/signed-records.md).

## Required headers

None. This endpoint does not need an API key.

## Request

This endpoint takes no parameters.

```bash cURL theme={"theme":"github-light"}
curl "https://api.tensorpro.ai/api/v1/evidence/keys"
```

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

resp = requests.get(
    "https://api.tensorpro.ai/api/v1/evidence/keys",
)
resp.raise_for_status()
print(resp.json())
```

```javascript JavaScript theme={"theme":"github-light"}
const resp = await fetch("https://api.tensorpro.ai/api/v1/evidence/keys");
console.log(await resp.json());
```

## Response

```json 200 OK theme={"theme":"github-light"}
{
  "keys": [
    {
      "key_id": "edn-2026-11",
      "algorithm": "Ed25519",
      "public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
    }
  ]
}
```

| Field | Type | Description |
| - | - | - |
| `keys` | array | The current signing key, plus any earlier keys still published, so that older records can still be verified |
| `keys[].key_id` | string | The key's ID, as named in a record's `key_id` |
| `keys[].algorithm` | string | The key type, `Ed25519` |
| `keys[].public_key_b64` | string | The raw 32-byte Ed25519 public key, base64-encoded |

## Errors

This endpoint does not return errors of its own. See [Error handling](https://docs.tensorpro.ai/reference/errors.md).

```json 200 theme={"theme":"github-light"}
{
  "keys": [
    {
      "key_id": "edn-2026-11",
      "algorithm": "Ed25519",
      "public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
    }
  ]
}
```


## OpenAPI

````yaml get /api/v1/evidence/keys
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/keys:
    get:
      summary: Get verification keys
      description: >-
        Get the public keys that verify signed records. No API key is needed.
        Match a record's `key_id` to a key here, then check the record's
        `signature_b64` over its decoded `payload_b64` with that key.
      operationId: get_verification_keys_api_v1_evidence_keys_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvidenceKeysResponse'
          description: Public verification keys returned.
      security: []
components:
  schemas:
    EvidenceKeysResponse:
      description: EDN's public verification keys.
      properties:
        keys:
          description: >-
            The current signing key, plus any earlier keys still published, so
            that older records can still be verified.
          items:
            $ref: '#/components/schemas/EvidenceKey'
          title: Keys
          type: array
      required:
        - keys
      title: EvidenceKeysResponse
      type: object
    EvidenceKey:
      description: One public key that verifies signed records.
      properties:
        algorithm:
          const: Ed25519
          default: Ed25519
          description: The key type, `Ed25519`.
          title: Algorithm
          type: string
        key_id:
          description: The key's ID, as named in a record's `key_id`.
          title: Key Id
          type: string
        public_key_b64:
          description: The raw 32-byte Ed25519 public key, base64-encoded.
          title: Public Key B64
          type: string
      required:
        - key_id
        - public_key_b64
      title: EvidenceKey
      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.