v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01105276529.8 KB
prompts

List prompt versions

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

Path parameters

prompt_identifierstring required

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

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

Query parameters

cursorstring nullable

Cursor for pagination (base64-encoded promptVersion ID)

Cursor for pagination (base64-encoded promptVersion ID)

limitinteger

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

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

Response

A list of prompt versions with pagination information

next_cursorstring nullable required