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>"
}
}
Creates a new 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
The body is of type object
.
200
The response is of type object
.