Reference
Track Metadata
POST
/
rest
/
track-metadata
Associate a metadata dictionary with a request. This can be used for things like session_ids, user_ids, location, etc.
Example Code
Body
application/json
api_key
string
requiredYour PromptLayer API Key.
request_id
integer
requiredThe unique identifier for the request to which the metadata is associated.
metadata
object
requiredA dictionary of metadata items to associate with the request. Can include session_ids, user_ids, location, etc.
Response
200 - application/json
success
boolean
requiredmessage
string
requiredWas this page helpful?