@makehq/sdk
    Preparing search index...

    Type Alias ListKeysOptions<C>

    Options for listing keys.

    type ListKeysOptions<C extends EntityColumn<Key> = never> = {
        cols?: C[] | ["*"];
        teamId?: number;
        typeName?: string;
        usable?: boolean;
        visibility?: EntityVisibility;
    }

    Type Parameters

    • C extends EntityColumn<Key> = never

      Keys of the Key type to include in the response

    Index

    Properties

    cols?: C[] | ["*"]

    Specific columns/fields to include in the response

    teamId?: number

    Team ID to filter keys by (can override the main parameter)

    typeName?: string

    Filter keys by type

    usable?: boolean

    true returns the keys the caller can use in scenarios (team-visible, or locked with the caller's entity use); false the locked ones the caller cannot use.

    visibility?: EntityVisibility

    Return only the keys with this visibility