prompt-templates
snippets
Get Snippet Usage
get/prompt-templates/{identifier}/snippet-usage
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.
Path parameters
identifierstring required
The identifier can be either the prompt name or the prompt id.
Query parameters
prompt_version_numberinteger
Optional specific version number to check usage for
Response
Successful Response
Changes
No recorded changes to this operation across all 3 revisions of this API.