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

# Get Asset Result

> Get metadata for a single asset within a submission.

Returns the asset's filename, MIME type, issue count, version info, tags,
and attached context items. For the issues themselves use the dedicated
``/assets/{asset_id}/issues`` or ``/assets/{asset_id}/topics`` endpoints.

Authentication: Requires X-API-Key header with valid API key.

Raises:
    404: If the asset is not found, belongs to a different submission,
         or the submission is not in the authenticated workspace.



## OpenAPI

````yaml /openapi.json get /api/submissions/{submission_id}/assets/{asset_id}
openapi: 3.1.0
info:
  title: MediaMagic Verify Integrations API
  description: An API for MediaMagic Verify integrations.
  version: 1.0.0
servers:
  - url: https://api.northell.io/nhl/prod/mediamagic-verify-integrations
    description: prod
security: []
paths:
  /api/submissions/{submission_id}/assets/{asset_id}:
    get:
      tags:
        - submissions
      summary: Get Asset Result
      description: >-
        Get metadata for a single asset within a submission.


        Returns the asset's filename, MIME type, issue count, version info,
        tags,

        and attached context items. For the issues themselves use the dedicated

        ``/assets/{asset_id}/issues`` or ``/assets/{asset_id}/topics``
        endpoints.


        Authentication: Requires X-API-Key header with valid API key.


        Raises:
            404: If the asset is not found, belongs to a different submission,
                 or the submission is not in the authenticated workspace.
      operationId: get_asset_result_api_submissions__submission_id__assets__asset_id__get
      parameters:
        - name: submission_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Submission Id
        - name: asset_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Asset Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetResultResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - apiKey: []
components:
  schemas:
    AssetResultResponse:
      properties:
        assetId:
          type: string
          format: uuid
          title: Assetid
          description: Asset ID
        submissionId:
          type: string
          format: uuid
          title: Submissionid
          description: Parent submission ID
        filename:
          type: string
          title: Filename
          description: Original filename
        mimeType:
          anyOf:
            - type: string
            - type: 'null'
          title: Mimetype
          description: MIME type
        status:
          $ref: '#/components/schemas/SubmissionStatus'
          description: Submission status
        issueCount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Issuecount
          description: Total issues found
        versionNumber:
          type: integer
          title: Versionnumber
          description: Version number
          default: 1
        versionGroupId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Versiongroupid
          description: Version group ID
        tags:
          items:
            $ref: '#/components/schemas/TagSchema'
          type: array
          title: Tags
          description: Tags applied to this asset.
        contextItems:
          items:
            $ref: '#/components/schemas/ContextItemSchema'
          type: array
          title: Contextitems
          description: Supporting files/links attached to this asset.
        startedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Startedat
          description: >-
            When this asset actually entered review; null while still queued.
            Reflects the latest attempt on a retried asset.
        completedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completedat
          description: >-
            When this asset left review, for ANY outcome (a failure time on a
            failed asset). With startedAt this gives the actual processing
            duration.
      type: object
      required:
        - assetId
        - submissionId
        - filename
        - status
      title: AssetResultResponse
      description: |-
        Asset metadata for a single asset: filename, MIME type, tags, context.

        Issues are served by the dedicated ``/assets/{asset_id}/issues`` and
        ``/assets/{asset_id}/topics`` endpoints, which carry the full enriched
        detail (contributors, anchors, resolution requirements).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SubmissionStatus:
      type: string
      enum:
        - uploading
        - submitted
        - queued
        - processing
        - complete
        - failed
        - partial
      title: SubmissionStatus
    TagSchema:
      properties:
        key:
          type: string
          title: Key
          description: Tag key/namespace, e.g. 'Campaign'.
        value:
          type: string
          title: Value
          description: Tag value/label, e.g. 'Summer'.
      type: object
      required:
        - key
        - value
      title: TagSchema
      description: A tag applied to an asset, as key/value.
    ContextItemSchema:
      properties:
        kind:
          type: string
          title: Kind
          description: '''file'', ''link'', or ''text''.'
        contextType:
          type: string
          title: Contexttype
          description: Semantic role, e.g. 'substantiation'.
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Filename (file kind).
        mimeType:
          anyOf:
            - type: string
            - type: 'null'
          title: Mimetype
          description: MIME type (file kind).
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: URL (link kind).
        linkName:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkname
          description: Display name (link kind).
        content:
          anyOf:
            - type: string
            - type: 'null'
          title: Content
          description: Inline text content (text kind).
      type: object
      required:
        - kind
        - contextType
      title: ContextItemSchema
      description: A supporting file, link, or text block attached to an asset.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key. Format: sk_live_{64 hex chars}'
      x-default: sk_live_your_api_key_here

````