curl --request POST \
--url http://localhost:3000/api/v1/missions/{missionId}/team \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"role": "<string>",
"model": "<string>",
"systemPrompt": "<string>",
"allowedTools": [
"<string>"
]
}
'{
"ok": true,
"data": null
}curl --request POST \
--url http://localhost:3000/api/v1/missions/{missionId}/team \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"role": "<string>",
"model": "<string>",
"systemPrompt": "<string>",
"allowedTools": [
"<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.