APITatTool APIAPI reference

Check a durable mutation outcome

Return the original safe result or pending/unknown/failed receipt. Requires the same user, credential and studio plus present grants and record authority for the originating mutation. Follow Retry-After for unresolved outcomes; do not create a new idempotency key.

Check a durable mutation outcome

GET /api/v1/operations/{operationId}

Return the original safe result or pending/unknown/failed receipt. Requires the same user, credential and studio plus present grants and record authority for the originating mutation. Follow Retry-After for unresolved outcomes; do not create a new idempotency key.

API version: 1.0.0; source revision: development; SHA-256: 48cf3a12f6c45a2618345f604165f68f7efcee3648a8b923ccd02ef716aa8a9e.

Group: Operations.

Required permissions: [].

Authentication: Authorization: Bearer <user-owned-api-key>.

Parameters

path: operationId

Required. Operation receipt ID returned by the mutation.

{
  "format": "uuid",
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
  "type": "string"
}

Request examples

[
  {
    "name": "check-original-operation",
    "request": {
      "path": {
        "operationId": "00000000-0000-4000-8000-000000000214"
      }
    }
  }
]

curl

curl --request GET \
  --header 'Authorization: Bearer <user-owned-api-key>' \
  "$TATTOOL_API_URL/api/v1/operations/00000000-0000-4000-8000-000000000214"

Responses

200

Authorized original outcome; pending/unknown needs further confirmation. Media type: application/json

  • data
  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "data": {
      "anyOf": [
        {
          "description": "The originating operation's validated safe DTO."
        },
        {
          "type": "null"
        }
      ],
      "description": "Safe domain result when completed; null for unresolved or failed operations."
    },
    "error": {
      "description": "Safe failure details when relevant; never a raw exception.",
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "operation": {
      "properties": {
        "id": {
          "description": "Durable operation receipt ID; use it for status lookup.",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
          "type": "string"
        },
        "replayed": {
          "description": "Whether this is an existing logical request or status lookup.",
          "type": "boolean"
        },
        "status": {
          "description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
          "enum": [
            "pending",
            "completed",
            "failed",
            "unknown"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "status",
        "replayed"
      ],
      "type": "object"
    },
    "retryAfterSeconds": {
      "description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "type": "integer"
    }
  },
  "required": [
    "data",
    "operation"
  ],
  "type": "object"
}

Synthetic example:

{
  "data": null,
  "operation": {
    "id": "00000000-0000-4000-8000-000000000214",
    "replayed": true,
    "status": "unknown"
  },
  "retryAfterSeconds": 5
}

401

Authentication is required. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "UNAUTHENTICATED",
    "message": "Authentication is required.",
    "retryable": false
  }
}

403

Access denied. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "FORBIDDEN",
    "message": "Access denied.",
    "retryable": false
  }
}

404

Record not found. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Record not found.",
    "retryable": false
  }
}

409

The operation conflicts with the current state. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "CONFLICT",
    "message": "The operation conflicts with the current state.",
    "reason": "DOMAIN_CONFLICT",
    "retryable": false
  }
}

422

Invalid operation input. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "INVALID_INPUT",
    "message": "Invalid operation input.",
    "retryable": false
  }
}

429

Request limit reached. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Request limit reached.",
    "retryable": true,
    "retryAfterSeconds": 60
  }
}

503

The provider is unavailable. Media type: application/json

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds

Schema and constraints:

{
  "properties": {
    "error": {
      "properties": {
        "code": {
          "description": "Stable safe failure code.",
          "enum": [
            "INVALID_INPUT",
            "UNAUTHENTICATED",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "RATE_LIMITED",
            "CAPABILITY_UNAVAILABLE",
            "PROVIDER_UNAVAILABLE"
          ],
          "type": "string"
        },
        "fieldErrors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Safe field-level validation details.",
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "message": {
          "description": "Fixed public failure message, without provider or private details.",
          "type": "string"
        },
        "operationId": {
          "description": "Original domain recovery operation ID when available.",
          "type": "string"
        },
        "reason": {
          "description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
          "enum": [
            "STALE_VERSION",
            "EDIT_SESSION_EXPIRED",
            "IDEMPOTENCY_MISMATCH",
            "DOMAIN_CONFLICT",
            "SLOT_UNAVAILABLE",
            "INCOMPLETE_AVAILABILITY",
            "MISSING_OPENING_HOURS"
          ],
          "type": "string"
        },
        "retryable": {
          "description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
          "type": "boolean"
        },
        "retryAfterSeconds": {
          "description": "Seconds before retry or reconciliation.",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    }
  },
  "required": [
    "error"
  ],
  "type": "object"
}

Synthetic example:

{
  "error": {
    "code": "PROVIDER_UNAVAILABLE",
    "message": "The provider is unavailable.",
    "retryable": false
  }
}