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

# Add Asset To Page

> Instantiate an asset's widgets onto a project page (connectivity-aware: unconnected sources land as demo).



## OpenAPI

````yaml https://api.oviond.com/openapi.json post /v1/assets/{id}/add-to-page
openapi: 3.1.0
info:
  title: Oviond Backend API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
  - url: https://api.oviond.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/assets/{id}/add-to-page:
    post:
      tags:
        - Assets
      summary: Add Asset To Page
      description: >-
        Instantiate an asset's widgets onto a project page (connectivity-aware:
        unconnected sources land as demo).
      operationId: add_asset_to_page
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAssetToPageRequest'
      responses:
        '201':
          description: Widgets instantiated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddAssetToPageResponse'
        '404':
          description: Asset or project not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    AddAssetToPageRequest:
      type: object
      properties:
        source_id:
          type: string
          minLength: 1
          description: Project id to add the asset widgets to
        page_id:
          type: string
          minLength: 1
          description: Page id to place the widgets on
        client_id:
          type:
            - string
            - 'null'
          description: >-
            Client id the project belongs to — drives the connectivity → demo
            decision. Falls back to the project's client when omitted.
      required:
        - source_id
        - page_id
    AddAssetToPageResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: object
          properties:
            inserted_count:
              type: number
            widget_ids:
              type: array
              items:
                type: string
          required:
            - inserted_count
            - widget_ids
      required:
        - success
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Oviond API key (prefix `oviond_`) sent as a Bearer token — the
        credential for REST/programmatic and headless integrations. Manage keys
        in Settings → API Keys. API keys do NOT authenticate the MCP endpoint
        (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase-issued JWT used by the Oviond web app session. External API
        consumers should authenticate with an Oviond API key (ApiKeyAuth)
        instead.

````