---
title: "Register Agent Endpoint"
method: POST
path: "/v1/agents"
tags: ["agents"]
---

# Register Agent Endpoint

`POST /v1/agents`

## Request

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

Register an agent by wallet address. Idempotent — returns existing if already registered.

## Request body

- AgentRegisterRequest
  - `wallet_address` string, required
  - `name` string, nullable

## Response `201`

Successful Response

- AgentResponse
  - `id` string, uuid, required
  - `wallet_address` string, required
  - `name` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xenarch/apis/xenarch-platform.md) · [All operations](https://skmtc.dev/xenarch/apis/xenarch-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/xenarch/apis/xenarch-platform/revisions/88121faafcbf?raw)
