authed

Retry writing a test

Changed on

Starts writing a test again after it failed for a reason that can pass, such as a spending cap or a passing fault.

post/api/v1/eval-cases/{case_id}/authoring

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/eval-cases/{case_id}/authoring
  • Auth
    none declared

Path parameters

case_idstring uuid required

The test's id, as list_tests returns it.

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