> ## 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.

# Poll Agent Auto-fetch Progress

> Poll the staged status of an agent auto-fetch (provider import). Each stage reports pending / in_progress / completed / skipped / failed.



## OpenAPI

````yaml get /test_framework/v2/aiagents/{id}/auto-fetch-progress/
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/v2/aiagents/{id}/auto-fetch-progress/:
    get:
      tags:
        - test_framework
      summary: Poll status of an auto-fetch task
      description: Poll the staged status of a background auto-fetch (whole-agent import).
      operationId: aiagents-auto-fetch-progress-retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this ai agent.
          required: true
        - in: query
          name: progress_id
          schema:
            type: string
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentAutoFetchProgressResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentAutoFetchProgressErrorResponse'
          description: ''
      security:
        - api_key: []
components:
  schemas:
    AgentAutoFetchProgressResponse:
      type: object
      properties:
        agent_id:
          type: integer
        status:
          enum:
            - in_progress
            - completed
            - failed
          type: string
          description: |-
            * `in_progress` - in_progress
            * `completed` - completed
            * `failed` - failed
          x-spec-enum-id: 6e9575e5767aaee0
        current_stage:
          type: string
        stages:
          type: array
          items:
            type: object
            additionalProperties: {}
        error:
          type:
            - string
            - 'null'
      required:
        - agent_id
        - current_stage
        - error
        - stages
        - status
    AgentAutoFetchProgressErrorResponse:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
  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.

````