Sync the service catalog index
Start building a new generation of the connection's local service index from the provider's complete master catalog, professional directory and active professionals' configured services, or resume the one building. It reads in bounded batches between other calls, checks that the provider's totals stay constant and every id appears once, and publishes the generation only when complete; until then the previous generation keeps serving searches. A sync started in the last ten minutes that did not fail is not repeated. Answers the index's state.
- Scope:
oficlinic:services:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes
- Limits: request body up to 4 KB, response up to 64 KB
- CLI:
arbol oficlinic service-catalog sync· not available on MCP
POST
https://api.getarbol.com/v1/oficlinic/service-catalog/syncAuthorization
Request body JSON required
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.
401
UNAUTHORIZED: A valid access token is required.
403
FORBIDDEN: The token does not authorize this operation.
404
CONNECTION_NOT_FOUND: The connection does not exist in this organization.
409
CONNECTION_REQUIRED: The organization has several active connections: select one.CONNECTION_NOT_ACTIVE: The connection is not active.REAUTHENTICATION_REQUIRED: Provider sign-in is stopped for this connection. Verify the connection again.
413
REQUEST_TOO_LARGE: The request exceeds the allowed size.
415
UNSUPPORTED_MEDIA_TYPE: The request content type is not supported.
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.
500
INTERNAL_ERROR: The service could not complete the operation.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.PROVIDER_PROTOCOL_CHANGED: The provider returned an unrecognized response.