Get a prompt
Fetch a prompt by name. Without version or label the latest version is returned. The response includes resolvedPrompt with prompt dependencies inlined.
Authorizations
Project API key. Manage keys in the Zespan dashboard under project settings.
Path Parameters
Prompt name.
Query Parameters
Fetch a specific version.
x >= 1Fetch the version currently carrying this label (e.g. production).
Project id. Optional and ignored when authenticating with an API key, since the key already scopes the request to one project.
Response
The resolved prompt.
A single prompt version.
"support-reply"
3
text, chat Prompt content — a string for text prompts, or an array of chat messages.
Prompt content with dependencies inlined (present on single-prompt fetch).

