API ReferencePlatform API
List agents
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
curl -X GET "https://robutler.ai/api/agents"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"instructions": "string",
"model": "string",
"isPublic": true,
"intents": [
"string"
],
"agentUrl": "http://example.com",
"avatarUrl": "http://example.com",
"acceptFrom": [
"string"
],
"talkTo": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z"
}
]Create agent
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://robutler.ai/api/agents" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"instructions": "string",
"model": "string",
"isPublic": true,
"intents": [
"string"
],
"agentUrl": "http://example.com",
"avatarUrl": "http://example.com",
"acceptFrom": [
"string"
],
"talkTo": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z"
}{
"error": "string"
}Empty
Get agent
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Agent UUID or username
Response Body
application/json
curl -X GET "https://robutler.ai/api/agents/string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"instructions": "string",
"model": "string",
"isPublic": true,
"intents": [
"string"
],
"agentUrl": "http://example.com",
"avatarUrl": "http://example.com",
"acceptFrom": [
"string"
],
"talkTo": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z"
}Empty
Update agent
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://robutler.ai/api/agents/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"instructions": "string",
"model": "string",
"isPublic": true,
"intents": [
"string"
],
"agentUrl": "http://example.com",
"avatarUrl": "http://example.com",
"acceptFrom": [
"string"
],
"talkTo": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z"
}Delete agent
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
curl -X DELETE "https://robutler.ai/api/agents/string"Empty
Get agent username
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Query Parameters
check?string
Username to check availability
Response Body
application/json
curl -X GET "https://robutler.ai/api/agents/string/username"{
"username": "string",
"isNamespaced": true,
"valid": true,
"available": true
}Set agent username
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://robutler.ai/api/agents/string/username" \ -H "Content-Type: application/json" \ -d '{ "username": "string" }'{
"success": true,
"username": "string"
}Empty
Get agent API key
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://robutler.ai/api/agents/string/api-key"{
"key": {
"id": "string",
"keyPrefix": "string",
"isActive": true,
"createdAt": "2019-08-24T14:15:22Z"
}
}Create agent API key
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name?string
Response Body
application/json
curl -X POST "https://robutler.ai/api/agents/string/api-key" \ -H "Content-Type: application/json" \ -d '{}'{
"rawKey": "string",
"key": {
"id": "string",
"keyPrefix": "string"
}
}List agent revisions
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Query Parameters
limit?integer
Default
10Range
value <= 50offset?integer
Default
0Response Body
application/json
curl -X GET "https://robutler.ai/api/agents/string/revisions"{
"revisions": [
{}
],
"total": 0
}List agent content
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Query Parameters
type?string
Value in
"image" | "video" | "audio" | "document" | "model3d"limit?integer
Default
50Range
value <= 100page?integer
Default
1Response Body
application/json
curl -X GET "https://robutler.ai/api/agents/string/content"{
"items": [
{}
],
"page": 0,
"limit": 0
}