Retrieve a tenant's configuration for a specific type
GET/tenant-configurations/by-configuration-type/:configurationTypeId
Returns the stored configuration record for the given configurationTypeId and the tenant identified by the required tenant-id header.
Special behavior for tenant-timezone-config: if no record has been persisted for this tenant, the endpoint synthesizes and returns a default record using timezone America/New_York. In this synthetic default case the id, namespace, updatedAt, and createdAt fields of the returned TenantConfigurationItemDto are null.
The response is a TenantConfigurationItemDto. This shape differs from the flat TenantTimezoneResponse returned by the POST endpoint on the same path.
Use this endpoint to read a single configuration type. To read all types in one call, use GET /tenant-configurations. Results from this path are served from a server-side cache keyed by tenant and configuration type, so a write via the POST endpoint may not be immediately visible here.
Preconditions: the tenant-id header must be present; omitting it returns 400. Supplying a configurationTypeId for which no record exists (and which is not tenant-timezone-config) returns 404.
Request
Responses
- 200
- 400
- 401
- 404
- 500
- 502
- 503
The stored configuration record for the requested type, or — for tenant-timezone-config with nothing persisted — a synthesized default record with null id/namespace/timestamps.
Request rejected because the required tenant-id header (or the configurationTypeId path parameter) is missing or blank. Supply both and retry.
Authentication token is missing, expired, or invalid. Obtain a valid JWT and retry.
No configuration record exists for the given configurationTypeId (applies to types other than tenant-timezone-config, which always returns a synthesized default). The response body is empty.
An unexpected error occurred while reading the configuration from the data store, or the record could not be serialized. The response body is a bare {"error": "..."} object, not the structured ApiError shape used elsewhere in this API. The request was not fulfilled; retry after a short delay.
The downstream data store (DAL) returned a server error (5xx) while reading the configuration. Retry after a short delay and escalate if it persists.
Unable to connect to the downstream data store (network/connectivity failure). Retry after a short delay.