> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cekura.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Ask About Result Failures

> Chat-style endpoint that explains why specific runs/metrics failed in a result. Useful for triage of large evaluator runs.



## OpenAPI

````yaml post /test_framework/v1/results/{id}/ask_about_failures/
openapi: 3.1.0
info:
  title: Cekura API
  version: v1
  description: >-
    Complete API documentation for the Cekura platform. This API provides
    endpoints for testing, observing, and evaluating AI voice agents — including
    managing agents, running evaluators, defining metrics, and analyzing call
    quality.
servers:
  - url: https://api.cekura.ai
security: []
paths:
  /test_framework/v1/results/{id}/ask_about_failures/:
    post:
      tags:
        - Results
      summary: Query failed runs chatbot
      description: >-
        Ask natural language questions about test failure data. Returns
        streaming AI-generated analysis based on failed run context.
      operationId: results-ask-about-failures-create
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this result.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AskAboutFailuresRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AskAboutFailuresRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AskAboutFailuresRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: string
          description: Streaming AI-generated analysis of test failures
        '400':
          description: Invalid request (missing or invalid question)
        '404':
          description: Result not found
        '429':
          description: Rate limit exceeded
      security:
        - api_key: []
components:
  schemas:
    AskAboutFailuresRequest:
      type: object
      properties:
        question:
          type: string
          description: Natural language question about test failures
          maxLength: 2000
      required:
        - question
  securitySchemes:
    api_key:
      type: apiKey
      name: X-CEKURA-API-KEY
      in: header
      description: >-
        API Key Authentication. It should be included in the header of each
        request.

````