Chat
POST /agents/{id}/chatRequest
{
"message": "What's the weather in Madrid?",
"sessionKey": "api:550e8400-e29b-41d4-a716-446655440000",
"stream": false
}Field
Type
Required
Description
Sync Response
curl -X POST https://api.guayaba.run/api/v1/agents/550e8400-.../chat \
-H "Authorization: Bearer g_master_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Hello, what can you do?"}'Streaming Response (SSE)
Event Types
Type
Description
Sessions
Tool Calls
Errors
Code
Meaning
Last updated