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

# Get Result



## OpenAPI

````yaml reference/openapi.json GET /v1/results/{result_id}
openapi: 3.1.0
info:
  title: Interactive Layers Context API
  description: >

    Interactive Layers reads what is said on your channel and turns it into ad
    signals.


    * **Signal mode** (`mode=signal`): your program is untouched; every break of
    the output manifest carries an
      `EXT-X-DATERANGE CLASS="com.interactivelayers.signal"` with the matching campaign ids, keywords, your external ids
      (e.g. SpringServe) and a brand-safety status, so your ad server can target the break.
    * **Live SSAI** (`mode=ssai`): supported live pipelines can stitch ads and
    in-band supers.

    * **Legacy URL scan**: enriched VOD manifest with signals; `ssai` adds
    supers. No ad segment replacement.

    * **Asset analysis and operations**: saved moments, campaign previews and
    airing/playback notifications.
      GAM profiles use client-side VAST/IMA. SpringServe profiles produce revision-bound SSAI signals;
      the OTTera transport remains pending external validation. Campaign synchronization is read-only.

    Authenticate with the `X-API-Key` header (keys are issued by Interactive
    Layers). Errors are `{"detail": "..."}`.

    Events can be polled (`GET /v1/events`) or pushed to a signed webhook (`PUT
    /v1/keys/me/webhook`).

    Content catalog and batch operations use their own scoped server key in
    `Authorization: Bearer …`.
  version: '1.2'
servers:
  - url: https://console.interactivelayers.com
security: []
tags:
  - name: AdRouter
    description: Advertising routing, simulation, delivery and reports per project.
  - name: Advertising providers
    description: >-
      GAM and SpringServe connections, profiles and read-only campaign
      synchronization.
  - name: Keys
    description: The calling API key and its signed webhook.
  - name: Campaigns
    description: >-
      Signal campaigns: categories, keywords and the external ids written into
      break markers when the context matches.
  - name: Sources
    description: >-
      Realtime sources (HLS or YouTube) in `signal` or `ssai` mode and their
      enriched output manifest.
  - name: Events
    description: 'Events of your sources: opportunities, break signals, brand-safety holds.'
  - name: Assets
    description: >-
      Create, list, retrieve, rename and delete private video assets. Use
      asset_id as the input to a VOD analysis.
  - name: VOD operations
    description: >-
      Evaluate campaigns from saved asset analyses, schedule airings and send
      playback notifications.
  - name: VOD
    description: >-
      Ahead-of-time VOD scans, faster than real time: transcript, opportunities,
      brand-safety holds, a targeting signal per break and the enriched VOD
      manifest.
paths:
  /v1/results/{result_id}:
    get:
      tags:
        - Content credentials
        - Content processing
      summary: Get Result
      operationId: get_result_v1_results__result_id__get
      parameters:
        - name: result_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
            title: Result Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisResult'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '410':
          description: Gone
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: Request Entity Too Large
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Service Unavailable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - ContentKey: []
components:
  schemas:
    AnalysisResult:
      properties:
        schema_version:
          type: string
          const: '1.1'
          title: Schema Version
        result_id:
          type: string
          pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
          title: Result Id
        asset_id:
          type: string
          pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
          title: Asset Id
        source_asset_id:
          type: string
          title: Source Asset Id
        source_version:
          type: string
          title: Source Version
        status:
          type: string
          const: succeeded
          title: Status
        duration_ms:
          type: integer
          title: Duration Ms
        analysis_profile:
          type: string
          enum:
            - context_av_v1
            - context_audio_v1
          title: Analysis Profile
        profile_revision:
          type: string
          title: Profile Revision
        safety_policy_id:
          type: string
          pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
          title: Safety Policy Id
        policy_revision:
          type: string
          title: Policy Revision
        engine_revision:
          type: string
          title: Engine Revision
        outputs:
          items:
            type: string
            enum:
              - transcript
              - context
              - suitability
              - opportunities
          type: array
          title: Outputs
        coverage:
          $ref: '#/components/schemas/Coverage'
        overall_suitability:
          type: string
          enum:
            - eligible
            - ineligible
            - unknown
          title: Overall Suitability
        segments:
          items:
            $ref: '#/components/schemas/Segment'
          type: array
          title: Segments
        opportunities:
          items:
            $ref: '#/components/schemas/Opportunity'
          type: array
          title: Opportunities
        artifacts:
          items:
            $ref: '#/components/schemas/Artifact'
          type: array
          title: Artifacts
        models:
          items:
            $ref: '#/components/schemas/EngineModel'
          type: array
          title: Models
        created_at:
          type: string
          pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
          title: Created At
        expires_at:
          type: string
          pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
          title: Expires At
      additionalProperties: false
      type: object
      required:
        - schema_version
        - result_id
        - asset_id
        - source_asset_id
        - source_version
        - status
        - duration_ms
        - analysis_profile
        - profile_revision
        - safety_policy_id
        - policy_revision
        - engine_revision
        - outputs
        - coverage
        - overall_suitability
        - segments
        - opportunities
        - artifacts
        - models
        - created_at
        - expires_at
      title: AnalysisResult
    Problem:
      additionalProperties: false
      properties:
        type:
          title: Type
          type: string
        title:
          type: string
          title: Title
        status:
          title: Status
          type: integer
        detail:
          title: Detail
          type: string
        instance:
          title: Instance
          type: string
        code:
          type: string
          title: Code
        request_id:
          pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
          title: Request Id
          type: string
        retryable:
          type: boolean
          title: Retryable
        errors:
          anyOf:
            - items:
                $ref: '#/components/schemas/FieldError'
              type: array
            - type: 'null'
          default: null
          title: Errors
      required:
        - type
        - title
        - status
        - detail
        - instance
        - code
        - request_id
        - retryable
      title: Problem
      type: object
    Coverage:
      properties:
        audio:
          type: string
          enum:
            - complete
            - sampled
            - partial
            - not_analyzed
            - not_present
          title: Audio
        video:
          type: string
          enum:
            - complete
            - sampled
            - partial
            - not_analyzed
            - not_present
          title: Video
        video_sample_interval_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Video Sample Interval Ms
        analyzed_ranges:
          items:
            $ref: '#/components/schemas/Span'
          type: array
          title: Analyzed Ranges
        missing_ranges:
          items:
            $ref: '#/components/schemas/MissingSpan'
          type: array
          title: Missing Ranges
      additionalProperties: false
      type: object
      required:
        - audio
        - video
        - video_sample_interval_ms
        - analyzed_ranges
        - missing_ranges
      title: Coverage
    Segment:
      properties:
        start_ms:
          type: integer
          minimum: 0
          title: Start Ms
        end_ms:
          type: integer
          minimum: 0
          title: End Ms
        segment_id:
          type: string
          title: Segment Id
        topics:
          items:
            $ref: '#/components/schemas/Topic'
          type: array
          title: Topics
        suitability:
          type: string
          enum:
            - eligible
            - ineligible
            - unknown
          title: Suitability
        reason_codes:
          items:
            type: string
          type: array
          title: Reason Codes
        safety_assessments:
          items:
            $ref: '#/components/schemas/SafetyAssessment'
          type: array
          title: Safety Assessments
        evidence_modalities:
          items:
            type: string
            enum:
              - audio
              - video
              - ocr
              - metadata
          type: array
          title: Evidence Modalities
        evidence_refs:
          items:
            type: string
          type: array
          title: Evidence Refs
      additionalProperties: false
      type: object
      required:
        - start_ms
        - end_ms
        - segment_id
        - topics
        - suitability
        - reason_codes
        - safety_assessments
        - evidence_modalities
        - evidence_refs
      title: Segment
    Opportunity:
      properties:
        start_ms:
          type: integer
          minimum: 0
          title: Start Ms
        end_ms:
          type: integer
          minimum: 0
          title: End Ms
        opportunity_id:
          type: string
          title: Opportunity Id
        format:
          type: string
          const: overlay_super
          title: Format
        status:
          type: string
          const: candidate
          title: Status
        segment_ids:
          items:
            type: string
          type: array
          title: Segment Ids
        suitability:
          type: string
          enum:
            - eligible
            - ineligible
            - unknown
          title: Suitability
      additionalProperties: false
      type: object
      required:
        - start_ms
        - end_ms
        - opportunity_id
        - format
        - status
        - segment_ids
        - suitability
      title: Opportunity
    Artifact:
      properties:
        artifact_id:
          type: string
          pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
          title: Artifact Id
        kind:
          type: string
          enum:
            - transcript_json
            - transcript_vtt
            - context_json
          title: Kind
        content_type:
          type: string
          title: Content Type
        size_bytes:
          type: string
          pattern: ^(0|[1-9][0-9]*)$
          title: Size Bytes
        sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
          title: Sha256
        expires_at:
          type: string
          pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
          title: Expires At
      additionalProperties: false
      type: object
      required:
        - artifact_id
        - kind
        - content_type
        - size_bytes
        - sha256
        - expires_at
      title: Artifact
    EngineModel:
      properties:
        role:
          type: string
          title: Role
        provider:
          type: string
          title: Provider
        model:
          type: string
          title: Model
        revision:
          type: string
          title: Revision
      additionalProperties: false
      type: object
      required:
        - role
        - provider
        - model
        - revision
      title: EngineModel
    FieldError:
      additionalProperties: false
      properties:
        pointer:
          title: Pointer
          type: string
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      required:
        - pointer
        - code
        - message
      title: FieldError
      type: object
    Span:
      properties:
        start_ms:
          type: integer
          minimum: 0
          title: Start Ms
        end_ms:
          type: integer
          minimum: 0
          title: End Ms
      additionalProperties: false
      type: object
      required:
        - start_ms
        - end_ms
      title: Span
    MissingSpan:
      properties:
        start_ms:
          type: integer
          minimum: 0
          title: Start Ms
        end_ms:
          type: integer
          minimum: 0
          title: End Ms
        reason:
          type: string
          title: Reason
      additionalProperties: false
      type: object
      required:
        - start_ms
        - end_ms
        - reason
      title: MissingSpan
    Topic:
      properties:
        label:
          type: string
          title: Label
        taxonomy:
          type: string
          const: il_topics_v1
          title: Taxonomy
        confidence:
          type: number
          maximum: 1
          minimum: 0
          title: Confidence
      additionalProperties: false
      type: object
      required:
        - label
        - taxonomy
        - confidence
      title: Topic
    SafetyAssessment:
      properties:
        category:
          type: string
          title: Category
        modality:
          type: string
          enum:
            - audio
            - video
          title: Modality
        decision:
          type: string
          enum:
            - detected
            - not_detected
            - uncertain
            - not_evaluated
          title: Decision
        confidence:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Confidence
        evidence_refs:
          items:
            type: string
          type: array
          title: Evidence Refs
      additionalProperties: false
      type: object
      required:
        - category
        - modality
        - decision
        - confidence
        - evidence_refs
      title: SafetyAssessment
  securitySchemes:
    ContentKey:
      type: http
      scheme: bearer

````

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