Share via


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?: null | string

Property Value

null | string

message

Human-readable description of the error.

message?: null | string

Property Value

null | string

param

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

param?: null | string

Property Value

null | string

type

Error type identifier (e.g. invalid_request_error).

type?: null | string

Property Value

null | string