The status, headers, decoded body, and raw body.
ReadonlybodyThe decoded, camel-cased JSON body, or null when there was none.
ReadonlyheadersThe response headers.
ReadonlyrawThe decoded JSON body with its original wire keys.
This is the escape hatch for models that contain free-form maps, whose keys are data and therefore are not case-converted.
ReadonlystatusThe HTTP status code.
Views the body as a single decoded object.
The expected body type.
The body cast to T, or null when the response had no body.
Views the body as a single decoded object while keeping its original wire keys.
Use this only for models that contain free-form maps.
The expected body type.
The raw body cast to T, or null when the response had no body.
The first value of a response header, case-insensitive.
The header name.
The first header value, or undefined when the header is absent.
Views the body as a list of decoded objects.
The expected element type.
The body cast to T[], or an empty array when the body was absent.
A successful control-plane HTTP response with its status, headers, and decoded JSON body.
Error responses never surface here; AdminClient throws an
ApiExceptionfor any non-success status. This type is the escape hatch for endpoints not yet wrapped by a typed client.The decoding helpers (
as,listOf,pageOf) are unchecked views of the parsed JSON. They assert a shape the caller knows from the API contract; no runtime validation is performed.