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

authorization
string
required

Your API key for authentication.

Path Parameters

batch_id
string
required

The unique identifier for the call batch. Returned in the response when creating a batch, or when listing all batches.

Response

status
string

Whether the request was successful or not. Possible values are success and error.

message
string

An error message or confirmation that the request was successful.

analysis
array

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 analysis
  • questions - 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...
    ]
}