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

# Live progress of an in-flight script generation

> Reports what a blocking `/tap/generate` call is currently doing so clients can show real progress during the 1–3 minute wait. Poll every few seconds while a generate request is in flight. `active: false` means no generation is running for this tap.



## OpenAPI

````yaml /openapi.yaml get /api/v1/tap/generate/status
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.11.3
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/tap/generate/status:
    get:
      tags:
        - Taps
      summary: Live progress of an in-flight script generation
      description: >-
        Reports what a blocking `/tap/generate` call is currently doing so
        clients can show real progress during the 1–3 minute wait. Poll every
        few seconds while a generate request is in flight. `active: false` means
        no generation is running for this tap.
      parameters:
        - name: tap
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Progress snapshot
          content:
            application/json:
              schema:
                type: object
                properties:
                  active:
                    type: boolean
                  phase:
                    type: string
                    enum:
                      - calling-model
                      - retrying-format
                      - storing
                  attempt:
                    type: integer
                  elapsedSeconds:
                    type: integer
                  phaseElapsedSeconds:
                    type: integer
        '500':
          description: Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````