---
title: "Get Csr Evaluations"
method: GET
path: "/call-analysis/csr-evaluations"
tags: ["call-analysis"]
---

# Get Csr Evaluations

`GET /call-analysis/csr-evaluations`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/call-analysis/csr-evaluations`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Query parameters

- `started_at` string, date-time, required
- `ended_at` string, date-time, required
- `direction` 'inbound' | 'outbound': Which calls the tab reads. Its own enum rather than the ServiceTitan model's, so the public query vocabulary does not move when that mirror does.

## Headers

- `organization-id` string, nullable
- `x-user-id` string, nullable
- `timezone` string
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Response `200`

Successful Response

- CsrEvaluationsResponse
  - `started_at` string, date-time, required
  - `ended_at` string, date-time, required
  - `direction` 'inbound' | 'outbound', required: Which calls the tab reads. Its own enum rather than the ServiceTitan model's, so the public query vocabulary does not move when that mirror does.
  - `definitions` CsrEvaluationDefinition[], required
    - `definition_id` string, required
    - `key` string, required
    - `label` string, required
    - `value_type` 'boolean' | 'string' | 'integer' | 'float', required
    - `allowed_values` unknown[], nullable, required
      - unknown
    - `success_values` unknown[], nullable, required
      - unknown
    - `items` CsrEvaluationResult[], required
      - `csr_id` string, nullable, required
      - `evaluated_calls` integer, required
      - `overridden_calls` integer, required
      - `success_calls` integer, nullable, required
      - `value_counts` CsrEvaluationValueCount[], nullable, required
        - `value` unknown, required
        - `count` integer, required
      - `numeric_summary` CsrEvaluationNumericSummary, required
        - `value_count` integer, required
        - `sum` string, nullable, required
        - `minimum` string, nullable, required
        - `maximum` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
