Skip to main content
POST
Publish Eval Agent

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The unique identifier of the eval agent to publish.
Publishing validates the draft before snapshotting it. A graded agent must have between 2 and 5 levels, and every key in target_level_keys must match a defined level. A pass/fail agent must have 0 levels and no target level keys set.

Response

string
ID of the eval agent that was published.
string
ID of the new editable draft created after publishing.
string
ID of the newly published (archived) version.
object
Summary of the version that was published.
string
Unique identifier of the published version.
string
ID of the parent eval agent.
integer
Sequential version number of the published version.
string
Name of the published version.
string
Always "archived" for a published version.
string | null
Identifier of the user who created this version, or null.
string
ISO 8601 timestamp for when this version was created.
object | null
Summary of the most recent run against this version, or null if no runs exist.