Hanzo
OpenapiO11y

Changes a review queue's name, description or score-config set.

Changes a review queue's name, description or score-config set. A field the request omits is left alone.

PATCH /v1/o11y/reviews/{id}

Addresshttps://api.hanzo.ai/v1/o11y/reviews/{id}
MethodPATCH
Operationpatch_o11y_reviews_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Changes a review queue's name, description or score-config set. A field the request omits is left alone. A name another queue in the same project already uses is a 409; a queue id belonging to another org is a 404.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the annotation queue to update, from the path.
descriptionbodystringDescription replaces the free text when present, up to 512 characters.
idbodystringID is the annotation queue to update, from the path.
namebodystringName replaces the queue's display handle when present, 1–128 printable characters and unique within the project.
scoreConfigIdsbodystring[]ScoreConfigIDs replaces the whole score-config set when present.

Response

StatusBodyMeaning
200o11y.annQueueViewok

200 body — 6 fields.

FieldInTypeAlwaysDescription
createdAtbodystringCreatedAt is when it was created, RFC3339 in UTC.
descriptionbodystringDescription is its free text, omitted when empty.
idbodystringID is the queue's id.
namebodystringName is its display handle.
scoreConfigIdsbodystring[]ScoreConfigIDs are the eval score-configs reviewers grade against.
updatedAtbodystringUpdatedAt is when it last changed, RFC3339 in UTC.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y reviews update <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page