Catalog Activities

Create Activity With Staged Changes

Create an activity with optional staged changes for a catalog.

This endpoint allows programmatic creation of review activities (e.g., from an MCP tool server). Staged changes represent proposed modifications to catalog items that can be reviewed and applied.

post/public/catalogs/{catalog_id}/activities

Request

  • Base URL
    https://catalogapi.rastro.ai/api
  • Auth
    HTTP bearer

Path parameters

catalog_idstring required

Headers

X-Organization-Idstring nullable

Request body

typestring

Activity type (e.g., smart_import, custom_transform)

descriptionstring nullable

Human-readable description of the activity

input_dataobject nullable

Optional full activity input data for audit context and apply-time hooks

metadataobject nullable
statusstring nullable

Initial activity status (defaults to 'pending_review' if staged_changes provided, else 'created')

Response

Successful Response

activity_idstring required
statusstring required
staged_changes_countinteger required

Changes

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