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

# Get Connection Metadata Job

> Get a connection metadata job's status, and its result once complete



## OpenAPI

````yaml get /v1/api/connection/metadata-job/{jobId}
openapi: 3.1.0
info:
  title: Upsolve API
  version: 1.5.0
servers:
  - url: https://api.upsolve.ai
security: []
tags: []
paths:
  /v1/api/connection/metadata-job/{jobId}:
    get:
      summary: Get a connection metadata job
      description: Get a connection metadata job's status, and its result once complete
      operationId: GetV1ApiConnectionMetadataJobJobId
      parameters:
        - name: apiKey
          in: query
          required: false
          description: >-
            Upsolve API key, generated under Account → Developer settings in the
            Upsolve Hub. Keys are user-scoped: pass organizationId alongside the
            key to select which org to act on.
          schema:
            description: >-
              Upsolve API key, generated under Account → Developer settings in
              the Upsolve Hub. Keys are user-scoped: pass organizationId
              alongside the key to select which org to act on.
            type: string
            minLength: 1
        - name: organizationId
          in: query
          required: false
          description: >-
            The ID of the organization. Required when using Supabase JWT
            authentication.
          schema:
            type: string
            description: >-
              The ID of the organization. Required when using Supabase JWT
              authentication.
        - name: connectionId
          in: query
          required: false
          description: The ID of the connection a guest has access to
          schema:
            type: string
            description: The ID of the connection a guest has access to
        - name: jobId
          in: path
          required: true
          description: GET /v1/api/connection/metadata-job/:jobId Parameter
          schema:
            type: string
      responses:
        '200':
          description: GET /v1/api/connection/metadata-job/:jobId Positive response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    type: object
                    properties:
                      jobId:
                        type: string
                      connectionId:
                        type: string
                      mode:
                        type: string
                        enum:
                          - v1
                          - v2
                      status:
                        type: string
                        enum:
                          - pending
                          - processing
                          - completed
                          - failed
                      progressMessage:
                        type:
                          - string
                          - 'null'
                      errorMessage:
                        type:
                          - string
                          - 'null'
                      result:
                        type:
                          - object
                          - 'null'
                        properties:
                          metadata:
                            description: The computed metadata for the connection
                          dataModelValidationResults:
                            type: array
                            items:
                              type: object
                              properties:
                                dataModelId:
                                  type: string
                                dataModelName:
                                  type: string
                                version:
                                  type: number
                                originalSchemaUpdated:
                                  type: boolean
                                validationPassed:
                                  type: boolean
                                error:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - dataModelId
                                - dataModelName
                                - version
                                - originalSchemaUpdated
                                - validationPassed
                                - error
                              additionalProperties: false
                            description: >-
                              Validation results for each production data model
                              using this connection
                          applicationValidationResults:
                            type: array
                            items:
                              type: object
                              properties:
                                applicationId:
                                  type: string
                                applicationName:
                                  type: string
                                version:
                                  type: number
                                dataModelId:
                                  type: string
                                error:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - applicationId
                                - applicationName
                                - version
                                - dataModelId
                                - error
                              additionalProperties: false
                            description: >-
                              Validation results for each production application
                              linked to affected data models
                        additionalProperties: false
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      completedAt:
                        type:
                          - string
                          - 'null'
                    required:
                      - jobId
                      - connectionId
                      - mode
                      - status
                      - progressMessage
                      - errorMessage
                      - result
                      - createdAt
                      - updatedAt
                      - completedAt
                    additionalProperties: false
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          description: GET /v1/api/connection/metadata-job/:jobId Negative response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                    required:
                      - message
                    additionalProperties: false
                required:
                  - status
                  - error
                additionalProperties: false
      security:
        - APIKEY_3: []
components:
  securitySchemes:
    APIKEY_3:
      type: apiKey
      in: header
      name: authorization

````

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