Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

deployId
string
required

The deployment ID to retrieve. Must belong to the current API key's workspace and be in active state

Example:

"dep_12345"

Response

Successful response with prompt data

id
string
required

Prompt ID

Example:

"prompt_abc123"

title
string
required

Current version title

Example:

"Welcome Flow"

messages
object[]
required

Prompt message sequence with role and content fields

deploy
object
required
workspace
object
required
description
string | null

Current version description

Example:

"Greeting flow for new sign-ups"

llmConfig
object | null

Custom LLM configuration JSON

Example: