Get a prompt
Get a specific prompt by its ID. The response always includes a resolved version. By default, the latest version is returned. Use the version_id or label query parameter to resolve a specific version instead. You cannot supply both version_id and label.
<Note>This endpoint is in beta, read more here.</Note>
Path parameters
A universally unique identifier (base64-encoded opaque string).
The unique prompt identifier (base64)
Query parameters
A universally unique identifier (base64-encoded opaque string).
Return the prompt with this specific version (base64 identifier (base64)). Mutually exclusive with label.
Return the prompt with the version pointed to by this label (e.g., "production"). Mutually exclusive with version_id.
Response
A prompt object with a resolved version
Changes
Changed in 1 of the 19 revisions of this API.1
- ○
added the optional property
///////to the response with the statusresponse-optional-property-added
- ○
Of the 19 revisions, 1 has no diff computed.