changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "Output for the sm_get_sync_run tool. Failure payloads arrive in the same envelope as { error, message, code }.",
+ "properties": {
+ "code": {
+ "description": "A machine-readable identifier for the error type. For the full code taxonomy, see the sm_get_schema tool or the Enterprise API OpenAPI ErrorResponse component.",
+ "type": "string"
+ },
+ "error": {
+ "description": "A human-readable error message detailing what went wrong.",
+ "type": "string"
+ },
+ "lookbackWindowDays": {
+ "type": "integer"
+ },
+ "pendingBatchCount": {
+ "type": "integer"
+ },
+ "progress": {
+ "items": {
+ "additionalProperties": true,
+ "description": "In-flight progress for a sync run. Rows exist only during an active sync.",
+ "properties": {
+ "currentPage": {
+ "type": "integer"
+ },
+ "currentPhase": {
+ "description": "Free text phase description, not an enum.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dataType": {
+ "type": "string"
+ },
+ "listsCompleted": {
+ "type": "integer"
+ },
+ "recordsProcessed": {
+ "type": "integer"
+ },
+ "recordsSkipped": {
+ "type": "integer"
+ },
+ "recordsWritten": {
+ "type": "integer"
+ },
+ "startedAt": {
+ "description": "ISO 8601 UTC timestamp.",
+ "type": "string"
+ },
+ "totalLists": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "totalRecords": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "updatedAt": {
+ "description": "ISO 8601 UTC timestamp.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "projectId": {
+ "description": "An opaque alphanumeric project identifier of 8 or more characters identifying a Space Monkey Project. Treat this value as entirely opaque; do not parse, sequentialize, or auto-generate it.",
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": true,
+ "description": "Result row for a specific data type in a sync run. The row's `id` is deliberately dropped by the endpoint, making `dataType` the distinguishing key.",
+ "properties": {
+ "dataType": {
+ "description": "Free-form varchar (not an enum). Observed values: automations, campaign_reports, campaigns, email_activities, lists, member_activities, members, reports, segments, tags.",
+ "type": "string"
+ },
+ "durationSeconds": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "errorMessage": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "finalTableRowCount": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "recordsSkipped": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "recordsWritten": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "totalRecords": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "run": {
+ "additionalProperties": true,
+ "description": "Details for a specific sync run. Omits projectName, retryCount, resultsCount, and totalTables carried by the list row.",
+ "properties": {
+ "createdAt": {
+ "description": "ISO 8601 UTC timestamp.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "endedAt": {
+ "description": "ISO 8601 UTC timestamp.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "errorMessage": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "projectId": {
+ "type": "string"
+ },
+ "startedAt": {
+ "description": "ISO 8601 UTC timestamp.",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "pending",
+ "running",
+ "paused",
+ "success",
+ "partial",
+ "failed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "triggerType": {
+ "enum": [
+ "manual",
+ "scheduled"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}