cURL
curl --request GET \ --url https://api.qualifire.ai/api/v1/studio/prompts/{promptId} \ --header 'X-Qualifire-API-Key: <api-key>'
{ "id": "<string>", "name": "<string>", "description": "<string>", "created_at": "<string>", "revision": 123, "messages": [ { "role": "<string>", "content": "<string>" } ], "tools": [ { "type": "<string>", "function": { "name": "<string>", "description": "<string>", "parameters": {} } } ], "parameters": { "model": "<string>", "temperature": 123, "top_p": 123, "frequency_penalty": 123, "presence_penalty": 123, "max_tokens": 123, "reasoning_effort": "<string>" } }
Retrieves a prompt with its messages and parameters. Supports lookup by prompt ID (cuid) or textId (deprecated).
Prompt ID (cuid) or textId (deprecated)
Revision ID (cuid) - preferred method
Revision number (deprecated, use revision instead)
OK
Show child attributes