Type Alias UpdateAgentRequest

UpdateAgentRequest: Omit<
    Partial<
        components["schemas"]["routers__api__agents__UpdateAgentRequest"],
    >,
    "max_retries"
    | "retry_on_failure",
> & { max_retries?: number | null; retry_on_failure?: boolean | null }

Request body for updating an agent. Every field is optional.

To remove a run or credit limit, send its set_max_* flag as true and omit the matching max_* field. The set_* flags and apply_import_run_limits default to false on the server; the generated schema marks them required only because they declare a default.

Type declaration

  • Optionalmax_retries?: number | null

    Has no effect: the API accepts it and ignores it. Evaluations never retry a step.

  • Optionalretry_on_failure?: boolean | null

    Has no effect: the API accepts it and ignores it. Evaluations never retry a step.