@archastro/sdk
    Preparing search index...

    Interface SystemAccessToken

    A long-lived API credential associated with a system account, used to authenticate server-to-server requests.

    interface SystemAccessToken {
        created_at?: string;
        created_by_agent_user?: string | null;
        created_by_developer?: string | null;
        created_by_org?: string | null;
        created_by_team?: string | null;
        created_by_user?: string | null;
        expires_at?: string | null;
        id: string;
        last_used_at?: string | null;
        name?: string | null;
        revoked_at?: string | null;
        scopes?: string | null;
        token?: string;
    }
    Index

    Properties

    created_at?: string

    When this token was created (ISO 8601).

    created_by_agent_user?: string | null

    Agent user that minted this token (usr_...). null unless an agent minted it.

    created_by_developer?: string | null

    Developer account that minted this token (dva_...). null unless minted with a developer token.

    created_by_org?: string | null

    Org of the principal that minted this token (org_...). null on legacy rows.

    created_by_team?: string | null

    Team that minted this token (tem_...). null unless minted as a team.

    created_by_user?: string | null

    User who minted this token (usr_...). Distinct from the token subject. null on legacy rows.

    expires_at?: string | null

    When the token expires. null on legacy rows that predate stored expiry.

    id: string

    Token ID (sat_...).

    last_used_at?: string | null

    When this token was last used to authenticate a request. null if the token has never been used.

    name?: string | null

    Human-readable label assigned to this token at creation time. null when no label was supplied.

    revoked_at?: string | null

    When this token was revoked. null if the token is still active.

    scopes?: string | null

    Space-separated OAuth scopes stamped on the token. null on legacy rows; treat as full_access.

    token?: string

    Raw bearer token string. Present only in the response to the create request; never returned again after that.