Get a prompt
Changed onGet 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>
Request
- Base URLhttps://api.arize.com
- URLhttps://api.arize.com/v2/prompts/{prompt_id}
- AuthHTTP bearer
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
- info
added the optional property
///////to the response with the status
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
prompts_getremoved and replaced withget_prompt - info
added
subschema #2to the response bodyallOflist for the response status - info
removed the non-success response with the status
- breaking