---
title: "Agent Register"
method: POST
path: "/api/v1/agent/register"
tags: ["tpool-agent"]
---

# Agent Register

`POST /api/v1/agent/register`

## Request

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

## Request body

- RegisterBody: 注册 Agent（契约字段；extra 字段容忍——旧 Agent 传多余字段不 422）
  - `name` string
  - `agent_type` string, nullable
  - `accepted_tos` unknown
  - `source` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tpool/apis/tpool-agent.md) · [All operations](https://skmtc.dev/tpool/apis/tpool-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/tpool/apis/tpool-agent/revisions/b3ee08310d7f?raw)
