Warrant: API Design & Integration Surface
Docs-backedWarrant's REST API covers four core operations: write a warrant (grant permission), read warrants (query relationships), check access (single or batch permission check), and query (list objects a user can access). The access check endpoint is optimized for low-latency use in hot paths. JSON request/response. SDK support: TypeScript/Node, Python, Go, Java. The API design follows Zanzibar semantics: (subject, relation, object) triples. Batch check and query endpoints support complex authorization scenarios.