List agent feedback
curl --request GET \
--url https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": [
{
"feedback_id": "0b1e4c2a-7f3d-4e8b-9a1c-5d6e7f8a9b0c",
"message_id": "msg_123",
"agent_run_id": "run_456",
"root_agent_run_id": "run_456",
"workflow_id": null,
"rating": "negative",
"qualitative_comment": "Missed the second question.",
"emitted_at_ms": 1759600000000,
"inserted_at_ms": 1759600012345,
"user_id": "u_789",
"team_id": "t_12",
"thread_id": "th_345",
"session_id": null,
"request_id": "req_678",
"action_id": null,
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"source_service": "writer-agent"
}
],
"pagination": {
"limit": 100,
"has_more": false,
"next_cursor": null
}
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}Observability API
List agent feedback
Read thumbs-up and thumbs-down ratings on agent messages, including optional comments. Uses the same authentication, cursor, rate limit, and errors as the logs export. The response is always native JSON.
GET
/
api
/
observability
/
v1
/
organization
/
{organizationId}
/
agent-feedback
/
export
List agent feedback
curl --request GET \
--url https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.writer.com/api/observability/v1/organization/{organizationId}/agent-feedback/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"result": [
{
"feedback_id": "0b1e4c2a-7f3d-4e8b-9a1c-5d6e7f8a9b0c",
"message_id": "msg_123",
"agent_run_id": "run_456",
"root_agent_run_id": "run_456",
"workflow_id": null,
"rating": "negative",
"qualitative_comment": "Missed the second question.",
"emitted_at_ms": 1759600000000,
"inserted_at_ms": 1759600012345,
"user_id": "u_789",
"team_id": "t_12",
"thread_id": "th_345",
"session_id": null,
"request_id": "req_678",
"action_id": null,
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"source_service": "writer-agent"
}
],
"pagination": {
"limit": 100,
"has_more": false,
"next_cursor": null
}
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}{
"code": "VALIDATION_ERROR",
"detail": "<string>"
}Each API key can export logs only for its own organization. See Export logs for start points, cursor handling, delivery guarantees, and polling examples.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key. Each key can export logs only for its own organization.
Query Parameters
Was this page helpful?