For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Update an Agent Analytics evaluator
Updates an evaluator addressed by its stable identifier. Absent fields are
unchanged. Each update creates a new inactive version; the response id is
that new version, and stable_id is unchanged.
Updating does not activate. An evaluator already active in the UI keeps
serving its current active version until the new one is promoted there.
/v1/projects/{project_id}/agent-analytics/evaluators/{evaluator_stable_id}Authorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$evaluator_stable_idstringrequiredEvaluator identifier that survives updates. Prefer this over a version identifier, which changes each time the evaluator is updated.
Header parameters
Idempotency-KeystringrequiredUnique idempotency key used to safely retry write operations.
min length: 8max length: 255Body
application/jsontopicstringmin length: 1max length: 255descriptionstringmin length: 1tagsobject[]Replaces the full tag set when present.
Show child attributes
idstringrequiredlabelstringrequiredValue stored on a result for this tag, such as RESP_DATA_RESPONSE_MISMATCH.
descriptionstringrequiredsuite_idstringnullableResponse
application/jsondataobjectrequiredShow child attributes
idstringrequiredIdentifier for this evaluator version. Changes when the evaluator is updated.
objectstringrequiredproject_idstringrequiredstable_idstringrequiredIdentifier that survives updates. Use this to address an evaluator across versions.
topicstringrequiredHuman-readable evaluator name. Called topic to match the field already
returned by the Agent Analytics read surface.
min length: 1output_typestringrequiredbinarycategoricalscoredescriptionstringrequiredEvaluator prompt or rubric.
suite_idstringnullablesuite_namestringnullabletagsobject[]requiredPermitted output values. Required for binary and categorical
evaluators; constrains what a result may record.
idstringrequiredlabelstringrequiredValue stored on a result for this tag, such as RESP_DATA_RESPONSE_MISMATCH.
descriptionstringrequiredis_activebooleanrequiredRead-only. Evaluators created or updated through this API are inactive. Activation is a separate permission and is not exposed here.
Was this helpful?