Prompts

List prompt versions

Changed on

List all versions of a prompt, sorted by creation date with the most recently created versions first.

<Note>This endpoint is in beta, read more here.</Note>

get/v2/prompts/{prompt_id}/versions

Request

  • Base URL
    https://api.arize.com
  • Auth
    HTTP bearer

Path parameters

prompt_idstring required

A universally unique identifier (base64-encoded opaque string).

Example:RW50aXR5OjEyMzQ1

The unique prompt identifier (base64)

Query parameters

limitinteger

Maximum items to return. Defaults to 50 if omitted; maximum is 100.

cursorstring

Opaque pagination cursor returned from a previous response (pagination.next_cursor). Treat it as an unreadable token; do not attempt to parse or construct it.

Response

Returns a list of prompt version objects

Changes

    • info

      added the optional property /////// to the response with the status

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from object to no type for status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new ANTHROPIC enum value to the // response property for the response status

    • warning

      added the new ASSISTANT enum value to the //// response property for the response status

    • warning

      added the new AWS_BEDROCK enum value to the // response property for the response status

    • warning

      added the new AZURE_OPEN_AI enum value to the // response property for the response status

    • warning

      added the new CUSTOM enum value to the // response property for the response status

    • warning

      added the new FUNCTION enum value to the ////// response property for the response status

    • warning

      added the new F_STRING enum value to the // response property for the response status

    • warning

      added the new MUSTACHE enum value to the // response property for the response status

    • warning

      added the new NONE enum value to the // response property for the response status

    • warning

      added the new OPEN_AI enum value to the // response property for the response status

    • warning

      added the new SYSTEM enum value to the //// response property for the response status

    • warning

      added the new TOOL enum value to the //// response property for the response status

    • warning

      added the new USER enum value to the //// response property for the response status

    • warning

      added the new VERTEX_AI enum value to the // response property for the response status

    • info

      api operation id prompt_versions_list removed and replaced with list_prompt_versions

    • info

      added to the // response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      removed the assistant enum value from the //// response property for the response status

    • info

      removed the awsBedrock enum value from the // response property for the response status

    • info

      removed the azureOpenAI enum value from the // response property for the response status

    • info

      removed the custom enum value from the // response property for the response status

    • info

      removed the f_string enum value from the // response property for the response status

    • info

      removed the function enum value from the ////// response property for the response status

    • info

      removed the mustache enum value from the // response property for the response status

    • info

      removed the none enum value from the // response property for the response status

    • info

      removed the openAI enum value from the // response property for the response status

    • info

      removed the system enum value from the //// response property for the response status

    • info

      removed the tool enum value from the //// response property for the response status

    • info

      removed the user enum value from the //// response property for the response status

    • info

      removed the vertexAI enum value from the // response property for the response status