v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2193427579.9 KB
Prompts

List prompt versions.

List all versions of a specific prompt.

get/v1/prompts/{prompt_id}/versions

Path parameters

prompt_idstring required

The identifier of the prompt to list versions for.

The identifier of the prompt to list versions for.

Response

A ListPromptsResponse containing all versions of the prompt.