Update Eval Agent Version
Versions
Update Eval Agent Version
Edit a draft version’s prompt, levels, targets, or weight.
PATCH
Update Eval Agent Version
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Path Parameters
The unique identifier of the eval agent.
The unique identifier of the version to update. Must be in the
editable state.Body Parameters
Updated display name for this version. Between 1 and 200 characters.
Updated description, or
null to clear it.The modality for this version. One of
text or audio.Updated system prompt for the judge LLM, in Markdown. Maximum 8000 characters.
Updated grading prompt for the judge LLM, in Markdown. Maximum 8000 characters.
Verdict levels for graded mode. Pass an empty array for pass/fail mode. Maximum 5 levels. Each level object requires:
level_key(string, 1-64 characters): unique key within this version.label(string, 1-80 characters): display label shown in results.prompt_md(string): description used in the grading prompt.color(string, optional): one ofrose,amber,gold,emerald,blue,indigo,violet,fog.
Which level keys count as a target match. Must be empty for pass/fail agents. Every key listed must match a defined level.
Relative weight of this agent in aggregate scoring. Between 0 and 100.
Response
Unique identifier for this version.
ID of the organization that owns this version.
ID of the parent eval agent.
Sequential version number.
Name of this version.
Description of this version, or
null.State of this version. One of
editable or archived.One of
text or audio.The system prompt for the judge LLM, in Markdown.
The grading prompt for the judge LLM, in Markdown.
Updated verdict levels. Each level contains
level_key, label, prompt_md, and optionally color.Updated target level keys.
Updated weight. Between 0 and 100.
ID of the version this was forked from, or
null.Identifier of the user who created this version, or
null.ISO 8601 timestamp for when this version was created.
ISO 8601 timestamp for when this version was last updated.