Method Signature
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt_id | str | Yes | The unique identifier of the prompt |
page | int | No | Page number for pagination |
page_size | int | No | Number of versions per page |
Examples
Basic Usage
With Pagination
Asynchronous Usage
Error Handling
Response Structure
ThePromptVersionListResponse includes:
results: List of PromptVersion objectscount: Total number of versionsnext: URL for next page (if available)previous: URL for previous page (if available)