authed

List tests

An agent's tests, newest first, each with its status and how many checks it makes. A full page means more may follow; pass the last item's created_at and id.

get/api/v1/agents/{agent_id}/eval-cases

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/agents/{agent_id}/eval-cases
  • Auth
    none declared

Path parameters

agent_idstring uuid required

The agent whose tests to list.

Query parameters

conversation_idstring uuid nullable

Only the tests made from this conversation.

before_created_atstring date-time nullable

With before_id: the last row of the previous page's created_at, to read the next page.

before_idstring uuid nullable

With the sort cursor: the last row of the previous page's id.

limitinteger

The most tests to return.

Response

Successful Response

idstring uuid required

The test's id.

agent_idstring uuid required

The agent the test belongs to.

conversation_idstring uuid required

The conversation the test came from.

conversation_titlestring required

That conversation's title.

titlestring required

The test's title; empty until it is written.

status'authoring' | 'authored' | 'admitting' | 'repairing' | 'ready' | 'broken' | 'refused' | 'failed' required
status_reasonstring nullable required

A sentence saying why the test is where it is, when there's more to say.

status_retryableboolean required

Whether writing the test can be tried again.

assertion_countinteger required

How many checks the test's latest version makes.

version_numberinteger nullable required

The test's latest version; null until it is written.

created_by_user_idstring uuid nullable required

The member who added it.

created_atstring date-time required

When it was added.

updated_atstring date-time required

When it last changed.

Changes

No recorded changes to this operation across all 1 revision of this API.