Reference
Track Prompt
POST
/
rest
/
track-prompt
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.
Input variables for the prompt template.
The version of the prompt template. Both version and label cannot be specified. Only one or none.
The label of the prompt template version. Both version and label cannot be specified. Only one or none.
Required string length:
1 - 512
Was this page helpful?