Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
--url https://prod.featherhq.com/api/v1/agents/{agentId}/versions \
--header 'Authorization: Bearer <token>'{
"agent": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inboundPhoneNumbers": [
{
"id": "<string>"
}
],
"outboundPhoneNumbers": [
{
"id": "<string>"
}
],
"cekuraAgentId": 123,
"cekuraPhoneNumberId": "<string>",
"callObservabilityEnabled": false,
"versions": [
{
"id": "<string>",
"version": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"mode": "FLOW",
"prompt": {
"system": "<string>",
"systemUIFormatting": "<any>",
"variables": [
{
"name": "<string>",
"required": true,
"defaultValue": "<string>"
}
],
"tools": [
"<string>"
],
"preBuiltTools": [
"<string>"
]
},
"promptPersonalityId": "<string>",
"sttConfigId": "<string>",
"ttsConfigId": "<string>",
"llmConfigId": "<string>",
"overrideSTTConfig": {
"keywords": [
{
"keyword": "<string>",
"intensifier": "INTENSIFY"
}
]
},
"overrideTTSConfig": {
"pronunciations": []
},
"overrideLLMConfig": {},
"voiceId": "<string>",
"postCallPrompt": "<string>",
"postCallVariables": [
{
"variableName": "<string>",
"type": "STRING",
"description": "<string>",
"required": false
}
],
"knowledgeBaseCollectionIds": [
"<string>"
],
"voicemailMessage": "<string>",
"speakFirst": false,
"firstMessage": "<string>",
"useKnowledgeBase": true,
"enableBackgroundAudio": false,
"backgroundAudio": 50,
"voiceVolume": 100,
"forwardingPhoneNumber": "<string>",
"voiceSpeed": 1,
"agentDelayBeforeFirstMessage": 500,
"initialSilenceTimeout": 30000,
"finalSilenceTimeout": 10000,
"maxCallDuration": 900,
"language": {
"languageId": "<string>",
"languageCode": "EN",
"languageDisplayName": "<string>"
},
"transferImmediatelyOnInbound": false
}
]
},
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}List all versions of an agent with cursor-based pagination
curl --request GET \
--url https://prod.featherhq.com/api/v1/agents/{agentId}/versions \
--header 'Authorization: Bearer <token>'{
"agent": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inboundPhoneNumbers": [
{
"id": "<string>"
}
],
"outboundPhoneNumbers": [
{
"id": "<string>"
}
],
"cekuraAgentId": 123,
"cekuraPhoneNumberId": "<string>",
"callObservabilityEnabled": false,
"versions": [
{
"id": "<string>",
"version": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"mode": "FLOW",
"prompt": {
"system": "<string>",
"systemUIFormatting": "<any>",
"variables": [
{
"name": "<string>",
"required": true,
"defaultValue": "<string>"
}
],
"tools": [
"<string>"
],
"preBuiltTools": [
"<string>"
]
},
"promptPersonalityId": "<string>",
"sttConfigId": "<string>",
"ttsConfigId": "<string>",
"llmConfigId": "<string>",
"overrideSTTConfig": {
"keywords": [
{
"keyword": "<string>",
"intensifier": "INTENSIFY"
}
]
},
"overrideTTSConfig": {
"pronunciations": []
},
"overrideLLMConfig": {},
"voiceId": "<string>",
"postCallPrompt": "<string>",
"postCallVariables": [
{
"variableName": "<string>",
"type": "STRING",
"description": "<string>",
"required": false
}
],
"knowledgeBaseCollectionIds": [
"<string>"
],
"voicemailMessage": "<string>",
"speakFirst": false,
"firstMessage": "<string>",
"useKnowledgeBase": true,
"enableBackgroundAudio": false,
"backgroundAudio": 50,
"voiceVolume": 100,
"forwardingPhoneNumber": "<string>",
"voiceSpeed": 1,
"agentDelayBeforeFirstMessage": 500,
"initialSilenceTimeout": 30000,
"finalSilenceTimeout": 10000,
"maxCallDuration": 900,
"language": {
"languageId": "<string>",
"languageCode": "EN",
"languageDisplayName": "<string>"
},
"transferImmediatelyOnInbound": false
}
]
},
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.