ap-portals

Trigger Account Sweep

Sync now

Trigger an on-demand sweep for an AP-portal login. Enqueues the durable sweep workflow (deduplicated per account) and returns immediately. Omit the body for a list-only sweep; use DETAIL for full enrichment.

post/v2/ap-portals/accounts/{account_id}/sweep

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

account_idstring required

Request body

mode'list' | 'detail'

The document traversal performed by a sweep.

lookback_daysinteger nullable

How many days back the list search should reach, for providers with a windowed list view (Taulia, Ariba). Omit to let Taulia use its incremental refresh window and other providers use their defaults.

Response

Successful Response

work_idstring required
status'pending' | 'running' | 'failed' | 'done' required

Status of a ap portal work queue entry

Changes

No recorded changes to this operation across all 1 revision of this API.