---
title: "POST /agents/create"
method: POST
path: "/agents/create"
tags: ["agents"]
---

# POST /agents/create

`POST /agents/create`

## Request body

- CreateAgentDto
  - `name` string, required
  - `projectId` string, required

## Response `201`

- CreatedAgentDto
  - `id` string, required
  - `name` string, required
  - `projectId` string, required
  - `creatorId` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Changes

> 50 revisions in range; 1 could not be searched.

- **2023-09-20** `7cda6de424fd` — 2 info
  - the endpoint scheme security `bearer` was added to the API
  - api tag `agents` added
- **2023-09-20** `6610666a572e` — 2 info
  - the endpoint scheme security `bearer` was removed from the API
  - api tag `agents` removed

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

---

[API](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api.md) · [All operations](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentlabs-dev/agentlabs-api/revisions/5cafb4936550/schema)
