Class BetaManagedAgentsOutcomeEvaluationResource
-
- All Implemented Interfaces:
public final class BetaManagedAgentsOutcomeEvaluationResourceEvaluation state for a single outcome defined via a define_outcome event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsOutcomeEvaluationResource.BuilderA builder for BetaManagedAgentsOutcomeEvaluationResource.
public final classBetaManagedAgentsOutcomeEvaluationResource.Type
-
Method Summary
Modifier and Type Method Description final Optional<OffsetDateTime>completedAt()A timestamp in RFC 3339 format final Stringdescription()What the agent should produce. final Optional<String>explanation()Grader's verdict text from the most recent evaluation. final Integeriteration()0-indexed revision cycle the outcome is currently on. final StringoutcomeId()Server-generated outc_ ID for this outcome. final Stringresult()Current evaluation state. final BetaManagedAgentsOutcomeEvaluationResource.Typetype()final JsonField<OffsetDateTime>_completedAt()Returns the raw JSON value of completedAt. final JsonField<String>_description()Returns the raw JSON value of description. 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>_outcomeId()Returns the raw JSON value of outcomeId. final JsonField<String>_result()Returns the raw JSON value of result. final JsonField<BetaManagedAgentsOutcomeEvaluationResource.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsOutcomeEvaluationResource.BuildertoBuilder()final BetaManagedAgentsOutcomeEvaluationResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsOutcomeEvaluationResource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsOutcomeEvaluationResource. -
-
Method Detail
-
completedAt
final Optional<OffsetDateTime> completedAt()
A timestamp in RFC 3339 format
-
description
final String description()
What the agent should produce.
-
explanation
final Optional<String> explanation()
Grader's verdict text from the most recent evaluation. For satisfied, explains why criteria are met; for needs_revision (intermediate), what's missing; for failed, why unrecoverable.
-
result
final String result()
Current evaluation state.
pendingbefore the agent begins work;runningwhile producing or revising;evaluatingwhile the grader scores;satisfied/max_iterations_reached/failed/interruptedare terminal.
-
type
final BetaManagedAgentsOutcomeEvaluationResource.Type type()
-
_completedAt
final JsonField<OffsetDateTime> _completedAt()
Returns the raw JSON value of completedAt.
Unlike completedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, 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.
-
_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.
-
_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<BetaManagedAgentsOutcomeEvaluationResource.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsOutcomeEvaluationResource.Builder toBuilder()
-
validate
final BetaManagedAgentsOutcomeEvaluationResource 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 BetaManagedAgentsOutcomeEvaluationResource.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsOutcomeEvaluationResource.
The following fields are required:
.completedAt() .description() .explanation() .iteration() .outcomeId() .result() .type()
-
-
-
-