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

# Audit Calibration

> Kick off an empirical-coverage audit on a holdout split of this task's
calibration_items. Coverage < target - 3pts flips the task into
abstain-more mode (a `calibration.degraded` event is appended; downstream
callers of GET /ai/calibration/{task} see `degraded: true`).



## OpenAPI

````yaml /openapi.json post /v1/ai/calibration/{task}/audit
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/ai/calibration/{task}/audit:
    post:
      tags:
        - ai
      summary: Audit Calibration
      description: >-
        Kick off an empirical-coverage audit on a holdout split of this task's

        calibration_items. Coverage < target - 3pts flips the task into

        abstain-more mode (a `calibration.degraded` event is appended;
        downstream

        callers of GET /ai/calibration/{task} see `degraded: true`).
      operationId: audit_calibration_v1_ai_calibration__task__audit_post
      parameters:
        - in: path
          name: task
          required: true
          schema:
            title: Task
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalibrationAuditBody'
              default:
                target_coverage: 0.9
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalibrationAuditResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    CalibrationAuditBody:
      properties:
        target_coverage:
          default: 0.9
          maximum: 0.999
          minimum: 0.5
          title: Target Coverage
          type: number
      title: CalibrationAuditBody
      type: object
    CalibrationAuditResponse:
      properties:
        job_id:
          title: Job Id
          type: string
        status:
          default: queued
          title: Status
          type: string
        task:
          title: Task
          type: string
      required:
        - job_id
        - task
      title: CalibrationAuditResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````