Interface

RequestOptions

Properties

NameTypeDescription
auth?booleanInclude the configured token. Defaults to false for cross-origin absolute URLs.
body?unknown | FormData
files?AttachmentPayload[]
headers?Record<string, string>
signal?AbortSignalAborts the request when triggered (e.g. shutdown). Combined with the client timeout.
unversioned?booleanSkip /v{version} and request {api}{route} instead. Absolute http(s) URLs are never version-prefixed. Paths under /.well-known/ are unversioned even when this is omitted.