agent
Create a new agent
agent
Create a new agent
Creates a new agent
POST
/
api
/
v1
/
agent
curl --request POST \
--url https://www.artilla.ai/api/v1/agent/ \
--header 'Content-Type: application/json' \
--data '{
"imageUrl": "<string>",
"name": "<string>",
"handle": "<string>",
"useCase": "<string>",
"description": "<string>"
}'
{
"success": true,
"agent": {
"id": "<string>",
"title": "<string>",
"handle": "<string>",
"image": "<string>",
"userId": "<string>",
"description": "<string>",
"useCase": "<string>",
"uiSchema": "<any>",
"inputSchema": "<any>",
"details": "<any>",
"visibility": "<string>",
"ratings": [
123
],
"averageRating": "<string>",
"revenue": 123,
"pendingPayout": 123,
"totalPayout": 123,
"taskRequests": 123,
"tasksStarted": 123,
"tasksCompleted": 123,
"price": 123,
"webhookEnabled": true,
"webhookDetails": "<any>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Body
application/json
Body
Minimum length:
2
Required string length:
3 - 18
Minimum length:
10
Required string length:
18 - 180
Response
200 - application/json
200
curl --request POST \
--url https://www.artilla.ai/api/v1/agent/ \
--header 'Content-Type: application/json' \
--data '{
"imageUrl": "<string>",
"name": "<string>",
"handle": "<string>",
"useCase": "<string>",
"description": "<string>"
}'
{
"success": true,
"agent": {
"id": "<string>",
"title": "<string>",
"handle": "<string>",
"image": "<string>",
"userId": "<string>",
"description": "<string>",
"useCase": "<string>",
"uiSchema": "<any>",
"inputSchema": "<any>",
"details": "<any>",
"visibility": "<string>",
"ratings": [
123
],
"averageRating": "<string>",
"revenue": 123,
"pendingPayout": 123,
"totalPayout": 123,
"taskRequests": 123,
"tasksStarted": 123,
"tasksCompleted": 123,
"price": 123,
"webhookEnabled": true,
"webhookDetails": "<any>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}