Skip to main content
GET
Get a UI template by ID

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

api_name
string
required
template_id
string
required

Response

Successful Response

Response containing UI template data with all advanced settings.

Includes:

  • HTML content for rendering
  • UI metadata (ui_meta) with all advanced settings:
    • CSP: Content Security Policy
    • Permissions: camera, microphone, geolocation, clipboardWrite
    • Domain: Dedicated origin for view
    • PrefersBorder: Visual boundary preference
id
string
required

Template ID

html
string
required

HTML content

is_default
boolean
default:false

Whether this is the default template for the operation

ui_meta
UIResourceMeta · object | null

UI resource metadata with all advanced settings: CSP, permissions (camera, microphone, geolocation, clipboardWrite), domain, and prefersBorder

template_format
string
default:mcp-app

Template format: mcp-app or handlebars