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

# Get Job

> Get the status of a long-running job, such as a copy.



## OpenAPI

````yaml /api-reference/openapi.json get /jobs/{job_id}
openapi: 3.1.0
info:
  title: Aspect API
  description: Manage and search media in Aspect.
  version: 1.0.0
servers:
  - url: https://api.aspect.inc
security:
  - ApiKeyAuth: []
tags:
  - name: Users
  - name: API Keys
  - name: Workspaces
  - name: Projects
  - name: Directories
  - name: Assets
  - name: Attachments
  - name: Filesystem Items
  - name: Jobs
  - name: Collections
  - name: Comments
  - name: Search
  - name: Transcription
  - name: Metadata
  - name: Shares
  - name: Share Templates
  - name: Watermarks
paths:
  /jobs/{job_id}:
    get:
      tags:
        - Jobs
      summary: Get Job
      description: Get the status of a long-running job, such as a copy.
      operationId: get_job
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    JobResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Job ID
        job_type:
          $ref: '#/components/schemas/JobType'
          description: Type of job
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
          description: User-facing display label
        status:
          $ref: '#/components/schemas/JobStatus'
          description: Lifecycle status of the job
        progress:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Progress
          description: Job-defined progress payload, written while the job runs
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Result
          description: Job-defined terminal payload, set with a terminal status
        created:
          type: string
          format: date-time
          title: Created
          description: When the job was submitted
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
          description: When the job reached a terminal status
      type: object
      required:
        - id
        - job_type
        - status
        - created
      title: JobResponse
      description: >-
        Durable status snapshot of a long-running job.


        RUNNING rows carry live ``progress``; COMPLETED/FAILED rows persist
        their

        final ``progress`` and job-defined ``result`` until retention deletes
        them.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JobType:
      type: string
      enum:
        - copy_items
        - duplicate_project
      title: JobType
      description: >-
        A long-running job whose status can be polled; values match the queue
        job types that keep a status row.
    JobStatus:
      type: string
      enum:
        - RUNNING
        - COMPLETED
        - FAILED
      title: JobStatus
      description: >-
        Lifecycle status of a job. There is no pending state: time spent waiting
        to start counts as running.
    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:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

````

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