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.

patch/v1/projects/{project_id}/agent-analytics/evaluators/{evaluator_stable_id}

Authorizations

Authorizationstringrequired

http

Path parameters

project_idstringrequired

Amplitude project identifier, backed by the canonical app ID.

Example:12345
Constraints:pattern: ^[0-9]+$
evaluator_stable_idstringrequired

Evaluator identifier that survives updates. Prefer this over a version identifier, which changes each time the evaluator is updated.

Header parameters

Idempotency-Keystringrequired

Unique idempotency key used to safely retry write operations.

Constraints:min length: 8max length: 255

Body

application/json
topicstring
Constraints:min length: 1max length: 255
descriptionstring
Constraints:min length: 1
tagsobject[]

Replaces the full tag set when present.

Show child attributes
idstringrequired
labelstringrequired

Value stored on a result for this tag, such as RESP_DATA_RESPONSE_MISMATCH.

descriptionstringrequired
suite_idstring
Constraints:nullable

Response

application/json
200· New inactive evaluator version.
dataobjectrequired
Show child attributes
idstringrequired

Identifier for this evaluator version. Changes when the evaluator is updated.

objectstringrequired
project_idstringrequired
stable_idstringrequired

Identifier that survives updates. Use this to address an evaluator across versions.

topicstringrequired

Human-readable evaluator name. Called topic to match the field already returned by the Agent Analytics read surface.

Constraints:min length: 1
output_typestringrequired
Allowed values:binarycategoricalscore
descriptionstringrequired

Evaluator prompt or rubric.

suite_idstring
Constraints:nullable
suite_namestring
Constraints:nullable
tagsobject[]required

Permitted output values. Required for binary and categorical evaluators; constrains what a result may record.

idstringrequired
labelstringrequired

Value stored on a result for this tag, such as RESP_DATA_RESPONSE_MISMATCH.

descriptionstringrequired
is_activebooleanrequired

Read-only. Evaluators created or updated through this API are inactive. Activation is a separate permission and is not exposed here.

これは役に立ちましたか?