Create AI agent
Agents
Create AI agent
Create a custom AI agent that can be referenced by /assess.
POST
Create AI agent
Body
application/json
Display name for the AI agent.
Minimum string length:
1Example:
"My OpenClaw Agent"
Agent type. Only custom agents are supported for now.
Available options:
custom Example:
"custom"
Your stable external ID from the source system for this AI agent.
Minimum string length:
1Example:
"agent_123"
Response
Created AI agent
CraftCX AI Agent ID.
Example:
"pfh0haxfpzowht3oi213cqos"
Display name for the AI agent.
Example:
"My OpenClaw Agent"
Agent type.
Available options:
custom Example:
"custom"
Your stable external ID from the source system for this AI agent.
Example:
"agent_123"
Created at as epoch timestamp (ms).
Example:
1756692778077