UnauthorizedResponseError - Go SDK

UnauthorizedResponseError type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Unauthorized - Authentication required or invalid credentials

Fields

FieldTypeRequiredDescriptionExample
Errorcomponents.UnauthorizedResponseErrorData✔️Error data for UnauthorizedResponse{"code": 401,"message": "Missing Authentication header"}
OpenrouterMetadatamap[string]anyN/A
UserID*stringN/A