v3

latestOpenAPI 3.0.3Apache-2.02026-08-08119359592.5 KB
Prompts

List prompt versions

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

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

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