Prompts
Get prompt by id
Changed onGet prompt by id; when mask_id or environment is provided, requestedVersion is populated with the resolved version. mask_id and environment are mutually exclusive.
get/v1/private/prompts/{id}
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/prompts/{id}
- Authnone declared
Path parameters
idstring uuid required
Query parameters
mask_idstring uuid
Optional mask version id; when set, requestedVersion is the mask row for that id
environmentstring
Optional environment name; when set, requestedVersion is the version mapped to that environment for the prompt
Response
Prompt resource
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning