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

# Inter-2 and Inter-2 Audio Upload Job

> Read an upload job. The envelope's `status` moves through `queued`, `running` and then `completed` (with `result`) or `failed` (with `error`). Records stay readable until `expires_at`.

Read an upload job by the `job_id` that [`POST /v2/upload/analyze`](https://docs.interhuman.ai/api-reference/upload-analyze-v2) returned. The submit's `status_url` is this path, relative to `https://api.interhuman.ai`. One endpoint serves jobs for both Inter-2 models, and it needs the `interhumanai.upload` scope.

A successful read answers `200` with the job envelope. Its `status` says what else the envelope carries:

* **`queued`**: the job is accepted and has not started. There is no `result` or `error` yet.
* **`running`**: the model is reading the file. There is no `result` or `error` yet.
* **`completed`**: `result` holds the analysis: `duration_seconds`, `window_seconds`, `windows`, plus `signals` and `conversation_quality` when the submit's `include[]` asked for them.
* **`failed`**: `error` holds the reason, in the standard [error shape](https://docs.interhuman.ai/api-reference/error-handling.md). A job that fails with `ih1004` was interrupted before it finished; submit the file again.

Read the job every few seconds until `status` is `completed` or `failed`. If a read answers `503` (`ih1002` or `ih1003`), wait a few seconds and read it again.

A job stays readable until its `expires_at`, 24 hours after submission. After that, and for an id that does not belong to your account, the read answers `404` (`ih4021`). Store the result on your side if you need it longer.

Quickstarts: [Video Analysis](https://docs.interhuman.ai/getting-started/video-upload-quickstart.md) · [Audio Analysis](https://docs.interhuman.ai/getting-started/audio-upload-quickstart.md)

> [!NOTE]
>
> Have an existing `POST /v1/upload/analyze` integration? See [Migrate from V1 to V2](https://docs.interhuman.ai/api-reference/migrate-v1-to-v2.md) for the request, job lifecycle, and result changes.

#### Response Headers

**X-Correlation-ID** `header`

Unique identifier for the request. Include this when contacting support.

Example: `f47ac10b-58cc-4372-a567-0e02b2c3d479`


## OpenAPI

````yaml get /v2/upload/jobs/{job_id}
openapi: 3.1.0
info:
  title: interhuman-api
  version: 2.12.4
servers:
  - url: https://api.interhuman.ai
    description: Production environment
security: []
paths:
  /v2/upload/jobs/{job_id}:
    get:
      summary: Get Upload Job
      description: >-
        Read an upload job. The envelope's `status` moves through `queued`,
        `running` and then `completed` (with `result`) or `failed` (with
        `error`). Records stay readable until `expires_at`.
      operationId: get_upload_job_v2_upload_jobs__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            description: The `job_id` from the submit response.
            title: Job Id
          description: The `job_id` from the submit response.
        - name: X-Client-Request-Id
          in: header
          required: false
          description: >-
            Optional identifier supplied by the client to correlate this request
            with their own logs. When provided, the value is recorded alongside
            the server-assigned correlation ID in Interhuman logs to aid lookup
            and support investigations. This header is not echoed back in the
            response; the server returns its own correlation ID in the
            `X-Correlation-ID` HTTP response header.
          schema:
            type: string
            title: X-Client-Request-Id
      responses:
        '200':
          description: The job envelope in its current state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadJobResponse'
              examples:
                queued:
                  value:
                    job_id: 3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                    status: queued
                    model: inter-2
                    created_at: '2026-09-11T10:00:00Z'
                    expires_at: '2026-09-11T11:00:00Z'
                    status_url: /v2/upload/jobs/3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                completed:
                  value:
                    job_id: 3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                    status: completed
                    model: inter-2
                    created_at: '2026-09-11T10:00:00Z'
                    expires_at: '2026-09-11T11:00:00Z'
                    status_url: /v2/upload/jobs/3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                    result:
                      duration_seconds: 10
                      window_seconds: 5
                      windows:
                        - index: 0
                          start_seconds: 0
                          end_seconds: 5
                          engagement_status: engaged
                          signals:
                            - type: confidence
                              start: 0
                              end: 5
                              probability: high
                              rationale: >-
                                Steady eye contact, upright posture and a firm,
                                even tone throughout.
                        - index: 1
                          start_seconds: 5
                          end_seconds: 10
                          engagement_status: neutral
                          signals: []
                      signals:
                        - type: confidence
                          start: 0
                          end: 5
                          probability: high
                          rationale: >-
                            Steady eye contact, upright posture and a firm, even
                            tone throughout.
                      conversation_quality:
                        overall:
                          quality_index: 65.5
                          clarity: 50
                          authority: 85.7
                          energy: 91.7
                          rapport: 50
                          learning: 50
                        timeline:
                          - start: 0
                            end: 10
                            values:
                              quality_index: 65.5
                              clarity: 50
                              authority: 85.7
                              energy: 91.7
                              rapport: 50
                              learning: 50
                failed:
                  value:
                    job_id: 3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                    status: failed
                    model: inter-2
                    created_at: '2026-09-11T10:00:00Z'
                    expires_at: '2026-09-11T11:00:00Z'
                    status_url: /v2/upload/jobs/3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
                    error:
                      error_id: ih5002
                      correlation_id: 550e8400-e29b-41d4-a716-446655440000
                      link: >-
                        https://docs.interhuman.ai/api-reference/error-handling#ih5002-corrupted-media
                      message: >-
                        Unable to process the file: it is corrupted or cannot be
                        read.
        '401':
          description: >-
            Unauthorized. No API key or client token was sent (ih2002), the API
            key is invalid (ih2001), or the client token is expired (ih2010),
            invalid (ih2011) or revoked (ih2014).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_id: ih2002
                correlation_id: 550e8400-e29b-41d4-a716-446655440000
                link: >-
                  https://docs.interhuman.ai/api-reference/error-handling#ih2002-missing-credentials
                message: >-
                  No authentication credentials were provided. Send your API key
                  or a client token in the 'Authorization: Bearer <credential>'
                  header (or, for WebSocket connections, as the
                  'Sec-WebSocket-Protocol: access_token, <credential>'
                  subprotocol pair).
        '403':
          description: >-
            Forbidden. The API key or client token does not carry the
            `interhumanai.upload` scope (ih2003), which authorizes reading the
            account's jobs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_id: ih2003
                correlation_id: 550e8400-e29b-41d4-a716-446655440000
                link: >-
                  https://docs.interhuman.ai/api-reference/error-handling#ih2003-insufficient-scope
                message: >-
                  Insufficient scope. This endpoint requires the
                  'interhumanai.upload' scope.
        '404':
          description: >-
            No job with this id exists for the account, or it has expired
            (ih4021).
          content:
            application/json:
              example:
                error_id: ih4021
                correlation_id: 550e8400-e29b-41d4-a716-446655440000
                link: >-
                  https://docs.interhuman.ai/api-reference/error-handling#ih4021-job-not-found
                message: >-
                  No analysis job with id '3f1c2b7a9d4e4c8fa1b2c3d4e5f60718'
                  exists for this account, or it has expired.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Service unavailable. The job store cannot be reached (ih1003), no
            backend serves the requested model on this deployment (ih1003), or
            this instance holds as many jobs as it may (ih1002); retry after a
            short delay.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error_id: ih1003
                correlation_id: 550e8400-e29b-41d4-a716-446655440000
                link: >-
                  https://docs.interhuman.ai/api-reference/error-handling#ih1003-dependency-unavailable
                message: >-
                  A required dependency is temporarily unavailable. Please try
                  again later.
      security:
        - uploadAuth: []
components:
  schemas:
    UploadJobResponse:
      properties:
        job_id:
          type: string
          title: Job ID
          description: Identifier of the job. Use it with ``GET /v2/upload/jobs/{job_id}``.
          examples:
            - 3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
        status:
          $ref: '#/components/schemas/UploadJobStatus'
          title: Status
          description: >-
            Where the job is: ``queued`` (accepted, not started), ``running``,
            ``completed`` (``result`` is set) or ``failed`` (``error`` is set).
          examples:
            - queued
        model:
          $ref: '#/components/schemas/UploadModel'
          title: Model
          description: The model the job was submitted for.
          examples:
            - inter-2
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the job was accepted (UTC).
          examples:
            - '2026-09-11T10:00:00Z'
        expires_at:
          type: string
          format: date-time
          title: Expires At
          description: >-
            When the job record, and its result, stop being readable (UTC). A
            read after this time answers ``ih4021``.
          examples:
            - '2026-09-11T11:00:00Z'
        status_url:
          type: string
          title: Status URL
          description: >-
            Path of the job's status resource, relative to the API base URL:
            ``/v2/upload/jobs/{job_id}``.
          examples:
            - /v2/upload/jobs/3f1c2b7a9d4e4c8fa1b2c3d4e5f60718
        result:
          anyOf:
            - $ref: '#/components/schemas/UploadJobResult'
            - type: 'null'
          title: Result
          description: The analysis. Present only when ``status`` is ``completed``.
        error:
          anyOf:
            - $ref: '#/components/schemas/ErrorResponse'
            - type: 'null'
          title: Error
          description: >-
            Why the job failed, as the API's standard error body. Present only
            when ``status`` is ``failed``.
      type: object
      required:
        - job_id
        - status
        - model
        - created_at
        - expires_at
        - status_url
      title: UploadJobResponse
      description: The job envelope, returned by both v2 upload routes.
    ErrorResponse:
      properties:
        error_id:
          type: string
          title: Error Id
          description: Machine-readable error code.
        correlation_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Correlation Id
          description: >-
            Unique identifier assigned to each API request or WebSocket
            connection. It allows both the client and the service to trace a
            specific interaction through logs and internal systems. If you
            contact support about a particular request or connection, providing
            the correlation_id allows the team to locate the relevant records
            quickly. Clients who may later request deletion of data for privacy
            reasons should store the correlation_id, as it can be used to
            identify and remove data associated with that specific interaction.
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
          description: URL to additional information about this error.
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: >-
            Error explanation. Contains any additional details about the
            specific error that was encountered.
      type: object
      required:
        - error_id
      title: ErrorResponse
      description: >-
        Structured error returned by all HTTP error paths.


        Only ``error_id`` is required. The other fields are included when
        available.
    UploadJobStatus:
      type: string
      enum:
        - queued
        - running
        - completed
        - failed
      title: UploadJobStatus
      description: >-
        Lifecycle of an upload job.


        ``queued`` and ``running`` are transient; ``completed`` and ``failed``
        are

        terminal, and the record stays readable until ``expires_at``.
    UploadModel:
      type: string
      enum:
        - inter-2
        - inter-2-audio
      title: UploadModel
      description: |-
        The Inter-2 model a ``POST /v2/upload/analyze`` request names.

        The path version names the contract (engagement plus signals with a
        rationale, per window); ``model`` names the engine that reads the file.
        ``inter-2`` reads the video, picture and sound together, from an mp4,
        mov, avi, mkv, webm or mpeg-ts file carrying both a video and an audio
        track. ``inter-2-audio`` reads the audio alone, from a wav, flac, mp3,
        m4a or ogg file, or a webm or mp4 carrying an audio track, and reports a
        subset of the signals ``inter-2`` reports: agreement, confidence,
        frustration, hesitation, interest and uncertainty. Both take the same
        ``interhumanai.upload`` scope.
    UploadJobResult:
      properties:
        duration_seconds:
          type: number
          title: Duration
          description: Length of the analyzed media, in seconds.
          examples:
            - 60
        window_seconds:
          type: number
          title: Window Length
          description: Length of each analysis window, in seconds.
          examples:
            - 5
        windows:
          items:
            $ref: '#/components/schemas/UploadJobWindow'
          type: array
          title: Windows
          description: Per-window analyses, in file order.
        signals:
          anyOf:
            - items:
                $ref: '#/components/schemas/UploadJobSignal'
              type: array
            - type: 'null'
          title: Signals
          description: >-
            Every window's signals as one list over the whole file, in
            chronological order, merged by the same rules as ``POST
            /v1/upload/analyze``: signals of the same type in adjacent windows
            become one span, which keeps the highest probability and that
            signal's rationale. Like the window signals, an entry omits
            ``probability`` or ``rationale`` when it has none. Present when
            ``include[]`` named ``signals``, and then an empty list when no
            signal was detected; absent otherwise. The windows are unchanged
            either way.
        conversation_quality:
          anyOf:
            - $ref: '#/components/schemas/UploadJobConversationQuality'
            - type: 'null'
          title: Conversation Quality
          description: >-
            The Conversation Quality Index over the whole file, in the sections
            the submit's ``include[]`` flags asked for. Absent when no flag was
            sent. When requested it is present even for a file with no detected
            signals: every dimension then reads the neutral 50.
      type: object
      required:
        - duration_seconds
        - window_seconds
      title: UploadJobResult
      description: |-
        The result of a completed upload job: one entry per analyzed window.

        ``signals`` and ``conversation_quality`` are whole-file views of those
        windows, each present only when the submit's ``include[]`` asked for it.
    UploadJobWindow:
      properties:
        index:
          type: integer
          title: Index
          description: Zero-based position of this window in the file.
          examples:
            - 0
        start_seconds:
          type: number
          title: Start
          description: Where the window starts, in seconds from the start of the file.
          examples:
            - 0
        end_seconds:
          type: number
          title: End
          description: Where the window ends, in seconds from the start of the file.
          examples:
            - 5
        engagement_status:
          $ref: '#/components/schemas/EngagementLevel'
          title: Engagement Status
          description: The engagement level the model read over this window.
          examples:
            - engaged
        signals:
          items:
            $ref: '#/components/schemas/UploadJobSignal'
          type: array
          title: Signals
          description: >-
            Social signals detected in this window. Each carries the window's
            span as its start and end. An ``inter-2-audio`` job reports a subset
            of the signal types: those it can hear.
      type: object
      required:
        - index
        - start_seconds
        - end_seconds
        - engagement_status
      title: UploadJobWindow
      description: The analysis of one fixed-length window of the file.
    UploadJobSignal:
      properties:
        type:
          $ref: '#/components/schemas/SignalType'
          title: Signal Type
          description: >-
            The name of the detected social signal (e.g., 'agreement',
            'interest'). On an ``inter-2-audio`` job, the types are a subset of
            the ones ``inter-2`` reports: those it can hear (agreement,
            confidence, frustration, hesitation, interest and uncertainty).
          examples:
            - agreement
        start:
          type: number
          title: Start Time
          description: Start time of the signal in seconds relative to the video start.
          examples:
            - 10
        end:
          type: number
          title: End Time
          description: End time of the signal in seconds relative to the video start.
          examples:
            - 15
        probability:
          anyOf:
            - $ref: '#/components/schemas/Probability'
            - type: 'null'
          title: Probability
          description: 'Confidence level of the detected signal: high, medium, or low.'
          examples:
            - high
        rationale:
          anyOf:
            - type: string
            - type: 'null'
          title: Rationale
          description: >-
            A concise, evidence-based explanation of why the signal was
            detected. Grounded in cues the model observed: in the picture and
            sound for ``inter-2``, and in the sound alone for ``inter-2-audio``.
          examples:
            - Subject nodded repeatedly while maintaining eye contact.
      type: object
      required:
        - type
        - start
        - end
      title: UploadJobSignal
      description: |-
        A social signal detected in one window of an upload job.

        Carries the window's span as its ``start`` and ``end``. Unlike the v1
        ``Signal``, it names no ``modality``: the job's ``model`` already says
        which evidence the model read.
    UploadJobConversationQuality:
      properties:
        overall:
          anyOf:
            - $ref: '#/components/schemas/ConversationQualityValues'
            - type: 'null'
          title: Overall
          description: >-
            Aggregated conversation quality scores for the whole file. Present
            when ``include[]`` named ``conversation_quality_overall``.
        timeline:
          anyOf:
            - items:
                $ref: '#/components/schemas/ConversationQualityTimelineEntry'
              type: array
            - type: 'null'
          title: Timeline
          description: >-
            Time-varying conversation quality scores in consecutive,
            non-overlapping periods across the file. Present when ``include[]``
            named ``conversation_quality_timeline``.
      type: object
      title: UploadJobConversationQuality
      description: >-
        The Conversation Quality Index of a completed job, in the sections
        requested.


        Computed once, when the job completes, from every window's signals and

        engagement status over the whole file. Each section is present only when

        the submit asked for it with the matching ``include[]`` flag, so a
        caller

        reads exactly what it requested; when neither flag was sent the block is

        absent from the result altogether.
    EngagementLevel:
      type: string
      enum:
        - engaged
        - neutral
        - disengaged
      title: EngagementLevel
      description: Engagement state levels derived from model signals.
    SignalType:
      type: string
      enum:
        - agreement
        - confidence
        - confusion
        - disagreement
        - frustration
        - hesitation
        - interest
        - skepticism
        - stress
        - uncertainty
      title: SignalType
      description: Enumeration of supported social signals.
    Probability:
      type: string
      enum:
        - high
        - medium
        - low
      title: Probability
      description: Signal probability levels.
    ConversationQualityValues:
      properties:
        quality_index:
          type: number
          title: Quality Index
          description: >-
            Overall conversation quality index (0-100). Mean of the five
            dimension scores.
          examples:
            - 72
        clarity:
          type: number
          title: Clarity
          description: >-
            Clarity / Structure dimension score (0-100). Returns 50 when no
            diagnostic evidence is available for this dimension.
          examples:
            - 67
        authority:
          type: number
          title: Authority
          description: >-
            Authority / Credibility dimension score (0-100). Returns 50 when no
            diagnostic evidence is available for this dimension.
          examples:
            - 68
        energy:
          type: number
          title: Energy
          description: >-
            Energy / Presence dimension score (0-100). Returns 50 when no
            diagnostic evidence is available for this dimension.
          examples:
            - 80
        rapport:
          type: number
          title: Rapport
          description: >-
            Rapport / Relational Safety dimension score (0-100). Returns 50 when
            no diagnostic evidence is available for this dimension.
          examples:
            - 75
        learning:
          type: number
          title: Learning
          description: >-
            Learning / Exploration dimension score (0-100). Returns 50 when no
            diagnostic evidence is available for this dimension.
          examples:
            - 70
      type: object
      required:
        - quality_index
        - clarity
        - authority
        - energy
        - rapport
        - learning
      title: ConversationQualityValues
      description: >-
        Aggregated conversation quality scores for the entire conversation.


        Added when `conversation_quality_overall` is included in the Include
        flags.
    ConversationQualityTimelineEntry:
      properties:
        start:
          type: number
          title: Start Time
          description: Window start time in seconds, in absolute session-cumulative time.
          examples:
            - 0
        end:
          type: number
          title: End Time
          description: Window end time in seconds, in absolute session-cumulative time.
          examples:
            - 10
        values:
          $ref: '#/components/schemas/ConversationQualityValues'
          title: Values
          description: Conversation quality dimension scores for this time window.
      type: object
      required:
        - start
        - end
        - values
      title: ConversationQualityTimelineEntry
      description: Conversation quality values for a single time window in the timeline.
  securitySchemes:
    uploadAuth:
      type: http
      description: >-
        Send your API key, or a client token minted by `POST /v1/client_tokens`,
        in the `Authorization` header as `Bearer <credential>`. This endpoint
        requires the `interhumanai.upload` scope: an API key must hold it, and a
        client token must be minted with it (the minting key must have held it).
        A credential without it is refused with `ih2003`.
      scheme: bearer

````

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