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.
Create an Agent Analytics evaluator
Creates an evaluator in the inactive state. Activation is a separate
permission and is not exposed by this API — activate in the Agent Analytics
UI once the evaluator has been reviewed.
tags constrains what a result may record. Supplying them for a binary orcategorical evaluator is what keeps results to a known set of values
rather than free-form model output.
Listing and reading evaluators is served by the Agent Analytics MCP read
surface, not by this API.
/v1/projects/{project_id}/agent-analytics/evaluatorsAuthorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$Header parameters
Idempotency-KeystringrequiredUnique idempotency key used to safely retry write operations.
min length: 8max length: 255Body
application/jsontopicstringrequiredHuman-readable evaluator name.
min length: 1max length: 255output_typestringrequiredbinarycategoricalscoredescriptionstringrequiredEvaluator prompt or rubric.
min length: 1tagsobject[]Required for binary and categorical evaluators.
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?