Administration

runs.get

Read one run, or the latest run for a subject, with its ordered step events: steps started and finished, model calls, outputs, decisions, and errors. Use afterEventId to fetch only new events while a run is active.

GETPOST/api/v1/accounting/runs.get

Permissions

accounting:read

Who can call it

admin, finance, contributor

Retries

Safe to retry: it only reads

MCP

accounting_runs_get

Fields

  • idstring (ID)

    The record's ID.

  • subjectTypestring

    The kind of record this is about, such as entry, invoice or mail.

    Matches ^[a-z][a-z0-9_]{1,40}$

  • subjectIdstring

    The ID of the record this is about.

    1–200 characters

  • afterEventIdinteger

    0 to 9007199254740991 · Default 0

  • limitinteger

    How many results to return at most.

    1 to 1000 · Default 500

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/runs.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/runs.get
curl -G https://app.getoatmilk.com/api/v1/accounting/runs.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'

More in Administration.