Beta Managed Agents User Define Outcome Event Params
BetaManagedAgentsUserDefineOutcomeEventParams objectParameters for defining an outcome the agent should work toward. The agent begins work on receipt.
type: "user.define_outcome"description: stringWhat the agent should produce. This is the task specification.
rubric: BetaManagedAgentsFileRubricParams or BetaManagedAgentsTextRubricParamsRubric for grading the quality of an outcome.
BetaManagedAgentsFileRubricParams objectRubric referenced by a file uploaded via the Files API.
type: "file"file_id: stringID of the rubric file.
BetaManagedAgentsTextRubricParams objectRubric content provided inline as text.
type: "text"content: stringRubric content. Plain text or markdown — the grader treats it as freeform text. Maximum 262144 characters.
maxLength: 262144
max_iterations: optional number or nullEval→revision cycles before giving up. Default 3, max 20.
format: int32