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

# Get status of a context add job

> Returns the status and result of a context add job by job id.



## OpenAPI

````yaml GET /api/v1/context/add-async/{id}/status
openapi: 3.1.0
info:
  title: Alchemyst AI API v1 documentation
  version: 1.0.0
  description: v1 API documentation for Alchemyst AI
servers:
  - url: https://platform-backend.getalchemystai.com
    description: production
security:
  - bearerAuth: []
tags: []
paths:
  /api/v1/context/add-async/{id}/status:
    get:
      tags:
        - context
      summary: Get status of a context add job
      description: Returns the status and result of a context add job by job id.
      operationId: checkStatusForParticularJobInAddContextAsync
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: Job ID to check status for
      responses:
        '200':
          description: Job status and result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextAddAsyncStatusSuccess'
        '400':
          description: Invalid job id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ContextAddAsyncStatusSuccess:
      type: object
      required:
        - success
        - jobId
        - status
      properties:
        success:
          type: boolean
          example: true
        jobId:
          type: string
          example: job_01HXYZABC
        status:
          type: string
          example: completed
        result:
          type: object
          description: Result of the job (if available)
        attemptsMade:
          type: number
          example: 1
        failedReason:
          type: string
          example: ''
        finishedOn:
          type: number
          example: 1712345678901
        processedOn:
          type: number
          example: 1712345670000
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Invalid job id
        status:
          type: number
          example: 400
        error:
          type: object
          example: Error details
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: UNAUTHORIZED
            message:
              type: string
              example: User not authenticated
            details:
              type: object
              additionalProperties: true
        statusText:
          type: string
          description: Error message (detailed in debug mode)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````