Skip to main content
POST
/
agents
Create a new agent
curl --request POST \
  --url https://api.pipecat.daily.co/v1/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serviceName": "voice-starter",
  "image": "your-dockername/voice-starter:0.1",
  "region": "us-west",
  "nodeType": "arm",
  "imagePullSecretSet": "dockerhub-credentials",
  "secretSet": "voice-starter-secrets",
  "autoScaling": {
    "minAgents": 1,
    "maxAgents": 20
  },
  "krispViva": {
    "audioFilter": "tel"
  },
  "agentProfile": "agent-1x",
  "enableManagedKeys": false
}'
{
"name": "voice-starter",
"region": "us-west",
"ready": false,
"createdAt": "2025-04-19T01:20:27.564Z",
"updatedAt": "2025-04-19T01:20:27.572Z",
"activeDeploymentId": "13c0be89-5ae8-4b0b-ad22-79565e11de3b",
"activeDeploymentReady": false,
"autoScaling": {
"maxReplicas": 20,
"minReplicas": 1
},
"activeSessionCount": 0,
"deployment": {
"id": "13c0be89-5ae8-4b0b-ad22-79565e11de3b",
"manifest": {
"apiVersion": "pipecatcloud.daily.co/v1",
"kind": "PCService",
"metadata": {
"name": "voice-starter",
"namespace": "tiny-ferret-maroon-123"
},
"spec": {
"dailyNodeType": "arm",
"deploymentMode": "keda",
"clusterLocal": true,
"image": "your-dockername/voice-starter:0.1",
"autoScaling": {
"minReplicas": 1,
"maxReplicas": 20
},
"envFromSecretNames": [
"voice-starter-secrets"
],
"krispModels": {
"enabled": false
},
"krispViva": {
"audioFilters": true,
"version": "20251010",
"modelVars": {
"KRISP_VIVA_MODEL_PATH": "audio_filters/krisp-viva-tel-v2.kef"
}
},
"integratedKeysProxy": {
"enabled": false
},
"resources": {
"cpu": "500m",
"memory": "1Gi"
}
}
},
"serviceId": "b59a68ee-61c8-4d99-9ceb-e99a3953bdac",
"createdAt": "2025-04-19T01:20:27.569Z",
"updatedAt": "2025-04-19T01:20:27.569Z"
},
"agentProfile": "agent-1x",
"krispViva": {
"audioFilter": "tel"
}
}

Authorizations

Authorization
string
header
required

Body

application/json
serviceName
string
required
Example:
image
string
required
Example:
region
string
default:us-west
Example:
nodeType
string
default:arm
Example:
imagePullSecretSet
string
Example:
secretSet
string
Example:
autoScaling
object
enableKrisp
boolean
default:false
deprecated
Example:
krispViva
object
agentProfile
enum<string>
default:agent-1x
Available options:
agent-1x,
agent-2x,
agent-3x
Example:
enableManagedKeys
boolean
default:false
Example:

Response

name
string
region
string
ready
boolean
createdAt
string<date-time>
updatedAt
string<date-time>
activeDeploymentId
string
activeDeploymentReady
boolean
autoScaling
object
activeSessionCount
integer
deployment
object | null
agentProfile
string | null
krispViva
object | null