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

# Get single marketplace item details

> Return the full PublishedItem document for a marketplace listing, including metadata and share settings, provided the caller is in scope to view it.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/marketplace/{id}
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/marketplace/{id}:
    get:
      tags:
        - Marketplace
      summary: Get single marketplace item details
      description: >-
        Return the full PublishedItem document for a marketplace listing,
        including metadata and share settings, provided the caller is in scope
        to view it.
      operationId: get_published_item
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Marketplace item returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplacePublishedItemResponse'
        '403':
          description: Not authorized to view this item
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceErrorResponse'
        '404':
          description: Marketplace item not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    MarketplacePublishedItemResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          $ref: '#/components/schemas/MarketplacePublishedItemDetail'
      required:
        - success
        - data
      additionalProperties: true
      example:
        success: true
        data:
          id: 7b2c4e0d9f1a3b4e5c6d7e8f9012
          itemType: prompt
          itemId: 5f7b1c2e8a1d4e0012c3b4a5
          name: Acme Inbound Triage Prompt
          description: Routes inbound SMS to the right department.
          content: You are a helpful triage assistant for {{org_name}}…
          publisher:
            name: Sam Patel
            organization: Acme Corp
          scope: marketplace
          shareType: copy
          isContentVisible: true
          status: active
          usageCount: 12
          isAcquired: false
          publishedAt: '2026-05-01T09:15:00.000Z'
    MarketplaceErrorResponse:
      type: object
      description: Generic error envelope returned by Marketplace endpoints.
      properties:
        error:
          type: string
        details:
          type: string
      required:
        - error
      additionalProperties: true
      example:
        error: Marketplace item not found
    MarketplacePublishedItemDetail:
      type: object
      description: >-
        Full marketplace listing detail returned by GET /api/marketplace/{id}.
        Same shape as the browse item plus an optional `content` payload when
        the listing is content-visible.
      properties:
        id:
          type: string
        itemType:
          type: string
          enum:
            - prompt
            - template
        itemId:
          type: string
        name:
          type: string
        description:
          type: string
        usageInformation:
          type: string
        content:
          nullable: true
          description: Prompt body or template text when isContentVisible; null otherwise.
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
        publisher:
          $ref: '#/components/schemas/MarketplacePublisher'
        scope:
          type: string
          enum:
            - organization
            - marketplace
        shareType:
          type: string
          enum:
            - reference
            - copy
        allowEditableReferences:
          type: boolean
        isContentVisible:
          type: boolean
        status:
          type: string
        usageCount:
          type: integer
        isAcquired:
          type: boolean
        publishedAt:
          type: string
          format: date-time
      additionalProperties: true
      example:
        id: 7b2c4e0d9f1a3b4e5c6d7e8f9012
        itemType: prompt
        itemId: 5f7b1c2e8a1d4e0012c3b4a5
        name: Acme Inbound Triage Prompt
        description: Routes inbound SMS to the right department.
        usageInformation: Set the {{org_name}} variable before applying.
        content: You are a helpful triage assistant for {{org_name}}…
        publisher:
          name: Sam Patel
          organization: Acme Corp
        scope: marketplace
        shareType: copy
        allowEditableReferences: false
        isContentVisible: true
        status: active
        usageCount: 12
        isAcquired: false
        publishedAt: '2026-05-01T09:15:00.000Z'
    MarketplacePublisher:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
        organization:
          type: string
      required:
        - name
        - organization
      additionalProperties: true
      example:
        id: 5f7b1c2e8a1d4e0012c3b4a5
        name: Sam Patel
        organization: Acme Corp
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````