Class BetaManagedAgentsSpanOutcomeEvaluationEndEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSpanOutcomeEvaluationEndEventEmitted when an outcome evaluation cycle completes. Carries the verdict and aggregate token usage. A verdict of
needs_revisionmeans another evaluation cycle follows;satisfied,max_iterations_reached,failed, orinterruptedare terminal — no further evaluation cycles follow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSpanOutcomeEvaluationEndEvent.BuilderA builder for BetaManagedAgentsSpanOutcomeEvaluationEndEvent.
public final classBetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for this event. final Stringexplanation()Human-readable explanation of the verdict. final Integeriteration()0-indexed revision cycle, matching the corresponding span.outcome_evaluation_start.final StringoutcomeEvaluationStartId()The id of the corresponding span.outcome_evaluation_startevent.final StringoutcomeId()The outc_ID of the outcome being evaluated.final OffsetDateTimeprocessedAt()A timestamp in RFC 3339 format final Stringresult()Evaluation verdict. final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Typetype()final BetaManagedAgentsSpanModelUsageusage()Token usage for a single model request. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_explanation()Returns the raw JSON value of explanation. final JsonField<Integer>_iteration()Returns the raw JSON value of iteration. final JsonField<String>_outcomeEvaluationStartId()Returns the raw JSON value of outcomeEvaluationStartId. final JsonField<String>_outcomeId()Returns the raw JSON value of outcomeId. final JsonField<OffsetDateTime>_processedAt()Returns the raw JSON value of processedAt. final JsonField<String>_result()Returns the raw JSON value of result. final JsonField<BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type>_type()Returns the raw JSON value of type. final JsonField<BetaManagedAgentsSpanModelUsage>_usage()Returns the raw JSON value of usage. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.BuildertoBuilder()final BetaManagedAgentsSpanOutcomeEvaluationEndEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSpanOutcomeEvaluationEndEvent. -
-
Method Detail
-
explanation
final String explanation()
Human-readable explanation of the verdict. For
needs_revision, describes which criteria failed and why.
-
iteration
final Integer iteration()
0-indexed revision cycle, matching the corresponding
span.outcome_evaluation_start.
-
outcomeEvaluationStartId
final String outcomeEvaluationStartId()
The id of the corresponding
span.outcome_evaluation_startevent.
-
processedAt
final OffsetDateTime processedAt()
A timestamp in RFC 3339 format
-
result
final String result()
Evaluation verdict. 'satisfied': criteria met, session goes idle. 'needs_revision': criteria not met, another revision cycle follows. 'max_iterations_reached': evaluation budget exhausted with criteria still unmet — one final acknowledgment turn follows before the session goes idle, but no further evaluation runs. 'failed': grader determined the rubric does not apply to the deliverables. 'interrupted': user sent an interrupt while evaluation was in progress.
-
type
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type type()
-
usage
final BetaManagedAgentsSpanModelUsage usage()
Token usage for a single model request.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_explanation
final JsonField<String> _explanation()
Returns the raw JSON value of explanation.
Unlike explanation, this method doesn't throw if the JSON field has an unexpected type.
-
_iteration
final JsonField<Integer> _iteration()
Returns the raw JSON value of iteration.
Unlike iteration, this method doesn't throw if the JSON field has an unexpected type.
-
_outcomeEvaluationStartId
final JsonField<String> _outcomeEvaluationStartId()
Returns the raw JSON value of outcomeEvaluationStartId.
Unlike outcomeEvaluationStartId, this method doesn't throw if the JSON field has an unexpected type.
-
_outcomeId
final JsonField<String> _outcomeId()
Returns the raw JSON value of outcomeId.
Unlike outcomeId, this method doesn't throw if the JSON field has an unexpected type.
-
_processedAt
final JsonField<OffsetDateTime> _processedAt()
Returns the raw JSON value of processedAt.
Unlike processedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<String> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_usage
final JsonField<BetaManagedAgentsSpanModelUsage> _usage()
Returns the raw JSON value of usage.
Unlike usage, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsSpanOutcomeEvaluationEndEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsSpanOutcomeEvaluationEndEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSpanOutcomeEvaluationEndEvent.
The following fields are required:
.id() .explanation() .iteration() .outcomeEvaluationStartId() .outcomeId() .processedAt() .result() .type() .usage()
-
-
-
-