Get a paginated list of all prompt templates in your workspace. Results are ordered by creation date, newest first. Each returned prompt template includes the latest version by default. When filtering byDocumentation Index
Fetch the complete documentation index at: https://docs.promptlayer.com/llms.txt
Use this file to discover all available pages before exploring further.
label, the version associated with that label is returned instead.
1)30)prod, dev, staging). Returns the version associated with that label for each matching template.external_ids array with the mappings attached to that prompt template. See External IDs.
status parameter to control which prompt templates are returned based on their deletion status:
active (default): Returns only active prompt templatesdeleted: Returns only deleted/archived prompt templatesall: Returns both active and deleted prompt templatesX-API-KEY header.Filter prompt templates by release label (e.g., 'prod', 'dev', 'staging')
Filter prompt templates by name (case-insensitive partial match)
Filter prompt templates by tags. Can be a single tag or a list of tags. Only templates whose tags contain all specified values are returned.
Filter prompt templates by status: 'active' (default) returns only active templates, 'deleted' returns only deleted/archived templates, 'all' returns both
active, deleted, all External ID source to filter by. Must be provided with external_id.
External ID value to filter by. Must be provided with external_source.