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

# Get media metadata (returns a Polymorfa-hosted download URL)

> **Protocols:** Linked Device API · Meta Cloud API · Polymorfa Hybrid Link

<Badge color="green" icon="laptop">Linked Device API</Badge> <Badge color="blue" icon="meta" iconType="brands">Meta Cloud API</Badge> <Badge color="purple" icon="shuffle">Polymorfa Hybrid Link</Badge>


## OpenAPI

````yaml /api-reference/openapi.graph.json get /{version}/{objectId}
openapi: 3.0.3
info:
  title: Polymorfa Graph API
  version: 1.0.0
  description: Meta Cloud API-compatible facade.
servers:
  - url: https://api.polymorfa.com
security: []
paths:
  /{version}/{objectId}:
    get:
      tags:
        - Graph API
      summary: Get media metadata (returns a Polymorfa-hosted download URL)
      description: >-
        **Protocols:** Linked Device API · Meta Cloud API · Polymorfa Hybrid
        Link
      operationId: graphGetMedia
      parameters:
        - schema:
            type: string
            example: v21.0
          required: true
          name: version
          in: path
        - schema:
            type: string
            description: 'A media ID for GET/DELETE, or an upload: session ID for POST.'
          required: true
          name: objectId
          in: path
      responses:
        '200':
          description: Media metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphMediaInfoResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '403':
          description: Permission error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '404':
          description: Object does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphError'
      security:
        - BearerAuth: []
components:
  schemas:
    GraphMediaInfoResponse:
      type: object
      properties:
        messaging_product:
          type: string
        url:
          type: string
        mime_type:
          type: string
        sha256:
          type: string
        file_size:
          type: number
        id:
          type: string
      required:
        - messaging_product
        - url
        - mime_type
        - sha256
        - file_size
        - id
    GraphError:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: number
            error_subcode:
              type: number
            error_data:
              nullable: true
            fbtrace_id:
              type: string
          required:
            - message
            - type
            - code
            - fbtrace_id
      required:
        - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Polymorfa organization key (titan_ prefix) or project token (titan_pt_
        prefix). Client tokens are not accepted by Graph operations.

````