code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | 18 more

The error code for the response.

One of the following:
"server_error"
"rate_limit_exceeded"
"invalid_prompt"
"data_residency_mismatch"
"bio_policy"
"misalignment_policy_violation"
"vector_store_timeout"
"invalid_image"
"invalid_image_format"
"invalid_base64_image"
"invalid_image_url"
"image_too_large"
"image_too_small"
"image_parse_error"
"image_content_policy_violation"
"invalid_image_mode"
"image_file_too_large"
"unsupported_image_media_type"
"empty_image_file"
"failed_to_download_image"
"image_file_not_found"
message: string

A human-readable description of the error.

misalignment?: Misalignment { detailed_explanation, error_type, steer }
detailed_explanation?: string

The public explanation for this block.

error_type?: (string & {}) | "potentially_unintended_data_transfer" | "potentially_unintended_data_access" | "potentially_unintended_destructive_activity" | "other"

An optional classification; clients must accept additional values.

One of the following:
(string & {})
"potentially_unintended_data_transfer" | "potentially_unintended_data_access" | "potentially_unintended_destructive_activity" | "other"
"potentially_unintended_data_transfer"
"potentially_unintended_data_access"
"potentially_unintended_destructive_activity"
"other"
steer?: Steer { message }

An optional public continuation instruction.

message: string

The public continuation instruction.