Circle V2 API Docs
    Preparing search index...

    Type Alias BaseParams

    type BaseParams = {
        entityId: EntityId;
        filters: BaseFilters;
        profileIds: ProfileId[] | null;
    }
    Index

    Properties

    entityId: EntityId
    filters: BaseFilters
    profileIds: ProfileId[] | null

    Profiles to scope the query to. null means unrestricted (admin / superadmin or no provider filter requested). When set, a run is included only if the patient's creator profile OR primary provider is in this set.

    For non-admin callers, the TRPC layer intersects the user's accessible profiles with any user-requested profile filter and passes the result here.