---
title: "Agent Setup"
method: POST
path: "/users/{user_id}/agent_setup"
tags: ["Users"]
---

# Agent Setup

`POST /users/{user_id}/agent_setup`

One-time setup endpoint for agent-registered users.
Requires hotkey signature to prove ownership.
Returns API key and config.ini template.

## Path parameters

- `user_id` string, required

## Request body

- AgentSetupRequest
  - `hotkey` string, required
  - `signature` string, required

## Response `200`

Successful Response

- AgentSetupResponse
  - `user_id` string, required
  - `api_key` string, required
  - `hotkey_ss58address` string, required
  - `payment_address` string, required
  - `username` string, required
  - `config_ini` string, required
  - `setup_instructions` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chutes/apis/fastapi.md) · [All operations](https://skmtc.net/chutes/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chutes/fastapi/versions/352418d4e3a2/schema)
