---
title: "Get agent public key"
url: https://hexelstudio.com/docs/api/registry/agents/public-key
---

# Get agent public key

**GET** `/registry/v1/agents/{id}/public-key`

Returns the Ed25519 public key for A2A signature verification

## Path parameters

- `id: string`

  Agent ID

## Returns

`200` OK (`map[string]`)

## Errors

- `404` Not Found

## Example

```bash
curl --request GET \
  --url 'https://compute.hexelstudio.com/registry/v1/agents/{id}/public-key'
```

### Response (200)

```json
{
  "key": "string"
}
```

### Response (404)

```json
{
  "error": "string",
  "message": "string"
}
```
