Retrieve

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).

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

prompt_idstringRequired

Response

idstringRead-only
current_versionobject
full_prompt_idstringRead-only
created_byintegerRead-only
tagslist of objectsRead-only
prompt_versionslist of objectsRead-only
live_versionobject
commit_countintegerRead-only
organizationinteger
projectstring or null
namestring<=100 characters
descriptionstring
prompt_idstring<=70 characters
prompt_slugstring or null<=100 characters
starredboolean
deleted_atdatetime or null