---
title: "Create an agent (self-serve API key)"
method: POST
path: "/v1/agents"
---

# Create an agent (self-serve API key)

`POST /v1/agents`

## Request

- Base URL: `https://agenticfabricationnetwork.ai`
- URL: `https://agenticfabricationnetwork.ai/v1/agents`
- Auth: none required

## Request body

- object
  - `name` string

## Response `201`

API key — shown exactly once

- object
  - `agent_id` string
  - `api_key` string

---

[API](https://skmtc.dev/agenticfabricationnetwork/apis/afn-agentic-fabrication-network.md) · [All operations](https://skmtc.dev/agenticfabricationnetwork/apis/afn-agentic-fabrication-network/llms.txt) · [OpenAPI document](https://skmtc.dev/agenticfabricationnetwork/apis/afn-agentic-fabrication-network/revisions/42c16babcd2b?raw)
