cURL
curl --request POST \ --url https://api.openpipe.ai/api/v1/logs/update-metadata \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filters": [ { "field": "<string>", "equals": "<string>" } ], "metadata": {} } '
{ "matchedLogs": 123 }
Update tags metadata for logged calls matching the provided filters.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
The field to filter on. Possible fields include: model, completionId, and metadata.your_tag_name.
model
completionId
metadata.your_tag_name
Extra metadata to attach to the call for filtering. Eg { "userId": "123", "prompt_id": "populate-title" }
Successful response