curl --request PATCH \
--url http://localhost:3000/api/v1/agents/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"model": "<string>",
"allowedTools": [
"<string>"
],
"allowedPaths": [
"<string>"
],
"systemPrompt": "<string>",
"skills": [
"<string>"
],
"maxTurns": 1,
"maxConcurrency": 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>",
"reasoning": "<string>",
"browserProfile": "<string>",
"emailAllowedDomains": [
"<string>"
],
"team": "<string>"
}
'{
"ok": true,
"data": null
}curl --request PATCH \
--url http://localhost:3000/api/v1/agents/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"model": "<string>",
"allowedTools": [
"<string>"
],
"allowedPaths": [
"<string>"
],
"systemPrompt": "<string>",
"skills": [
"<string>"
],
"maxTurns": 1,
"maxConcurrency": 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>",
"reasoning": "<string>",
"browserProfile": "<string>",
"emailAllowedDomains": [
"<string>"
],
"team": "<string>"
}
'{
"ok": true,
"data": null
}API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.
x > 0x > 0Show child attributes