Nirmos

Nirmos API Reference

Explore the Nirmos Control Plane REST API.

The Nirmos Control Plane API lets you manage Nirmos resources programmatically. Explore request parameters, request bodies, authentication, response schemas, errors, and examples.

Base API

Use your configured Control Plane API origin. Local development defaults to http://localhost:4001. Endpoint paths include /v1. The playground origin uses NEXT_PUBLIC_NIRMOS_API_URL when configured; you can change its origin variable to your own API host. No production hostname is assumed.

Authentication

  • Nirmos organization API key: send x-api-key for operations that support organization keys.
  • Session authentication: use your existing Better Auth session where required. Organization and API key management and human reviews require sessions.

Each endpoint lists its supported security schemes. Browser sessions use HTTP-only cookies; JavaScript cannot set the Cookie header manually. Session mutations require a trusted Origin. The playground sends requests directly to your chosen API origin, which must allow the docs origin through CORS.

API groups

On this page