Reference
Track Prompt
POST
Associate a prompt template with a request.
Example Code
Body
application/json
Your PromptLayer API Key.
Minimum length:
1
The name of the prompt template.
Minimum length:
1
The unique identifier for the request.
The label of the prompt template version. Both version and label cannot be specified. Only one or none.
Required string length:
1 - 512
Input variables for the prompt template.
The version of the prompt template. Both version and label cannot be specified. Only one or none.
Was this page helpful?