Skip to main content
GET

Request

string
required
Bearer token with your API key: Bearer tr_your_api_key
string
required
The prompt slug

Response

string
Unique identifier for the prompt
string
URL-friendly identifier
string
Display name of the prompt
string | null
Description of the prompt
string | null
Model provider: OPENAI, ANTHROPIC, GOOGLE, or AMAZON_BEDROCK
string | null
Default model for this prompt
number | null
Temperature setting for the model (0-2)
number | null
Top-p (nucleus) sampling setting (0-1)
number | null
Maximum output tokens limit
number
Current version number
array
Array of prompt messages
string[]
List of template variables extracted from content
string
ISO 8601 timestamp of creation
string
ISO 8601 timestamp of last update

Authorizations

Authorization
string
header
required

API key starting with tr_

Path Parameters

slug
string
required

The prompt slug

Response

Successful response

id
string

Unique identifier for the prompt

slug
string

URL-friendly identifier

name
string

Display name of the prompt

description
string | null

Description of the prompt

provider
enum<string> | null

Model provider

Available options:
OPENAI,
ANTHROPIC,
GOOGLE,
AMAZON_BEDROCK
model
string | null

Default model for this prompt

temperature
number | null

Temperature setting for the model (0-2)

topP
number | null

Top-p (nucleus) sampling setting (0-1)

maxOutputTokens
integer | null

Maximum output tokens limit

currentVersion
integer

Current version number

content
object[]

Array of prompt messages

variables
string[]

List of template variables extracted from content

createdAt
string<date-time>

ISO 8601 timestamp of creation

updatedAt
string<date-time>

ISO 8601 timestamp of last update