APITatTool APIAPI reference

get projected revenue

Authorized finance read; integer minor units and safe projections only.

get projected revenue

GET /api/v1/reports/projected-revenue

Authorized finance read; integer minor units and safe projections only.

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

Group: Finance.

Required permissions: ["reports:read"].

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

Parameters

query: fromDate

Required. Finance fromDate.

{
  "format": "date",
  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
  "type": "string"
}

query: toDateExclusive

Required. Finance toDateExclusive.

{
  "format": "date",
  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
  "type": "string"
}

query: tagIds

Optional. Finance tagIds.

{
  "anyOf": [
    {
      "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"
    },
    {
      "items": {
        "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"
      },
      "maxItems": 100,
      "minItems": 1,
      "type": "array"
    }
  ]
}

query: roleIds

Optional. Finance roleIds.

{
  "anyOf": [
    {
      "enum": [
        "owner",
        "admin",
        "manager",
        "reception",
        "member"
      ],
      "type": "string"
    },
    {
      "items": {
        "enum": [
          "owner",
          "admin",
          "manager",
          "reception",
          "member"
        ],
        "type": "string"
      },
      "maxItems": 5,
      "minItems": 1,
      "type": "array"
    }
  ]
}

query: createdByIds

Optional. Finance createdByIds.

{
  "anyOf": [
    {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    {
      "items": {
        "maxLength": 128,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "type": "array"
    }
  ]
}

query: artistIds

Optional. Finance artistIds.

{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  ]
}

query: locationIds

Optional. Finance locationIds.

{
  "anyOf": [
    {
      "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"
    },
    {
      "items": {
        "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"
      },
      "type": "array"
    }
  ]
}

query: currency

Optional. Finance currency.

{
  "pattern": "^[A-Z]{3}$",
  "type": "string"
}

query: groupBy

Optional. Finance groupBy.

{
  "default": "none",
  "enum": [
    "none",
    "day",
    "week",
    "month",
    "artist",
    "location"
  ],
  "type": "string"
}

Request examples

[
  {
    "name": "read",
    "request": {
      "query": {
        "fromDate": "2030-01-01",
        "toDateExclusive": "2030-02-01"
      }
    }
  }
]

curl

curl --request GET \
  --header 'Authorization: Bearer <user-owned-api-key>' \
  "$TATTOOL_API_URL/api/v1/reports/projected-revenue?fromDate=2030-01-01&toDateExclusive=2030-02-01"

Responses

200

Authorized finance result. Media type: application/json

  • assumptions
  • basis
  • breakdown
  • breakdown[].bookedValueMinor
  • breakdown[].currency
  • breakdown[].key
  • breakdown[].pricedBookingCount
  • breakdown[].totalBookingCount
  • breakdown[].unpricedBookingCount
  • coverage
  • coverage.unknownCurrencyCount
  • coverage.visibility
  • period
  • period.fromDate
  • period.toDateExclusive
  • timeZone
  • totalsByCurrency
  • totalsByCurrency[].bookedValueMinor
  • totalsByCurrency[].currency
  • totalsByCurrency[].pricedBookingCount
  • totalsByCurrency[].totalBookingCount
  • totalsByCurrency[].unpricedBookingCount
  • unknowns
  • unknowns.pricedBookingCount
  • unknowns.totalBookingCount
  • unknowns.unpricedBookingCount

Schema and constraints:

{
  "additionalProperties": false,
  "properties": {
    "assumptions": {
      "description": "Finance assumptions.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "basis": {
      "const": "booking_start_date",
      "description": "Finance basis.",
      "type": "string"
    },
    "breakdown": {
      "description": "Finance breakdown.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "bookedValueMinor": {
            "description": "Integer currency minor units.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "currency": {
            "description": "Uppercase currency code; currencies are never combined.",
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "key": {
            "description": "Finance key.",
            "type": [
              "string",
              "null"
            ]
          },
          "pricedBookingCount": {
            "description": "Finance pricedBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "totalBookingCount": {
            "description": "Finance totalBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "unpricedBookingCount": {
            "description": "Finance unpricedBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "key",
          "currency",
          "bookedValueMinor",
          "pricedBookingCount",
          "unpricedBookingCount",
          "totalBookingCount"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "coverage": {
      "additionalProperties": false,
      "description": "Finance coverage.",
      "properties": {
        "unknownCurrencyCount": {
          "description": "Finance unknownCurrencyCount.",
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "visibility": {
          "description": "Finance visibility.",
          "enum": [
            "organization",
            "own_bookings"
          ],
          "type": "string"
        }
      },
      "required": [
        "visibility",
        "unknownCurrencyCount"
      ],
      "type": "object"
    },
    "period": {
      "additionalProperties": false,
      "description": "Finance period.",
      "properties": {
        "fromDate": {
          "description": "Finance fromDate.",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "type": "string"
        },
        "toDateExclusive": {
          "description": "Finance toDateExclusive.",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "type": "string"
        }
      },
      "required": [
        "fromDate",
        "toDateExclusive"
      ],
      "type": "object"
    },
    "timeZone": {
      "description": "Finance timeZone.",
      "type": "string"
    },
    "totalsByCurrency": {
      "description": "Finance totalsByCurrency.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "bookedValueMinor": {
            "description": "Integer currency minor units.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "currency": {
            "description": "Uppercase currency code; currencies are never combined.",
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "pricedBookingCount": {
            "description": "Finance pricedBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "totalBookingCount": {
            "description": "Finance totalBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "unpricedBookingCount": {
            "description": "Finance unpricedBookingCount.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "currency",
          "bookedValueMinor",
          "pricedBookingCount",
          "unpricedBookingCount",
          "totalBookingCount"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "unknowns": {
      "additionalProperties": false,
      "description": "Finance unknowns.",
      "properties": {
        "pricedBookingCount": {
          "description": "Finance pricedBookingCount.",
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "totalBookingCount": {
          "description": "Finance totalBookingCount.",
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "unpricedBookingCount": {
          "description": "Finance unpricedBookingCount.",
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "totalBookingCount",
        "pricedBookingCount",
        "unpricedBookingCount"
      ],
      "type": "object"
    }
  },
  "required": [
    "period",
    "timeZone",
    "assumptions",
    "coverage",
    "basis",
    "totalsByCurrency",
    "breakdown",
    "unknowns"
  ],
  "type": "object"
}

Synthetic example:

{
  "assumptions": [],
  "basis": "booking_start_date",
  "breakdown": [],
  "coverage": {
    "unknownCurrencyCount": 0,
    "visibility": "organization"
  },
  "period": {
    "fromDate": "2030-01-01",
    "toDateExclusive": "2030-02-01"
  },
  "timeZone": "UTC",
  "totalsByCurrency": [],
  "unknowns": {
    "pricedBookingCount": 0,
    "totalBookingCount": 0,
    "unpricedBookingCount": 0
  }
}

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
  }
}