The ServerInfo API returns metadata about the Cerbos server instance, including its version, commit hash, and build date. This is useful for verifying which version of Cerbos is running and for debugging purposes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cerbos/cerbos/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request Parameters
This endpoint does not require any parameters.Response Fields
The version of the Cerbos server.Example:
"0.35.0"The git commit hash of the build.Example:
"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0"The date when the server binary was built.Example:
"2024-01-15T10:30:00Z"Example
Use Cases
Health Checks
Use ServerInfo as part of your application’s health check to verify that the Cerbos server is running:Version Verification
Verify that your Cerbos instance is running the expected version:Build Information
Retrieve detailed build information for debugging:Monitoring and Observability
Include server information in your monitoring and observability platform:Notes
- This endpoint does not require authentication by default
- The endpoint is available on both the HTTP and gRPC interfaces
- The response format is the same regardless of the request method
- This is a lightweight endpoint suitable for frequent health checks