GET
/
api
/
config
/
pii
/
tracing-allow-list
curl --request GET \
  --url https://app.traceloop.com/api/config/pii/tracing-allow-list \
  --header 'Authorization: Bearer <token>'
{
  "associationPropertyAllowList": "<any>"
}

By default, all prompts and responses are logged. If you’ve disabled this behavior by following this guide, and then selectively enabled it for some of your users then you can use this API to view which users you’ve enabled.

Response

associationPropertyAllowList
JSON

The list of users that are allowed to be logged. Listed using their association properties.

{
  "associationPropertyAllowList": [
    {
      "userId": "123"
    },
    {
      "userId": "456",
      "chatId": "abc"
    }
  ]
}