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

# Get Annotation Reply Job Status

> **Available for**: Chatflow, Chatbot, Legacy Agent apps.

Returns the status of an annotation reply configuration job started by [Configure Annotation Reply](/en/api-reference/annotations/configure-annotation-reply).



## OpenAPI

````yaml /en/api-reference/openapi_service.json get /apps/annotation-reply/{action}/status/{job_id}
openapi: 3.0.1
info:
  description: >-
    REST API for Dify applications and knowledge bases. Application endpoints
    authenticate with an app API key; knowledge endpoints authenticate with a
    dataset API key.
  title: Dify Service API
  version: 1.0.0
servers:
  - description: >-
      Base URL of the Dify Service API. For self-hosted deployments, replace it
      with your own API base URL.
    url: https://{api_base_url}
    variables:
      api_base_url:
        default: api.dify.ai/v1
        description: Host and path of the API base URL, without the `https://` prefix.
security:
  - ApiKeyAuth: []
tags:
  - description: Operations related to chat messages and interactions.
    name: Chat Messages
  - description: File upload and preview operations.
    name: Files
  - description: Operations related to end user information.
    name: End Users
  - description: User feedback operations.
    name: Feedback
  - description: Operations related to managing conversations.
    name: Conversations
  - description: Text-to-Speech and Speech-to-Text operations.
    name: Audio
  - description: Operations to retrieve application settings and information.
    name: Applications
  - description: Operations related to managing annotations for direct replies.
    name: Annotations
  - description: Endpoints for resuming paused workflows that require human input.
    name: Human Input
  - description: Operations for executing and managing workflows.
    name: Workflow Runs
  - description: Operations related to text generation and completion.
    name: Completion Messages
  - description: >-
      Operations for managing knowledge bases, including creation,
      configuration, and retrieval.
    name: Knowledge Bases
  - description: >-
      Operations for creating, updating, and managing documents within a
      knowledge base.
    name: Documents
  - description: Operations for managing document chunks and child chunks.
    name: Chunks
  - description: >-
      Operations for managing knowledge base metadata fields and document
      metadata values.
    name: Metadata
  - description: Operations for managing knowledge base tags and tag bindings.
    name: Tags
  - description: Operations for retrieving available models.
    name: Models
  - description: >-
      Operations for managing and running knowledge pipelines, including
      datasource plugins and pipeline execution.
    name: Knowledge Pipeline
  - description: Ask a knowledge base a question and stream the answer.
    name: Queries
  - description: Inspect what a query retrieved and why.
    name: Query Records
  - description: Run a research question in the background and collect its results.
    name: Research Tasks
  - description: >-
      Read the documents in a knowledge base, their files, revisions, and
      chunks; label documents with metadata.
    name: Documents and Chunks
  - description: >-
      Follow, cancel, or retry indexing, and list the knowledge base's
      background tasks.
    name: Indexing Tasks
  - description: >-
      Follow the deletion of a document file, a batch of files, or a source
      until it finishes.
    name: Deletion Jobs
  - description: >-
      Manage the sources that feed a knowledge base, their sync schedules, and
      their connections.
    name: Sources
  - description: >-
      Sync a source now, import website pages or provider items, and follow,
      cancel, or retry the runs.
    name: Source Syncs and Imports
  - description: >-
      Read and change the knowledge base's models and retrieval settings, and
      follow the migration a change starts.
    name: Settings
paths:
  /apps/annotation-reply/{action}/status/{job_id}:
    get:
      tags:
        - Annotations
      summary: Get Annotation Reply Job Status
      description: >-
        **Available for**: Chatflow, Chatbot, Legacy Agent apps.


        Returns the status of an annotation reply configuration job started by
        [Configure Annotation
        Reply](/en/api-reference/annotations/configure-annotation-reply).
      operationId: getInitialAnnotationReplySettingsStatus
      parameters:
        - description: >-
            Action type, must match the [Configure Annotation
            Reply](/en/api-reference/annotations/configure-annotation-reply)
            call.
          in: path
          name: action
          required: true
          schema:
            enum:
              - enable
              - disable
            type: string
        - description: >-
            Job ID returned by [Configure Annotation
            Reply](/en/api-reference/annotations/configure-annotation-reply).
          in: path
          name: job_id
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                jobStatus:
                  summary: Response Example
                  value:
                    error_msg: ''
                    job_id: a1b2c3d4-5678-90ab-cdef-1234567890ab
                    job_status: completed
              schema:
                $ref: >-
                  #/components/schemas/InitialAnnotationReplySettingsStatusResponse
          description: Successfully retrieved task status.
        '403':
          content:
            application/json:
              examples:
                app_abnormal_status:
                  summary: app_abnormal_status
                  value:
                    code: app_abnormal_status
                    message: The app's status is abnormal.
                    status: 403
                app_api_disabled:
                  summary: app_api_disabled
                  value:
                    code: app_api_disabled
                    message: The app's API service has been disabled.
                    status: 403
                app_not_found:
                  summary: app_not_found
                  value:
                    code: app_not_found
                    message: The app no longer exists.
                    status: 403
                workspace_archived:
                  summary: workspace_archived
                  value:
                    code: workspace_archived
                    message: The workspace's status is archived.
                    status: 403
          description: |-
            - `app_not_found` : The app no longer exists.
            - `app_abnormal_status` : The app's status is abnormal.
            - `app_api_disabled` : API access is disabled for the app.
            - `workspace_archived` : The app's workspace is archived.
        '404':
          content:
            application/json:
              examples:
                not_found:
                  summary: not_found
                  value:
                    code: not_found
                    message: The job does not exist.
                    status: 404
          description: >-
            `not_found` : No job with this `job_id` was started by this app with
            this `action`.
components:
  schemas:
    InitialAnnotationReplySettingsStatusResponse:
      properties:
        error_msg:
          description: >-
            Error message describing why the job failed. Empty string when
            `job_status` is not `error`.
          type: string
        job_id:
          description: >-
            Job ID from the [Configure Annotation
            Reply](/en/api-reference/annotations/configure-annotation-reply)
            call.
          format: uuid
          type: string
        job_status:
          description: >-
            Current job status. `waiting` for queued, `processing` for in
            progress, `completed` when finished, `error` if failed.
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      bearerFormat: API_KEY
      description: >-
        Every request authenticates with an API key: `Authorization: Bearer
        {API_KEY}`. App endpoints take an app API key; knowledge endpoints take
        a knowledge base API key ([Get
        Started](/en/api-reference/guides/get-started)).


        Keep keys server-side; never embed them in client code. Requests with a
        missing or invalid key fail with HTTP `401` (`unauthorized`).
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.