norbix_api library
Project-scoped Norbix API (https://api.norbix.ai).
Resources are exposed directly on NorbixApi:
final api = NorbixApi();
await api.users.getUsers();
await api.auth.authenticate();
Classes
- ApiKeysResource
- API keys for the current project / environment.
- AuthResource
- Authentication: API keys, access tokens, OAuth providers.
- HttpClientDriver
-
Default driver, backed by
package:http. - HttpDriver
-
Pluggable HTTP driver. Default is the standard
package:httpclient. Tests injectMockClient; Flutter apps can swap indioor a custom pinned-cert client by implementing this interface. - HttpDriverRequest
- HttpDriverResponse
- NorbixApi
- Norbix Api client.
- NorbixConfig
- Base configuration for any Norbix SDK client.
- Resource
-
Base class for every resource module (e.g.
UsersResource,ProjectsResource). Holds the shared Transport so resources can be constructed lazily by the client. - Transport
-
Internal HTTP transport used by every resource. You should not construct
this directly — the per-host clients (
NorbixApi,NorbixHub) own one. - UsersResource
- Project membership users (create, list, block, invite, register variants).
Constants
- kNorbixApiDefaultBaseUrl → const String
- Default base URL for the public Norbix Api host.
Exceptions / Errors
- NorbixAuthError
- 401 / 403 — invalid or missing credentials.
- NorbixClientError
- 4xx other than 401/403/404/429.
- NorbixError
- Base exception thrown by every Norbix call.
- NorbixNotFoundError
- 404 — resource does not exist.
- NorbixRateLimitError
-
429 — rate limited.
Retry-After(seconds) is in details when present. - NorbixServerError
- 5xx — server-side failure.
- NorbixTransportError
- Network or timeout failure (no HTTP status).