REST Reference
Update an Agent
Update an existing agent’s configuration or deploy a new version.
POST
/
agents
/
{agentName}
curl --request POST \
--url https://api.pipecat.daily.co/v1/agents/{agentName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image": "your-dockername/voice-starter:0.1",
"nodeType": "arm",
"imagePullSecretSet": "dockerhub-credentials",
"secretSet": "voice-starter-secrets",
"autoScaling": {
"minAgents": 1,
"maxAgents": 10
},
"enableKrisp": false
}'
{
"name": "voice-starter",
"ready": true,
"createdAt": "2025-04-19T01:20:27.564Z",
"updatedAt": "2025-04-19T01:25:47.229Z",
"activeDeploymentId": "19db578d-808c-420a-a047-87edde4410c1",
"activeDeploymentReady": false,
"autoScaling": {
"maxReplicas": 10,
"minReplicas": 1
},
"activeSessionCount": 0,
"deployment": {
"id": "19db578d-808c-420a-a047-87edde4410c1",
"manifest": {
"apiVersion": "pipecatcloud.daily.co/v1",
"kind": "PCService",
"metadata": {
"name": "voice-starter",
"namespace": "tiny-ferret-maroon-123"
},
"spec": {
"dailyNodeType": "arm",
"clusterLocal": true,
"image": "your-dockername/voice-starter:0.1",
"autoScaling": {
"minReplicas": 1,
"maxReplicas": 10
},
"envFromSecretNames": [
"voice-starter-secrets"
],
"krispModels": {
"enabled": false
}
}
},
"serviceId": "b59a68ee-61c8-4d99-9ceb-e99a3953bdac",
"createdAt": "2025-04-19T01:25:47.225Z",
"updatedAt": "2025-04-19T01:25:47.225Z"
}
}
Authorizations
Authentication requires a Pipecat Cloud Private API token. Generate a Private API key from your Dashboard (Settings > API Keys > Private > Create key) and include it as a Bearer token in the Authorization header.
Path Parameters
Name of the agent to update
Body
application/json
Response
200
application/json
Agent deployment updated successfully
The response is of type object
.
curl --request POST \
--url https://api.pipecat.daily.co/v1/agents/{agentName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image": "your-dockername/voice-starter:0.1",
"nodeType": "arm",
"imagePullSecretSet": "dockerhub-credentials",
"secretSet": "voice-starter-secrets",
"autoScaling": {
"minAgents": 1,
"maxAgents": 10
},
"enableKrisp": false
}'
{
"name": "voice-starter",
"ready": true,
"createdAt": "2025-04-19T01:20:27.564Z",
"updatedAt": "2025-04-19T01:25:47.229Z",
"activeDeploymentId": "19db578d-808c-420a-a047-87edde4410c1",
"activeDeploymentReady": false,
"autoScaling": {
"maxReplicas": 10,
"minReplicas": 1
},
"activeSessionCount": 0,
"deployment": {
"id": "19db578d-808c-420a-a047-87edde4410c1",
"manifest": {
"apiVersion": "pipecatcloud.daily.co/v1",
"kind": "PCService",
"metadata": {
"name": "voice-starter",
"namespace": "tiny-ferret-maroon-123"
},
"spec": {
"dailyNodeType": "arm",
"clusterLocal": true,
"image": "your-dockername/voice-starter:0.1",
"autoScaling": {
"minReplicas": 1,
"maxReplicas": 10
},
"envFromSecretNames": [
"voice-starter-secrets"
],
"krispModels": {
"enabled": false
}
}
},
"serviceId": "b59a68ee-61c8-4d99-9ceb-e99a3953bdac",
"createdAt": "2025-04-19T01:25:47.225Z",
"updatedAt": "2025-04-19T01:25:47.225Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.