Verifying Your Build
Overview
Before connecting your gateway to Moveworks, use the included validate.py script to confirm that every endpoint on your running server returns responses that conform to the Content Gateway API schema.
The validator works against any source system — it tests protocol conformance, not content. Run it against the demo server before writing any code, and again after connecting your real source.
Requirements
- Your gateway server must be running and reachable
GATEWAY_API_KEYset to the key your server expectsrequestsinstalled (pip install -r requirements.txt)
Running the validator
Files only — use this when your Strategy Config is set to Public to all members:
Full validation including users, groups, and permissions — use this when your Strategy Config is set to ReBAC:
Against a deployed server:
What it checks
Files only (default)
Additional checks with --rebac
Example output
If a check fails
The validator prints exactly which field is missing or malformed. The most common causes: