@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Retrieve a routine run Returns a single routine run by its ID. The run includes status, payload, result, duration, and any structured response produced by the routine's agent. The authenticated principal must have access to the app that owns the run. When your API key is scoped to an app, the run must belong to that app or a 403 is returned.

      Parameters

      • run: string

        Routine run ID (arr_...) to retrieve.

      Returns Promise<AgentRoutineRun>

      The requested routine run.

    • List a routine run journal Returns the durable workflow journal entries for one agent routine run in ascending sequence order. Script-backed, preset-backed, and legacy runs may have no journal; those runs return journal: null and an empty data array with HTTP 200. Pagination is forward-only. Pass after_cursor from the previous response to retrieve the next page.

      Parameters

      • run: string

        Routine run ID (arr_...) whose journal to retrieve.

      • Optionalparams: { afterCursor?: string; limit?: number }

        Query parameters.

        • OptionalafterCursor?: string

          Opaque cursor from the previous response's after_cursor field.

        • Optionallimit?: number

          Maximum number of entries to return. Defaults to 50; maximum is 100.

      Returns Promise<RunJournalPage>

      Forward-paginated routine run journal entries.