> ## 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.

# Validate a managed job

> Validate and translate a Harbor-compatible job without starting execution.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/users/{user_id}/harbor/jobs/dry-run
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/dry-run:
    post:
      tags:
        - Managed execution
      summary: Validate a managed job
      description: >-
        Validate and translate a Harbor-compatible job without starting
        execution.
      operationId: validateManagedJob
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            format: uuid
            title: User Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HarborDryRunRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HarborDryRunResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - UserBearer: []
components:
  schemas:
    HarborDryRunRequest:
      description: Request envelope for side-effect-free Harbor config translation.
      properties:
        client_context:
          $ref: '#/components/schemas/HarborClientContext'
        config:
          title: Config
          type: object
        harbor_commit:
          anyOf:
            - type: string
            - type: 'null'
          title: Harbor Commit
        harbor_version:
          default: 0.13.0
          title: Harbor Version
          type: string
        source:
          default: synth-cli
          title: Source
          type: string
        strict:
          default: true
          title: Strict
          type: boolean
      required:
        - config
      title: HarborDryRunRequest
      type: object
    HarborDryRunResponse:
      description: Side-effect-free Harbor compatibility response.
      properties:
        accepted:
          title: Accepted
          type: boolean
        classification:
          enum:
            - gateway-compatible
            - partial
            - unsupported
          title: Classification
          type: string
        harbor_version:
          title: Harbor Version
          type: string
        required_capabilities:
          items:
            type: string
          title: Required Capabilities
          type: array
        unsupported_fields:
          items:
            $ref: '#/components/schemas/HarborFieldFinding'
          title: Unsupported Fields
          type: array
        warnings:
          items:
            $ref: '#/components/schemas/HarborFieldFinding'
          title: Warnings
          type: array
      required:
        - accepted
        - classification
        - harbor_version
      title: HarborDryRunResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    HarborClientContext:
      description: Optional diagnostic metadata from a Harbor-compatible client.
      properties:
        command:
          anyOf:
            - type: string
            - type: 'null'
          title: Command
        config_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Config Path
      title: HarborClientContext
      type: object
    HarborFieldFinding:
      description: Unsupported or warning finding for a Harbor config field.
      properties:
        code:
          pattern: ^harbor\.compat\.[a-z0-9_]+$
          title: Code
          type: string
        field:
          title: Field
          type: string
        reason:
          title: Reason
          type: string
        severity:
          enum:
            - warning
            - unsupported
          title: Severity
          type: string
      required:
        - field
        - code
        - reason
        - severity
      title: HarborFieldFinding
      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.