curl --request POST \
--url http://localhost:3000/api/v1/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"role": "<string>",
"model": "<string>",
"allowedTools": [
"<string>"
],
"systemPrompt": "<string>",
"skills": [
"<string>"
],
"maxTurns": 1,
"identity": {
"displayName": "<string>",
"title": "<string>",
"company": "<string>",
"email": "<string>",
"bio": "<string>",
"timezone": "<string>",
"avatar": "<string>",
"responsibilities": [
"<string>"
],
"tone": "<string>",
"personality": "<string>",
"socials": {}
},
"reportsTo": "<string>",
"browserProfile": "<string>"
}
'{
"ok": true,
"data": {
"added": true
}
}curl --request POST \
--url http://localhost:3000/api/v1/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"role": "<string>",
"model": "<string>",
"allowedTools": [
"<string>"
],
"systemPrompt": "<string>",
"skills": [
"<string>"
],
"maxTurns": 1,
"identity": {
"displayName": "<string>",
"title": "<string>",
"company": "<string>",
"email": "<string>",
"bio": "<string>",
"timezone": "<string>",
"avatar": "<string>",
"responsibilities": [
"<string>"
],
"tone": "<string>",
"personality": "<string>",
"socials": {}
},
"reportsTo": "<string>",
"browserProfile": "<string>"
}
'{
"ok": true,
"data": {
"added": true
}
}API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.