> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Return the Custom Metric verdict records added to the export in a window

GET https://example.ada.support/api/v2/export/custom-metric-verdicts

Returns one record for each state of a conversation and metric that Ada added to the export in `[updated_since, updated_to)`. Follow `meta.next_page_uri` until it is null, then save `meta.next_poll_uri` for the next run. This endpoint is in limited availability. If it is not enabled for your AI Agent, the response is a 403.

Reference: https://docs.ada.cx/data-export-custom-metric-verdicts/get-custom-metric-verdicts

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `updated_since` (string, optional) — Return records with a `record_last_updated` at or after this time. Required unless `cursor` is sent.
- `updated_to` (string, optional) — Without `reconcile`, return records with a `record_last_updated` before this time, and lower a later value to the export bound. With `reconcile`, a record can have a later `record_last_updated`, and a value past the export bound gives a 400. The default is the export bound.
- `reconcile` (boolean, optional, default: false) — With `true`, return the current record of every conversation and metric that has a record in the window. Needs `updated_to`. The window is at most 24 hours and ends at or before the export bound.
- `page_size` (integer, optional, default: 10000) — Number of records to return in a page. The maximum and default is 10000, the minimum is 100.
- `cursor` (string, optional) — The position of the next page. Only `meta.next_page_uri` sets it. It cannot be used with any other parameter.

## Response

### 200

The request was successfully processed

- `data` (list of CustomMetricVerdict, required)
- `meta` (CustomMetricVerdictsResponseMeta, required)

## Errors

### 400 Bad Request Error

Invalid request

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 401 Unauthorized Error

Unauthorized

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 403 Forbidden Error

The export of Custom Metric verdicts is not turned on for this AI Agent

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 404 Not Found Error

The AI Agent does not have Custom Metrics

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 429 Too Many Requests Error

Too Many Requests

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 500 Internal Server Error

Internal Server Error

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

### 503 Service Unavailable Error

A store that the answer needs could not be read in time

- `errors` (list of ErrorsErrorsItems, required) — A list of errors

## Types

### CustomMetricVerdict

- `conversation_id` (string, required) — The `_id` of the conversation record
- `metric_id` (string, required) — The `metric_id` of the metric in `/v2/export/custom-metrics`
- `is_removed` (boolean, required) — True when Ada no longer returns a verdict for this conversation and metric. Then every field is null except `conversation_id`, `metric_id`, `is_removed` and `record_last_updated`.
- `verdict` (string, required, nullable) — One of `pass`, `fail`, `not_applicable`, `undecided` and `unjudged`. New values can be added.
- `reasoning` (string, required, nullable) — The reason the judge gave, with private data hidden. Null for `unjudged`.
- `metric_version` (integer, required, nullable) — The version of the metric text that gave this verdict
- `judge_version` (integer, required, nullable) — The version of Ada's judge
- `evaluated_at` (string, required, nullable) — The time of the conversation snapshot the judge read
- `scored_at` (string, required, nullable) — When the judge wrote this verdict
- `is_final` (boolean, required, nullable) — True when Ada recorded that the conversation had ended when the judge read it, false when it was open, null when Ada cannot establish it
- `record_last_updated` (string, required) — When Ada added this state of the conversation and metric to the export. A newer state always has a greater value.

### CustomMetricVerdictsResponseMeta

- `next_page_uri` (string, required, nullable) — The next page of this crawl. Only null ends the crawl.
- `updated_to` (string, required) — The end of the window of this crawl
- `next_poll_uri` (string, required, nullable) — The first page of the next crawl. Set on the last page of a crawl without `reconcile`.

### ErrorsErrorsItems

- `type` (string, required) — The error type
- `message` (string, required) — The error message
- `details` (string, optional, nullable) — Extra information about the error

## Examples

**Response**

```json
{
  "data": [
    {
      "conversation_id": "6739a1f2c4e5d60012ab34cd",
      "metric_id": "671f0c2e9b1d4a0011223344",
      "is_removed": false,
      "verdict": "fail",
      "reasoning": "The AI Agent asked for the order number again after the end user gave it.",
      "metric_version": 3,
      "judge_version": 2,
      "evaluated_at": "2026-11-17T09:04:00Z",
      "scored_at": "2026-11-17T09:14:07Z",
      "is_final": false,
      "record_last_updated": "2026-11-17T09:15:02.118Z"
    }
  ],
  "meta": {
    "next_page_uri": "https://example.ada.support/api/v2/export/custom-metric-verdicts?cursor=eyJzaW5jZSI6IDE3OTQ5MDYwMDAwMDAsICJ0byI6IDE3OTQ5MTMwODIwMDQsICJyZWNvbmNpbGUiOiBmYWxzZSwgInBhZ2Vfc2l6ZSI6IDEwMDAwLCAicGFnZV9zaXplX3NlbnQiOiBmYWxzZSwgImFmdGVyIjogWzE3OTQ5MDY5MDIxMTgsICI2NzM5YTFmMmM0ZTVkNjAwMTJhYjM0Y2QiLCAiNjcxZjBjMmU5YjFkNGEwMDExMjIzMzQ0Il19",
    "updated_to": "2026-11-17T10:58:02.004Z",
    "next_poll_uri": "https://example.ada.support/api/v2/export/custom-metric-verdicts?updated_since=2026-11-17T10%3A58%3A02.004Z"
  }
}
```

**SDK Code**

```python
import requests

url = "https://example.ada.support/api/v2/export/custom-metric-verdicts"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://example.ada.support/api/v2/export/custom-metric-verdicts';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://example.ada.support/api/v2/export/custom-metric-verdicts"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://example.ada.support/api/v2/export/custom-metric-verdicts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://example.ada.support/api/v2/export/custom-metric-verdicts")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://example.ada.support/api/v2/export/custom-metric-verdicts', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://example.ada.support/api/v2/export/custom-metric-verdicts");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://example.ada.support/api/v2/export/custom-metric-verdicts")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```