prompts

List prompt versions

Changed on

Retrieve all versions of a specific prompt with pagination support. Each prompt can have multiple versions with different configurations.

get/v1/prompts/{prompt_identifier}/versions

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

prompt_identifierstring required

The identifier of the prompt, i.e. name or ID.

Query parameters

cursorstring nullable

Cursor for pagination (base64-encoded promptVersion ID)

limitinteger

The max number of prompt versions to return at a time.

Response

A list of prompt versions with pagination information

next_cursorstring nullable required

Changes

    • info

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

    • breaking

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

    • warning

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

    • info

      added meta discriminator mapping keys to the // response property for the response status