Environments
Cedius distinguishes test and live usage through API-key prefixes.
Portfolio note: This environment model is part of an illustrative API specification.
Test mode
text
cedius_test_sk_Use test mode for development, request validation, workflow experiments, and automated tests.
Live mode
text
cedius_live_sk_In a real implementation, live requests would affect production business data.
Base URL
Both modes use the same illustrative base URL:
text
https://api.cedius.app/v1The API key determines the environment.
Example configuration
Development:
env
CEDIUS_API_KEY=cedius_test_sk_exampleProduction:
env
CEDIUS_API_KEY=cedius_live_sk_your_secret_keyDo not commit .env files containing real credentials.
Moving from test to live
- Build and test with a test key.
- Verify validation and error handling.
- Store credentials server-side.
- Replace the test key in production.
- Run a controlled production request.
- Monitor request IDs and logs.