Batches
Retrieve Batch Analysis
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
Batches
Retrieve Batch Analysis
Retrieves the analyses for a specific batch of calls, including details of each call’s analysis.
GET
/
v1
/
batches
/
{batch_id}
/
analysis
curl --request GET \
--url https://api.bland.ai/v1/batches/{batch_id}/analysis \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Successfully fetched analyses",
"analysis": [
{
"call_id": "b12956d1-624d-4c65-a1a4-30eb86553c85",
"batch_id": "dnytTRqwiqnR3qmq-gen-batch",
"goal": "Congratulate some employees",
"answers": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
],
"questions": [
["Who answered the call?", "human or voicemail"],
["Positive feedback about the product: ", "string"],
["Negative feedback about the product: ", "string"],
["Customer confirmed they were satisfied", "boolean"]
]
},
// Additional analysis objects...
]
}
Headers
Your API key for authentication.
Path Parameters
The unique identifier for the call batch. Returned in the response when creating a batch, or when listing all batches.
Response
Whether the request was successful or not. Possible values are success
and error
.
An error message or confirmation that the request was successful.
An array of analysis objects, each corresponding to a call within the batch.
Each analysis object includes:
call_id
,batch_id
goal
answers
- the results of the AI analysisquestions
- the original questions asked by the AI
{
"status": "success",
"message": "Successfully fetched analyses",
"analysis": [
{
"call_id": "b12956d1-624d-4c65-a1a4-30eb86553c85",
"batch_id": "dnytTRqwiqnR3qmq-gen-batch",
"goal": "Congratulate some employees",
"answers": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
],
"questions": [
["Who answered the call?", "human or voicemail"],
["Positive feedback about the product: ", "string"],
["Negative feedback about the product: ", "string"],
["Customer confirmed they were satisfied", "boolean"]
]
},
// Additional analysis objects...
]
}
curl --request GET \
--url https://api.bland.ai/v1/batches/{batch_id}/analysis \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Successfully fetched analyses",
"analysis": [
{
"call_id": "b12956d1-624d-4c65-a1a4-30eb86553c85",
"batch_id": "dnytTRqwiqnR3qmq-gen-batch",
"goal": "Congratulate some employees",
"answers": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
],
"questions": [
["Who answered the call?", "human or voicemail"],
["Positive feedback about the product: ", "string"],
["Negative feedback about the product: ", "string"],
["Customer confirmed they were satisfied", "boolean"]
]
},
// Additional analysis objects...
]
}