cURL
curl --request GET \ --url https://api.example.com/api/v2/projects/{project_id}/prompt-templates \ --header 'Content-Type: application/json' \ --data '{}'
{ "data": [ { "id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06", "name": "My Dataset", "latest_template_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "pagination": { "page": 123, "page_size": 123, "has_next": true } }
List Projects - List Projects
The body is of type EmptyRequest · object.
EmptyRequest · object
PromptTemplateListResponse(data: list[server.api_routes.prompt_templates_api_v2.PromptTemplateInfo], pagination: server.api_routes.api_v2_common.PaginationInfo)
Show child attributes
Pagination metadata for list responses