ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias AuthAccountExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    An account or credential the Agent has configured, such as a signed-in user account or an API key.

    All fields are display information only. Clients MUST NOT use them as stable account identifiers, and SHOULD NOT log them or send them elsewhere, such as to telemetry.

    type AuthAccount = {
        label: string;
        description?: string | null;
        active?: boolean | null;
        name?: string | null;
        email?: string | null;
        organization?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    label: string

    Human-readable name for the account, suitable for display on its own as plain text, for example Claude Max, OpenAI API key, or Vertex AI.

    description?: string | null

    Short plain-text description shown with the label, such as the credential source API key helper. Agents MUST NOT put credentials in this field.

    Optional. Omitted and null are equivalent and mean no description is reported.

    active?: boolean | null

    Whether the Agent currently uses this account by default.

    Several accounts MAY be active, for example one per provider.

    Optional. Omitted and null are equivalent and mean the Agent does not indicate whether this account is in effect.

    name?: string | null

    Display name of the user, such as a username or full name.

    Optional. Omitted and null are equivalent and mean no name is reported.

    email?: string | null

    Email address of the user.

    Optional. Omitted and null are equivalent and mean no email is reported.

    organization?: string | null

    Display name of the organization, team, or workspace the account is using.

    Optional. Omitted and null are equivalent and mean no organization is reported.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility