Get Prompt
Get a prompt by workspace and name.
Path parameters
workspace
name
Response
Return prompt details
name
Name of the entity. Name/workspace combo must be unique across all entities. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.
workspace
The workspace of the entity. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.
created_at
The timestamp of model entity creation
updated_at
The timestamp of the last model entity update
id
Unique identifier for the prompt.
project
The URN of the project associated with this entity.
description
Optional description of the prompt.
messages
Ordered list of chat messages that make up the prompt.
input_variables
Names of the Jinja2 template variables the prompt expects.
tools
Optional OpenAI-compatible tool definitions to send with the prompt.
tool_choice
Controls which (if any) tool is called: ‘none’, ‘auto’, ‘required’, or a named-tool object.
response_format
Optional OpenAI-compatible response_format, e.g. a json_schema structured-output spec.
inference_params
Optional default model and sampling parameters (temperature, top_p, max_tokens, …).
Errors
422
Unprocessable Entity Error