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

# Get Task Status

> Get the status of a task by its ID.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/tasks/status/{task_id}
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/tasks/status/{task_id}:
    get:
      tags:
        - Tasks
      summary: Get Task Status
      description: Get the status of a task by its ID.
      operationId: get_task_status_api_v1_tasks_status__task_id__get
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskStatusSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    TaskStatusSchema:
      properties:
        task_id:
          type: string
          title: Task Id
        is_ready:
          type: boolean
          title: Is Ready
        return_value:
          anyOf:
            - {}
            - type: 'null'
          title: Return Value
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - task_id
        - is_ready
      title: TaskStatusSchema
      description: The schema for task status response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````