@squidcloud/client
    Preparing search index...

    Interface RunContext

    • The context of a request to a service, providing metadata about the request source.
    interface RunContext {
        appId: string;
        clientId?: string;
        headers?: Record<string, any>;
        sourceIp?: string;
    }
    Index

    Properties

    appId: string

    Your applicationId.

    clientId?: string

    The id of the client that initiated this request. This is only relevant in cases that the request was initiated by a client such as when securing an api call or a DB operation. This id will not be available for triggers, schedulers, webhooks and other functions that are not directly initiated by a user action.

    headers?: Record<string, any>

    The headers of the request. Headers are in lower-case.

    sourceIp?: string

    The IP address of the client that initiated this request.