Skip to navigation

Retrieve a site action

View as MarkdownOpen in Claude

Returns one site action with its details. Add include=items to see each step it goes through, and fields[site-actions] for the details a listing leaves out.

Only include and fields apply: filter, sort and page are ignored.

Errors

  • 404: the site action does not exist, or it is closed (done or failed) and its last activity is outside your plan’s history window. Open site actions are always found.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

siteActionstringRequired

Query parameters

includestringOptional

Related records to embed, comma-separated: site embeds the website, items embeds each step of the action, with close_reason (null, stale or auto_approved: why Modular DS closed the step on its own).

fields[site-actions]stringOptional

Attributes to return, comma-separated; only those are returned. These computed attributes are left out unless named: requires_action, scheduled_at, managed_items (the items the action updates or changes), clean_cache, is_manual, visual_regression (the visual comparison of a safe update, filled only for safe updates: change_percentage, the percentage of visual change found; threshold, the highest percentage accepted; success_path, the page compared; screenshot_delay, the seconds the after screenshot waited once the update finished; and screenshots, signed URLs of the before, after and diff images) and target_site (the destination website of a migration; otherwise the action’s own website; null when that website was deleted). clean_cache and is_manual come from the action’s own options and are null when the action type has none.

Response

200 - Site action

dataobjectOptional
jsonapiobjectOptional