curl --request POST \
--url https://prod.featherhq.com/api/v1/squads \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"entrypointAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
}
'{
"squad": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"entrypointAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"entrypointAgent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"agentType": "CALL"
}
}
}Create a new squad configuration with an entrypoint agent
curl --request POST \
--url https://prod.featherhq.com/api/v1/squads \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"entrypointAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
}
'{
"squad": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"entrypointAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"entrypointAgent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"agentType": "CALL"
}
}
}