Documentation Index
Fetch the complete documentation index at: https://docs.standardagentbuilder.com/llms.txt
Use this file to discover all available pages before exploring further.
Creates a new conversation thread with the specified agent.
The name of the agent to use for this thread. Must match an agent defined in agents/agents/.
Optional user identifier for tracking and authorization.
Optional array of string tags for categorizing and filtering threads.
Unique thread identifier (UUID)
The agent name associated with this thread
curl -X POST https://your-worker.workers.dev/api/threads \
-H "Content-Type: application/json" \
-d '{
"agent_id": "support_agent",
"user_id": "user_abc123",
"tags": ["support", "web"]
}'
{
"threadId": "550e8400-e29b-41d4-a716-446655440000",
"agent_id": "support_agent",
"message": "Thread created successfully"
}