POST
/
logs
/
update-tags
curl --request POST \
  --url https://app.openpipe.ai/api/v1/logs/update-tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filters": [
    {
      "field": "<string>",
      "equals": "<string>"
    }
  ],
  "tags": {}
}'
{
  "matchedLogs": 123
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
filters
object[]
required
tags
object
required

Extra tags to attach to the call for filtering. Eg { "userId": "123", "promptId": "populate-title" }

Response

200 - application/json
matchedLogs
number
required