---
title: "Create Agent"
method: POST
path: "/api/v1/agents"
tags: ["agents"]
---

# Create Agent

`POST /api/v1/agents`

Register an agent for the authenticated organization.

## Request body

- CreateAgentRequest
  - `name` string, required — Human-readable agent name, unique within the organization.
  - `description` string, nullable — Optional description of the agent's purpose.

## Response `201`

Successful Response

- AgentResponse
  - `agent_id` string, required — Stable identifier for the agent.
  - `organization_id` string, required — Organization that owns the agent.
  - `name` string, required — Human-readable agent name.
  - `description` string, nullable — Optional description of the agent's purpose.
  - `created_at` string, date-time, required — Time the agent was created.
  - `updated_at` string, date-time, required — Time the agent was last updated.
  - `benchmark_ids` string[], required — Benchmarks owned by the agent.
  - `model_slug` string, nullable, required — The agent's stable serving model slug.

## Changes

- **2026-09-28** `1efa21f7aeb8` — 2 info
  - added the required property `benchmark_ids` to the response with the `201` status
  - added the required property `model_slug` to the response with the `201` status
- **2026-09-19** `290842c6677f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/agents/post.md)

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) · [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trajectory/apis/trajectory-api/revisions/8331f8435ce8?raw)
