cURL
Prompts
Get prompt by deployment ID
Retrieves the current active version’s prompt metadata (title, description, LLM configuration, and message list) by deployment ID, along with associated deployment and workspace information
GET
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
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
Prompt ID
Example:
"prompt_abc123"
Current version title
Example:
"Welcome Flow"
Prompt message sequence with role and content fields
Current version description
Example:
"Greeting flow for new sign-ups"
Custom LLM configuration JSON
Example: