CRADالمطوّرون
العربية

Read provider membership or changes

قبل الاستخدام الفعلي — افحص القدرات المنشورة والصلاحيات وجاهزية ربطك.

تحقّق من القدرات المنشورة وصلاحيات المفتاح وجاهزية النشاط في بيئتك. أمثلة HTTP مسجّلة من اختبارات معزولة؛ وصفها local-unreleased لا يعني أن API غير عامل ولا يُثبت جاهزية ربطك. في مسار العميل يُتحقق من الهاتف بقالب واتساب أعدّه النشاط؛ SMS غير مدعوم. التسجيل بواسطة مسؤول مخوّل عملية منفصلة دون رمز.

GET/v1/management/provider-changes

Behavior

Only current explicitly selected provider IDs, including inactive providers. Calendar grants or businessSchedule do not widen this selection. Provider working hours/duration policy are separate APIs. Consume nextCursor on every page, even empty filtered pages. Hydrated current values may be newer than the signal and appear repeatedly. Apply before acknowledging; restart on projection or retention invalidation.

Authentication

ManagementCredential

Credential rules

One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.

Required application permissions

providers:readproviders:sync

Request

  • cursorquery · stringRequired
    Format and constraints
    cursor schema
    {
      "type": "string",
      "format": "uuid"
    }
  • limitquery · integerOptional
    Format and constraints
    limit schema
    {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50
    }

Successful responses

200 · BusinessProviderSyncPage

Current authorized result.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · BusinessProviderSyncPage

Current-state page. Atomically apply data and nextCursor even when events is empty. Do not combine the two independent feeds as a historical snapshot; fresh quote/availability remains required before booking.

Exactly one of these variants must match.

  • oneOf 1 · kind = "snapshot"objectSchema branch
    View branch fields and rules
    • kindstringRequired in this branch

      Value: "snapshot"

    • providersarrayRequired in this branch

      maxItems: 100

      View nested fields
      • []oneOf (object | object)Array item

        Exactly one of these variants must match.

        View nested fields
        • oneOf 1 · removed = falseobjectSchema branch
          View branch fields and rules
          • providerIdstring · uuidRequired in this branch
          • versionstringRequired in this branch

            Opaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes.

            pattern: "^prv:[a-f0-9-]{36}:[a-f0-9]{64}$"

          • nameobjectRequired in this branch
            View nested fields
            • hestringRequired in this branch
            • arstringRequired in this branch
            • enstringRequired in this branch
            • additionalPropertiesno value allowedSchema rule
          • emailstring | nullRequired in this branch
          • phonestring | nullRequired in this branch

            Ordinary provider contact text; no customer phone proof, consent, sender connection or login authority.

          • colorstringRequired in this branch

            Stored custom color text, including legacy values.

          • isActivebooleanRequired in this branch
          • hasLinkedUserbooleanRequired in this branch

            Only a linkage indicator. No user identity, login credentials or user-management permission.

          • assignmentoneOf (object | object)Required in this branch

            Exactly one of these variants must match.

            View nested fields
            • oneOf 1 · mode = "all"objectSchema branch
              View branch fields and rules
              • modestringRequired in this branch

                Value: "all"

              • serviceIdsarrayRequired in this branch

                minItems: 0maxItems: 0uniqueItems: true

                View nested fields
                • []string · uuidArray item
              • additionalPropertiesno value allowedSchema rule
            • oneOf 2 · mode = "selected"objectSchema branch
              View branch fields and rules
              • modestringRequired in this branch

                Value: "selected"

              • serviceIdsarrayRequired in this branch

                minItems: 1maxItems: 1000uniqueItems: true

                View nested fields
                • []string · uuidArray item
              • additionalPropertiesno value allowedSchema rule
          • activityEffectsobjectRequired in this branch
            View nested fields
            • activatestringRequired in this branch

              Allowed values: ["none","managed_booking_unavailable","managed_booking_restored"]

            • deactivatestringRequired in this branch

              Allowed values: ["none","managed_booking_unavailable","managed_booking_restored"]

            • additionalPropertiesno value allowedSchema rule
          • displayOrderinteger | nullRequired in this branch

            Current stored ordering; does not widen selected provider authority. Use providerId to break ties.

            minimum: -2147483648maximum: 2147483647

          • removedbooleanRequired in this branch

            Value: false

          • additionalPropertiesno value allowedSchema rule
        • oneOf 2 · removed = trueobjectSchema branch
          View branch fields and rules
          • providerIdstring · uuidRequired in this branch
          • removedbooleanRequired in this branch

            Value: true

          • additionalPropertiesno value allowedSchema rule
    • nextCursorstring · uuidRequired in this branch
    • hasMorebooleanRequired in this branch
    • watermarkintegerRequired in this branch

      minimum: 0maximum: 9007199254740991

    • projectionEpochstringRequired in this branch

      pattern: "^[a-f0-9]{64}$"

    • additionalPropertiesno value allowedSchema rule
  • oneOf 2 · kind = "changes"objectSchema branch
    View branch fields and rules
    • kindstringRequired in this branch

      Value: "changes"

    • eventsarrayRequired in this branch

      maxItems: 100

      View nested fields
      • []objectArray item

        Metadata signal with current authorized hydration. A removal signal can have a newer non-null current value. Apply current, not type alone. Sequence is not the resource ETag; changedFields are invalidation categories, not historical values.

        View nested fields
        • eventIdstring · uuidRequired in this branch
        • sequenceintegerRequired in this branch

          minimum: 1maximum: 9007199254740991

        • typestringRequired in this branch

          Allowed values: ["upsert","removed"]

        • changedFieldsarrayRequired in this branch

          maxItems: 64minItems: 1uniqueItems: true

          View nested fields
          • []stringArray item

            Allowed values: ["*","version","name","email","phone","color","isActive","hasLinkedUser","assignment","activityEffects","displayOrder"]

        • providerIdstring · uuidRequired in this branch
        • sourcestringRequired in this branch

          Value: "crad_provider"

        • currentanyOf (object | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1objectSchema branch
            View branch fields and rules
            • providerIdstring · uuidRequired in this branch
            • versionstringRequired in this branch

              Opaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes.

              pattern: "^prv:[a-f0-9-]{36}:[a-f0-9]{64}$"

            • nameobjectRequired in this branch
              View nested fields
              • hestringRequired in this branch
              • arstringRequired in this branch
              • enstringRequired in this branch
              • additionalPropertiesno value allowedSchema rule
            • emailstring | nullRequired in this branch
            • phonestring | nullRequired in this branch

              Ordinary provider contact text; no customer phone proof, consent, sender connection or login authority.

            • colorstringRequired in this branch

              Stored custom color text, including legacy values.

            • isActivebooleanRequired in this branch
            • hasLinkedUserbooleanRequired in this branch

              Only a linkage indicator. No user identity, login credentials or user-management permission.

            • assignmentoneOf (object | object)Required in this branch

              Exactly one of these variants must match.

              View nested fields
              • oneOf 1 · mode = "all"objectSchema branch
                View branch fields and rules
                • modestringRequired in this branch

                  Value: "all"

                • serviceIdsarrayRequired in this branch

                  minItems: 0maxItems: 0uniqueItems: true

                  View nested fields
                  • []string · uuidArray item
                • additionalPropertiesno value allowedSchema rule
              • oneOf 2 · mode = "selected"objectSchema branch
                View branch fields and rules
                • modestringRequired in this branch

                  Value: "selected"

                • serviceIdsarrayRequired in this branch

                  minItems: 1maxItems: 1000uniqueItems: true

                  View nested fields
                  • []string · uuidArray item
                • additionalPropertiesno value allowedSchema rule
            • activityEffectsobjectRequired in this branch
              View nested fields
              • activatestringRequired in this branch

                Allowed values: ["none","managed_booking_unavailable","managed_booking_restored"]

              • deactivatestringRequired in this branch

                Allowed values: ["none","managed_booking_unavailable","managed_booking_restored"]

              • additionalPropertiesno value allowedSchema rule
            • displayOrderinteger | nullRequired in this branch

              Current stored ordering; does not widen selected provider authority. Use providerId to break ties.

              minimum: -2147483648maximum: 2147483647

            • additionalPropertiesno value allowedSchema rule
          • anyOf 2nullSchema branch
        • additionalPropertiesno value allowedSchema rule
    • nextCursorstring · uuidRequired in this branch
    • hasMorebooleanRequired in this branch
    • watermarkintegerRequired in this branch

      minimum: 0maximum: 9007199254740991

    • projectionEpochstringRequired in this branch

      pattern: "^[a-f0-9]{64}$"

    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "snapshot"
        },
        "providers": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "providerId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "version": {
                    "type": "string",
                    "pattern": "^prv:[a-f0-9-]{36}:[a-f0-9]{64}$",
                    "description": "Opaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes."
                  },
                  "name": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "he": {
                        "type": "string"
                      },
                      "ar": {
                        "type": "string"
                      },
                      "en": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "he",
                      "ar",
                      "en"
                    ]
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Ordinary provider contact text; no customer phone proof, consent, sender connection or login authority."
                  },
                  "color": {
                    "type": "string",
                    "description": "Stored custom color text, including legacy values."
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "hasLinkedUser": {
                    "type": "boolean",
                    "description": "Only a linkage indicator. No user identity, login credentials or user-management permission."
                  },
                  "assignment": {
                    "oneOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "mode": {
                            "const": "all"
                          },
                          "serviceIds": {
                            "type": "array",
                            "minItems": 0,
                            "maxItems": 0,
                            "uniqueItems": true,
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "required": [
                          "mode",
                          "serviceIds"
                        ]
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "mode": {
                            "const": "selected"
                          },
                          "serviceIds": {
                            "type": "array",
                            "minItems": 1,
                            "maxItems": 1000,
                            "uniqueItems": true,
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        },
                        "required": [
                          "mode",
                          "serviceIds"
                        ]
                      }
                    ]
                  },
                  "activityEffects": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "activate": {
                        "enum": [
                          "none",
                          "managed_booking_unavailable",
                          "managed_booking_restored"
                        ]
                      },
                      "deactivate": {
                        "enum": [
                          "none",
                          "managed_booking_unavailable",
                          "managed_booking_restored"
                        ]
                      }
                    },
                    "required": [
                      "activate",
                      "deactivate"
                    ]
                  },
                  "displayOrder": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": -2147483648,
                    "maximum": 2147483647,
                    "description": "Current stored ordering; does not widen selected provider authority. Use providerId to break ties."
                  },
                  "removed": {
                    "const": false
                  }
                },
                "required": [
                  "providerId",
                  "version",
                  "name",
                  "email",
                  "phone",
                  "color",
                  "isActive",
                  "hasLinkedUser",
                  "assignment",
                  "activityEffects",
                  "displayOrder",
                  "removed"
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "providerId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "removed": {
                    "const": true
                  }
                },
                "required": [
                  "providerId",
                  "removed"
                ]
              }
            ]
          },
          "maxItems": 100
        },
        "nextCursor": {
          "type": "string",
          "format": "uuid"
        },
        "hasMore": {
          "type": "boolean"
        },
        "watermark": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "projectionEpoch": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "providers",
        "nextCursor",
        "hasMore",
        "watermark",
        "projectionEpoch"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "changes"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "eventId": {
                "type": "string",
                "format": "uuid"
              },
              "sequence": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "type": {
                "enum": [
                  "upsert",
                  "removed"
                ]
              },
              "changedFields": {
                "type": "array",
                "items": {
                  "enum": [
                    "*",
                    "version",
                    "name",
                    "email",
                    "phone",
                    "color",
                    "isActive",
                    "hasLinkedUser",
                    "assignment",
                    "activityEffects",
                    "displayOrder"
                  ]
                },
                "maxItems": 64,
                "minItems": 1,
                "uniqueItems": true
              },
              "providerId": {
                "type": "string",
                "format": "uuid"
              },
              "source": {
                "const": "crad_provider"
              },
              "current": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "providerId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "version": {
                        "type": "string",
                        "pattern": "^prv:[a-f0-9-]{36}:[a-f0-9]{64}$",
                        "description": "Opaque current provider aggregate version. Preserve exactly as returned; it can change after metadata, links, provider policy or relevant managed-booking readiness changes."
                      },
                      "name": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "he": {
                            "type": "string"
                          },
                          "ar": {
                            "type": "string"
                          },
                          "en": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "he",
                          "ar",
                          "en"
                        ]
                      },
                      "email": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Ordinary provider contact text; no customer phone proof, consent, sender connection or login authority."
                      },
                      "color": {
                        "type": "string",
                        "description": "Stored custom color text, including legacy values."
                      },
                      "isActive": {
                        "type": "boolean"
                      },
                      "hasLinkedUser": {
                        "type": "boolean",
                        "description": "Only a linkage indicator. No user identity, login credentials or user-management permission."
                      },
                      "assignment": {
                        "oneOf": [
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "mode": {
                                "const": "all"
                              },
                              "serviceIds": {
                                "type": "array",
                                "minItems": 0,
                                "maxItems": 0,
                                "uniqueItems": true,
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              }
                            },
                            "required": [
                              "mode",
                              "serviceIds"
                            ]
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "mode": {
                                "const": "selected"
                              },
                              "serviceIds": {
                                "type": "array",
                                "minItems": 1,
                                "maxItems": 1000,
                                "uniqueItems": true,
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              }
                            },
                            "required": [
                              "mode",
                              "serviceIds"
                            ]
                          }
                        ]
                      },
                      "activityEffects": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "activate": {
                            "enum": [
                              "none",
                              "managed_booking_unavailable",
                              "managed_booking_restored"
                            ]
                          },
                          "deactivate": {
                            "enum": [
                              "none",
                              "managed_booking_unavailable",
                              "managed_booking_restored"
                            ]
                          }
                        },
                        "required": [
                          "activate",
                          "deactivate"
                        ]
                      },
                      "displayOrder": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": -2147483648,
                        "maximum": 2147483647,
                        "description": "Current stored ordering; does not widen selected provider authority. Use providerId to break ties."
                      }
                    },
                    "required": [
                      "providerId",
                      "version",
                      "name",
                      "email",
                      "phone",
                      "color",
                      "isActive",
                      "hasLinkedUser",
                      "assignment",
                      "activityEffects",
                      "displayOrder"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "eventId",
              "sequence",
              "type",
              "changedFields",
              "providerId",
              "source",
              "current"
            ],
            "description": "Metadata signal with current authorized hydration. A removal signal can have a newer non-null current value. Apply current, not type alone. Sequence is not the resource ETag; changedFields are invalidation categories, not historical values."
          },
          "maxItems": 100
        },
        "nextCursor": {
          "type": "string",
          "format": "uuid"
        },
        "hasMore": {
          "type": "boolean"
        },
        "watermark": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "projectionEpoch": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "events",
        "nextCursor",
        "hasMore",
        "watermark",
        "projectionEpoch"
      ]
    }
  ],
  "description": "Current-state page. Atomically apply data and nextCursor even when events is empty. Do not combine the two independent feeds as a historical snapshot; fresh quote/availability remains required before booking."
}

Errors and recovery

Error responses declared in the contract (8)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Missing, invalid or expired server Management credential.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
403 · Current tenant, integration, scope or resource access refused. Browser Origin is refused.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
405 · Unsupported method.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
409 · Authority projection changed, incomplete cursor, stale checkpoint or conflicting operation. Rebootstrap when required; never discard the original uncertain ACK.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
410 · Cursor, membership or retained change history expired; restart bootstrap or a fresh customer query.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Malformed request, cursor, query or precondition.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Request or snapshot limit reached; honor Retry-After.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Temporary failure. Read operations can retry; retain an uncertain checkpoint’s original operation UUID and exact cursor.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}