v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
prompts

Retrieve Prompt

Unified view for single prompt operations (retrieve/update/delete). Supports both JWT (dashboard) and API key (public API) authentication.

Superadmin: Can READ any prompt across all organizations via JWT. Can WRITE across organizations via JWT with an active staff_write:prompts (or broad staff_write) scope. Regular users: Can only access prompts in their organization.

JWT auth uses pk lookup, API key auth uses prompt_id (partial match).

get/api/prompts/{prompt_id}/

Path parameters

prompt_idstring required

Headers

Authorizationstring required

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Response

idstring required
full_prompt_idstring required
created_byinteger required
projectstring nullable
namestring
descriptionstring
prompt_idstring
prompt_slugstring nullable
commit_countinteger required
starredboolean
deleted_atstring date-time nullable
organizationinteger required