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

# Get a managed job

> Inspect aggregate lifecycle state for a managed job.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/users/{user_id}/harbor/jobs/{job_id}
openapi: 3.1.0
info:
  title: Synth API Reference
  version: 2026-08-23.alpha
  description: HTTP API for your account, tasks, datasets, agent runs and usage.
servers:
  - url: https://sprites-gateway.api.synthlabs.ai
    description: Synth API
security: []
tags:
  - name: Identity
    description: Manage customer tokens without exposing internal service credentials.
  - name: Registry
    description: >-
      Create, discover, set visibility, version, execute, and inspect results
      for Harbor-compatible tasks and datasets.
  - name: Managed execution
    description: Validate, run, observe, and retrieve Harbor-compatible managed work.
  - name: Usage
    description: Inspect authoritative current rolling quota.
paths:
  /api/v1/users/{user_id}/harbor/jobs/{job_id}:
    get:
      tags:
        - Managed execution
      summary: Get a managed job
      description: Inspect aggregate lifecycle state for a managed job.
      operationId: getManagedJob
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            format: uuid
            title: User Id
            type: string
        - in: path
          name: job_id
          required: true
          schema:
            format: uuid
            title: Job Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HarborJobSummary'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - UserBearer: []
components:
  schemas:
    HarborJobSummary:
      description: Owner-scoped aggregate observation of one hosted Harbor job.
      properties:
        aggregate_state:
          enum:
            - queued
            - running
            - succeeded
            - failed
            - cancelled
          title: Aggregate State
          type: string
        concurrency_limit:
          title: Concurrency Limit
          type: integer
        intended_trials:
          title: Intended Trials
          type: integer
        job_id:
          format: uuid
          title: Job Id
          type: string
        state_counts:
          additionalProperties:
            type: integer
          title: State Counts
          type: object
        terminal_trials:
          title: Terminal Trials
          type: integer
      required:
        - job_id
        - aggregate_state
        - intended_trials
        - concurrency_limit
        - terminal_trials
        - state_counts
      title: HarborJobSummary
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    UserBearer:
      description: Synth customer access token for the current user and organization.
      scheme: bearer
      type: http

````

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