@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Submit a bug report Creates a bug report or freeform feedback entry on behalf of the authenticated user. The description is stored in full; the context blob is stored verbatim and surfaced during triage. Callers should include relevant session identifiers (URL, thread ID, etc.) in context to speed up reproduction. This endpoint requires authentication. Submissions are rate-limited to 10 reports per user per hour; exceeding that limit returns 429. The client value must be one of the recognised string identifiers listed below — an unrecognised value returns 400.

      Parameters

      • input: {
            client: string;
            client_version: string;
            context?: Record<string, unknown>;
            description: string;
        }

        Request body.

        • client: string

          Identifier of the submitting client. One of "agent_network_web", "cli", or "developer_portal".

        • client_version: string

          Build SHA or package version of the client.

        • Optionalcontext?: Record<string, unknown>

          Optional client-shaped context blob; ≤5 KB serialized. Stored verbatim and surfaced for triage — clients commonly include url, user_agent, thread_id, message_id, etc.

        • description: string

          Freeform report text. 1–10,000 chars after trim.

      Returns Promise<BugReport>

      The created bug report record.