Customer surface Postman collection
- Collection:
backend/lamba/docs/contract/postman/lamba-customer-surface.postman_collection.json - Environment:
backend/lamba/docs/contract/postman/lamba-customer-test.postman_environment.json - Inventory:
backend/lamba/docs/contract/postman/lamba-customer-endpoint-inventory.md
Recommended variables:
authBaseUrlapiBaseUrlaccessTokenrefreshTokenworkspaceIdprojectIdenvironmentadminLoginadminPassword
Suggested workflow:
- Import the customer collection and test environment.
- Set
authBaseUrlandapiBaseUrl. - Run
Auth - RegisterorAuth - Password login, thenAuth - Switch context. - Use the runnable folders for
me/*andadmin/*. - Treat the inventory file as the source for manual-only browser or wallet flows.
Notes:
- This package is
customer contract only. It stays onid.*plusapi.*. - The collection prerequest script removes
X-Tenant-IdandX-Project-Id. /v1/admin/*requests do not bootstrap fixtures. They expect sandboxworkspaceId,projectId, and an admin-capable user session when needed.- Browser-dependent
/connect/authorize, social login redirects, and Web3 verification stay out of the runnable collection and are listed under the inventory's manual-only section. - Re-generate the customer assets with:
node backend/lamba/scripts/generate-customer-postman.js
node backend/lamba/scripts/generate-customer-postman.js --check
Platform OpenAPI exports
Internal console/app OpenAPI documents stay on platformapi:
curl -fsS https://test.platformapi.uselamba.com/openapi/v1.json -o openapi-platform.json
npx @redocly/cli@latest bundle openapi-platform.json -o openapi-platform.yml
curl -fsS https://test.platformapi.uselamba.com/platform/openapi/v1.json -o openapi-console-bff.json
npx @redocly/cli@latest bundle openapi-console-bff.json -o openapi-console-bff.yml
Customer products should not treat those internal platform documents as the public runtime contract.
Internal console Postman assets also stay on platformapi:
- Collection:
backend/lamba/docs/contract/postman/lamba-console-bff.postman_collection.json - Environment:
backend/lamba/docs/contract/postman/lamba-console-test.postman_environment.json
Those files are for Lamba console/app flows that still use platformapi plus X-Tenant-Id / X-Project-Id where required. They are not the public customer contract.
Quality gates
- Keep collection examples in sync with production contracts.
- Include one happy-path and one error-path example for each critical endpoint group.
- Use OpenAPI diff checks only for the
platformapisurface that actually publishes OpenAPI.
Related docs
- API overview:
/docs/reference/api-overview - Plan enforcement:
/docs/concepts/plan-enforcement