Overview
Both collections include every RLAAS API endpoint — decisions, policy CRUD, lifecycle, analytics, and health — with a pre-configured environment so you can start testing immediately.
Endpoints
25+
Environments
Local + Production
Auth
Pre-configured
Formats
Insomnia v4, Postman v2.1
Global variables: Both collections use environment variables for
base_url, api_key, org_id, and tenant_id. Change them once and every request updates automatically.
Insomnia Collection
The Insomnia collection uses the v4 export format with workspace-level environment variables and folder grouping.
RLAAS — Insomnia Collection
Insomnia v4 export with environments & folder structure.
Download Insomnia CollectionWhat's included
- Workspace environment —
base_url,api_key,org_id,tenant_idset globally - Decisions folder —
POST /v1/check,POST /v1/acquire,POST /v1/release - Policies folder — CRUD, validate, rollout, rollback, versions
- Analytics folder — summary, audit trail
- Health folder —
GET /healthz,GET /readyz
Postman Collection
The Postman collection uses Collection v2.1 format with a companion environment file.
RLAAS — Postman Collection
Postman v2.1 collection + environment file.
Download Collection Download EnvironmentWhat's included
- Collection variables —
{{base_url}},{{api_key}},{{org_id}},{{tenant_id}} - Pre-request scripts — automatic auth header injection
- Test scripts — basic assertions on every request (status code, response shape)
- All endpoint folders — same structure as Insomnia collection
Environment Setup
Both collections ship with two environments. Switch between them to test locally or against production.
| Variable | Local | Production |
|---|---|---|
base_url | http://localhost:8080 | https://rlaas.your-company.com |
api_key | dev-key-change-me | (your production key) |
org_id | acme | (your org) |
tenant_id | default | (your tenant) |
Security: Never commit production API keys to source control. Use Insomnia's encrypted vault or Postman's secret variable type.
Included Endpoints
Every collection covers the full RLAAS API surface:
| Category | Method | Endpoint | Description |
|---|---|---|---|
| Decisions | POST | /v1/check | Evaluate a rate-limit decision |
POST | /v1/acquire | Acquire a concurrency lease | |
POST | /v1/release | Release a concurrency lease | |
| Policies | GET | /v1/policies | List all policies |
GET | /v1/policies/:id | Get a single policy | |
POST | /v1/policies | Create a policy | |
PUT | /v1/policies/:id | Update a policy | |
DELETE | /v1/policies/:id | Delete a policy | |
| Lifecycle | POST | /v1/policies/:id/validate | Validate policy config |
POST | /v1/policies/:id/rollout | Update rollout percentage | |
POST | /v1/policies/:id/rollback | Rollback to a previous version | |
| Analytics | GET | /v1/analytics/summary | Top policies by traffic |
GET | /v1/policies/:id/audit | Audit trail for a policy | |
GET | /v1/policies/:id/versions | Version history | |
| Health | GET | /healthz | Liveness probe |
GET | /readyz | Readiness probe |
Import Guide
Insomnia
- Open Insomnia → File → Import
- Select
rlaas-insomnia.json - Choose the Local or Production environment from the top-left dropdown
- Update
api_keyin the environment if needed - Click any request and hit Send
Postman
- Open Postman → Import (top-left)
- Drag both
rlaas-postman-collection.jsonandrlaas-postman-environment.json - Select the RLAAS Local environment from the top-right environment picker
- Update
api_keyandbase_urlfor your setup - Open any folder, pick a request, and hit Send
Tip: Both collections include example request bodies with realistic payloads. Modify the
org_id, user_id, and endpoint fields to match your real services.