AgentErrorDetail interface

Describes the error information returned by the agents API.

Properties

code

Machine-readable error code.

message

Human-readable description of the error.

param

Name of the parameter that caused the error, if applicable.

type

Error type identifier (e.g. invalid_request_error).

Property Details

code

Machine-readable error code.

code?: string | null

Property Value

string | null

message

Human-readable description of the error.

message?: string | null

Property Value

string | null

param

Name of the parameter that caused the error, if applicable.

param?: string | null

Property Value

string | null

type

Error type identifier (e.g. invalid_request_error).

type?: string | null

Property Value

string | null