Skip to Content
Anuma SDKClientInternalFunctionsgetApiV1GuestBootstrap

getApiV1GuestBootstrap

getApiV1GuestBootstrap<ThrowOnError>(options: Options<GetApiV1GuestBootstrapData, ThrowOnError>): RequestResult<GetApiV1GuestBootstrapResponses, GetApiV1GuestBootstrapErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1160 

Bootstrap guest session

Returns feature-flag assignments and server build metadata for an unauthenticated visitor. The client must generate a UUID v4 on first visit, persist it locally, and send it as X-Guest-ID on every call. Returns 400 if the header is missing or malformed.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<GetApiV1GuestBootstrapData, ThrowOnError>

Returns

RequestResult<GetApiV1GuestBootstrapResponses, GetApiV1GuestBootstrapErrors, ThrowOnError>

Last updated on