Skip to main content
Section ID: DOC-API-MODEL-schema-ove4pre5lb#overview

Comment

Authored text attached to a trace, observation, or other evaluation object.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-ove4pre5lb#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-ove4pre5lb#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-ove4pre5lb#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-commentidSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-commentidcommentIdstringOptionalIdentifier of the evaluation comment.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-objecttypeSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-objecttypeobjectTypestring (COMMENT_OBJECT_TYPE_TRACE, COMMENT_OBJECT_TYPE_OBSERVATION, COMMENT_OBJECT_TYPE_SESSION, COMMENT_OBJECT_TYPE_PROMPT) or integer (int32)Optional; explicit presenceKind of evaluation object addressed by the comment.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-objectidSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-objectidobjectIdstringOptionalIdentifier of the evaluation object addressed by the comment.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-contentSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-contentcontentstringOptionalText content of the evaluation comment.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-authoruseridSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-authoruseridauthorUserIdstringOptionalIdentifier recorded for the user who authored the comment. A stored author identifier alone does not attest to verified human provenance.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-createdatSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-createdatcreatedAtstring (date-time)OptionalTime when this record was created.
Section ID: DOC-API-MODEL-schema-ove4pre5lb#field-updatedatSection ID: DOC-API-MODEL-schema-ove4pre5lb#response-field-updatedatupdatedAtstring (date-time)OptionalTime when this record was last updated.

Values of objectType​

Section ID: DOC-API-MODEL-schema-ove4pre5lb#response-values-objecttype

Kind of evaluation object to which a reviewer comment is attached.

ValueNo.FormMeaning
COMMENT_OBJECT_TYPE_TRACE0CanonicalAttach the comment to a trace.
COMMENT_OBJECT_TYPE_OBSERVATION1CanonicalAttach the comment to a particular observation.
COMMENT_OBJECT_TYPE_SESSION2CanonicalAttach the comment to a session.
COMMENT_OBJECT_TYPE_PROMPT3CanonicalAttach the comment to a specific prompt version using that version's UUID, not the prompt name. A comment on one version does not appear on later versions.

Where used​

Section ID: DOC-API-MODEL-schema-ove4pre5lb#where-used

ReferenceRelationship
List commentsPOST /api/v1/evals/list-comments

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-ove4pre5lb