Skip to main content
POST
/
api
/
agents
Create agent definition
curl --request POST \
  --url https://app.dacard.ai/api/agents \
  --header 'Content-Type: application/json' \
  --cookie __session= \
  --data '
{
  "agentType": "strategic_intelligence",
  "name": "<string>",
  "description": "<string>",
  "status": "paused",
  "config": {
    "schedule": "<string>",
    "notifySlack": true,
    "productIds": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ]
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Body

application/json
agentType
enum<string>
required

The type of agent to create

Available options:
strategic_intelligence,
anomaly_detection,
competitive_monitor,
coaching_digest,
voc_analysis,
strategy_brief,
code_quality,
spec_quality
name
string
required

Display name for this agent

description
string

Optional description of the agent's purpose

status
enum<string>
default:paused
Available options:
active,
paused
config
object

Agent-specific configuration (schedule, thresholds, notification settings)

Response

Agent created

data
object