Get Operational Readiness
Get operational readiness status for the current tenant.
Checks if the tenant has all required entities configured and active:
- Principal issuer (oldest by created_at)
- Active certificate for that issuer
- Establishment (oldest by created_at)
- Emission point (oldest by created_at)
The environment is derived from the principal issuer or certificate. The tenant is considered operational if all four entities are present and active.
All database operations use async/await for non-blocking I/O.
Args: db: Async database session tenant_id: Active tenant ID from authentication context current_user: Current user context from authentication
Returns: OperationalReadinessResponse: Aggregated readiness status with entity details
Cookies
Response
Successful Response
Full operational readiness response for a tenant.
Schema for Issuer response.
Schema for Certificate response (without sensitive data).
Schema for Establishment response.
Schema for EmissionPoint response.
SRI environment types.
TEST, PRODUCTION Boolean flags summarising operational readiness.