UNET API - v0.0.0
    Preparing search index...

    Type Alias Trace

    One HTTP exchange made by the SDK — for building developer tools / debug panels.

    type Trace = {
        id: number;
        at: number;
        ms: number;
        sdk: string;
        method: string;
        url: string;
        requestHeaders: Record<string, string>;
        requestBody?: unknown;
        status: number;
        ok: boolean;
        responseHeaders: Record<string, string>;
        responseBody?: unknown;
        error?: string;
    }
    Index
    id: number
    at: number

    epoch ms when the request started

    ms: number
    sdk: string

    Which SDK call caused it, e.g. "api.feed()" or "signIn → token".

    method: string
    url: string
    requestHeaders: Record<string, string>
    requestBody?: unknown

    JSON object for JSON/form bodies; files are described, never included.

    status: number

    0 when the request never got a response (network/CORS).

    ok: boolean
    responseHeaders: Record<string, string>
    responseBody?: unknown
    error?: string