Skip to Content
Eval checks

List eval checks

Permissioneval-checks:readAuthentication
GET
/eval-checks

Returns a page ordered by last edit, newest first, with cursors bound to q, kind, the creation and update bounds, and the archived filter. Config bodies are omitted from list items; fetch one check to read its config.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Query Parameters

cursor?string

Opaque pagination cursor from a previous response's next_cursor.

limit?integer

Number of catalog resources to return. The server fetches one extra row internally to produce next_cursor.

Range1 <= value <= 200
Default50
q?string

Case-insensitive literal substring search across slug, name, and description. The supplied and trimmed values must each contain 1–200 Unicode characters; blank values and every Unicode control character are rejected. Percent, underscore, and backslash are literal characters, not LIKE syntax.

Length1 <= length <= 200
created_from?string

Inclusive created_at lower bound as RFC3339 or YYYY-MM-DD (midnight UTC).

created_to?string

Exclusive created_at upper bound as RFC3339 or YYYY-MM-DD (midnight UTC). Must be after created_from.

archived?string

Whether archived resources are excluded, included alongside active resources, or returned exclusively.

Default"exclude"
Value in"exclude""include""only"
kind?string

Return only judge, tool or flow checks.

Value in"judge""tool""flow"
updated_from?string

Only checks last edited at or after this instant. RFC3339 or YYYY-MM-DD.

updated_to?string

Only checks last edited before this instant. RFC3339 or YYYY-MM-DD.

Response Body

Eval check page.

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://api.kejue.co/v1/eval-checks'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "name": "string",      "description": "string",      "kind": "judge",      "source_template_key": "string",      "archived_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}