API ReferencePlatform API
Chat completions (OpenAI-compatible)
Path Parameters
id*string
Agent UUID or username
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://robutler.ai/api/agents/string/chat/completions" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "role": "system", "content": "string" } ] }'{
"id": "string",
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "system",
"content": "string"
},
"finish_reason": "string"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}Empty
UAMP messaging
Path Parameters
id*string
Agent UUID or username
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://robutler.ai/api/agents/string/uamp" \ -H "Content-Type: application/json" \ -d '{}'{
"type": "string",
"response": {}
}Empty