pai
    Preparing search index...

    Type Alias ChildResult

    The answer from POST /key/child: a new child key, returned this once.

    type ChildResult = {
        api_key: string;
        expires_at: string;
        limit_usd: number | null;
        parent_balance_usd: number;
        rate_usd_per_min: number | null;
    }
    Index
    api_key: string

    The child key itself. The server keeps only its hash, so it cannot show it again.

    expires_at: string

    When the child stops working, as an ISO 8601 time.

    limit_usd: number | null

    Most the child can spend from the parent's balance. null means no limit beyond it.

    parent_balance_usd: number

    The parent's credit balance when the child was made, in USD. The child spends from it.

    rate_usd_per_min: number | null

    The child's per-minute spending cap, in USD. null means none.