---
title: "Create Agent"
method: POST
path: "/api/agents"
---

# Create Agent

`POST /api/agents`

## Request

- Base URL: `https://authyouragent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://authyouragent.com/api/agents`
- Auth: none declared

## Request body

- AgentIn
  - `name` string, required
  - `pubkey` string, nullable
  - `jwk` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice.md) · [All operations](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/llms.txt) · [OpenAPI document](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/revisions/196372971a43?raw)
