---
title: "Export a signing key (private key included)"
method: POST
path: "/v1/agents/{agent_id}/signing-keys/{chain}/export"
tags: ["Signing Keys"]
---

# Export a signing key (private key included)

`POST /v1/agents/{agent_id}/signing-keys/{chain}/export`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/signing-keys/{chain}/export`
- Auth: HTTP bearer

Export the private key for an agent's signing key. Requires re-authentication
via the X-Auth-Confirm header containing the user's account password.
Human users only — agents cannot export keys.

## Path parameters

- `agent_id` string, uuid, required
- `chain` string, required

## Headers

- `X-Auth-Confirm` string, password, required

## Response `200`

Signing key exported successfully

- object
  - `chain` string, required
  - `curve` string, required
  - `public_key` string, required
  - `address` string
  - `private_key` string, required
  - `key_version` integer, required
  - `agent_id` string, uuid, required

## Other responses

- `403`: Insufficient permissions
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
