ArchAstro.V1.AgentRoutines.AgentRoutineRuns (archastro v0.2.0)

Copy Markdown

AgentRoutineRun API resource.

Summary

Functions

get(client, run)

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.

The requested routine run.

journal(client, run, params \\ %ArchAstro.Types.Operations.GetApiV1AgentRoutinesRunsRunJournal.Params{})

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.

Forward-paginated routine run journal entries.