Skip to main content
POST
Create an agent

Authorizations

The full Cookie header copied from a signed-in connie.ai browser request. See the Authentication page.

Headers

Idempotency-Key
string
Maximum string length: 200

Body

application/json
workspaceId
string<uuid>
required
name
string
required
Minimum string length: 1
description
string | null
Maximum string length: 2000
avatarUrl
string<uri> | null
mission
string

The agent's instructions.

templateId
string<uuid> | null
folderId
string<uuid> | null
configuration
object

Rules, owners and credit cap. Defaults are used when omitted.

idempotencyKey
string
Maximum string length: 200

Response

A retry with the same idempotency key; the existing agent is returned.

agent
object
idempotentReplay
boolean

True when this request repeated an earlier one with the same idempotency key.