Member Junction
    Preparing search index...

    Interface SystemOneCredential

    A decision driver's credential, read from the API key it was built with. A key resolved from an AI Credential arrives as that credential's values in JSON ({"apiKey":"…"} for the API Key type, {"apiKey":"…","endpoint":"…"} for API Key with Endpoint); a legacy key arrives as the raw string.

    interface SystemOneCredential {
        AccountID?: string;
        APIKey: string;
        Endpoint?: string;
        ParseError?: string;
    }
    Index

    Properties

    AccountID?: string

    The credential's accountId, when it has one.

    APIKey: string

    The API key or token. Empty when the credential has none.

    Endpoint?: string

    The credential's endpoint, when it has one.

    ParseError?: string

    Set when the key starts with { but is not valid JSON. APIKey is then empty, so the credential's text is never sent as a token, and the call fails before any request.