Skip to main content
POST
Export evaluation history

Authorizations

Authorization
string
header
required

An organization API key. Keys carry a role (read_write or read_only) and may be restricted to a namespace prefix such as acme/*, or to one namespace such as acme/prod/tenant_1. A prefix matches on a / boundary: acme/prod/tenant_1* covers acme/prod/tenant_1 and everything under acme/prod/tenant_1/, never acme/prod/tenant_12.

Headers

Idempotency-Key
string

Returns the original response verbatim while the node still caches it. Correctness never depends on it.

Minimum string length: 1

Path Parameters

ns
string
required

The namespace name, with any / sent as %2F. Up to 256 bytes. / separates levels of the hierarchy, as in acme/prod/tenant_123.

Required string length: 1 - 256
Pattern: ^[A-Za-z0-9._:/-]+$

Body

application/json

What an evaluation export covers. Every field is optional; {} exports every judgment's last 30 days.

since
string<date-time>

The earliest created_at exported, inclusive. Defaults to 30 days before until.

until
string<date-time>

The end of the range, exclusive. Defaults to now; a later time is taken as now. At most 366 days after since.

judgments
string[]

Only these judgments. Leave it out for every judgment the namespace has evaluations of.

Minimum array length: 1

A judgment, attribute or threshold name. Names are path segments in field references, so they never contain ..

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$

Response

The export job started.

job_id
string
required