Request Tags
Request Tags are free form, custom strings that can be included in request API calls for later reference and data correlation. Request Tags can be used to associate your AI costs with specific scenarios, use cases, steps in an Experience, or any other custom string you need in your product.
When sending requests, you can specify any number of Request Tags using the optional header xProxy-Request-Tags
, with a comma-separated list.
Request Tags may contain alphanumeric and underscore characters.
For example, let’s imagine you are making calls to several Resources to summarize documents across different users over time. By tagging all of these requests, Pay-i will associate the costs of these calls to that scenario, and will give you controls to view and pivot the data accordingly on the Pay-i dashboard.
If you would like to understand the cost of a specific sequence of AI requests, see Experiences.
Related APIs
Updated 3 months ago