Agents
Create Agent
Create a new agent. If iconUrl is provided, the server will fetch the icon from the external URL and upload it to R2 storage. The response will contain the R2 URL.
post/api/v1/agents
Request body
Example request
{
"agent": {
"platform": "agent0",
"url": "https://agent0.example.com/agents/abc123"
}
}Response
Agent created successfully
Example response
{
"agent": {
"agent": {
"platform": "agent0",
"url": "https://agent0.example.com/agents/abc123"
}
}
}