Get All
Request
- Base URLhttps://docs.promptlayer.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
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
External ID source to filter by. Must be provided with external_id.
External ID value to filter by. Must be provided with external_source.
Filter by the creator's email address.
Filter resources created at or after this timestamp.
Filter resources created at or before this timestamp.
Filter resources updated at or after this timestamp.
Filter resources updated at or before this timestamp.
Sort field.
Sort direction.
When true, return snippets only. When false, exclude snippets. When omitted, return both prompts and snippets.
Response
Successful Response
Changes
No recorded changes to this operation across all 3 revisions of this API.