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

# Get Public Artifact

> Public artifact read, authorized purely by the bearer share token.

Fails closed with 404 whenever the token is revoked/weak, the artifact is
deleted, or the campaign's privacy/scope fingerprint drifted since the
artifact was saved — a forwardable link must never outlive the privacy
promise its content was generated under.

``?format=html`` serves the same re-validated content as a self-contained,
fully escaped HTML page (identical 404/staleness semantics).



## OpenAPI

````yaml /openapi.json get /v1/public/artifacts/{share_token}
openapi: 3.1.0
info:
  title: Ontora API
  description: >-
    Ontora's public API. Covers interview campaigns, transcripts, synthesis
    reports, graph queries, webhooks, and workspace management. 


    **Authentication**: endpoints accept either a Clerk JWT (`Authorization:
    Bearer <token>`) or a workspace API key (`X-API-Key: ont_...`). Workspace
    keys are managed via `/v1/api-keys`.
  version: 0.1.0
servers: []
security:
  - ClerkJWT: []
  - WorkspaceApiKey: []
tags:
  - name: interviews
    description: Campaign CRUD, lifecycle, contacts, question sets.
  - name: agent-templates
    description: Curated use-case templates for creating opinionated interview campaigns.
  - name: campaign-insights
    description: Synthesis outputs — cartography, roadmap, personas, conversations.
  - name: interview-query
    description: Graph RAG query over campaign data.
  - name: campaign-reports
    description: Versioned synthesis Reports — manual regenerate, version history.
  - name: interview-export
    description: Markdown / ZIP exports of transcripts and reports.
  - name: api-keys
    description: Manage workspace-scoped API keys for programmatic access.
  - name: webhook-endpoints
    description: Outbound webhook endpoints for automation.
  - name: booking
    description: Public self-scheduling endpoints for interview participants.
  - name: join
    description: Public QR-code / share-link self-registration for campaign participants.
  - name: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/public/artifacts/{share_token}:
    get:
      tags:
        - campaign-artifacts-public
      summary: Get Public Artifact
      description: >-
        Public artifact read, authorized purely by the bearer share token.


        Fails closed with 404 whenever the token is revoked/weak, the artifact
        is

        deleted, or the campaign's privacy/scope fingerprint drifted since the

        artifact was saved — a forwardable link must never outlive the privacy

        promise its content was generated under.


        ``?format=html`` serves the same re-validated content as a
        self-contained,

        fully escaped HTML page (identical 404/staleness semantics).
      operationId: get_public_artifact_v1_public_artifacts__share_token__get
      parameters:
        - name: share_token
          in: path
          required: true
          schema:
            type: string
            title: Share Token
        - name: format
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Format
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicArtifactOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PublicArtifactOut:
      properties:
        kind:
          type: string
          title: Kind
        title:
          type: string
          title: Title
        spec:
          anyOf:
            - additionalProperties: true
              type: object
            - items: {}
              type: array
          title: Spec
        created_at:
          type: string
          format: date-time
          title: Created At
        campaign_name:
          type: string
          title: Campaign Name
      type: object
      required:
        - kind
        - title
        - spec
        - created_at
        - campaign_name
      title: PublicArtifactOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
    ClerkJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk-issued RS256 JWT.
    WorkspaceApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key (prefix: `ont_`).'

````