Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.promptlayer.com/rest/track-metadata \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "request_id": 12345, "metadata": { "session_id": "abc123", "user_id": "user123" } } '
{ "success": true, "message": "Metadata tracked successfully" }
Metadata tracking payload.
PromptLayer request ID to update.
Metadata dictionary to associate with the request.
Metadata saved.
Was this page helpful?