Skip to main content

Retrieve feedback and traces from Assistant

The Assistant stores traces in its database, which typically include input and output data from executed tasks. Users can provide feedback through the UI, which is then linked to the corresponding traces, enabling further analysis and improvement.

info

Feedback and traces can only be retrieved by an Assistant user that has Admin permissions.

Retrieving feedback

Feedback can be retrieved per application endpoint. To get an overview over all available feedback endpoints go to https://assistant.<your.pharia-ai.domain.com>/api/docs

The feedback can then be retrieved via

curl https://assistant.<your.pharia-ai.domain.com>/api/<application>/feedback -H 'Authorization: Bearer <token>'

Retrieving traces

Each user feedback is tied to one or more traces via its trace_id. You can retrieve the corresponding traces via the traces endpoint

curl https://assistant.<your.pharia-ai.domain.com>/api/traces/<trace_id> -H 'Authorization: Bearer <token>'