Skip to main content
Building a managed platform? Contact contact@bijection.com with any questions.
You can provision and manage Bijection projects and deployments with the Management API, served by Bijection’s management service at https://brain.bijection.com. A typed client for the Management API is available in the @bijectionhq/management package.

Branch review

Review and land branches through your app’s exposed functions. The functions call the kernel’s branch acts with the caller’s grants and guards. See the branch workflow. A branch’s decision impact is the app’s own query, not the review’s: kept.review(decide, { allow }) of @bijectionhq/library-decisions, placed in the app tree. decisionImpact(client, review, branch, { cursor }) of @bijectionhq/library-decisions/client calls it through any client its allow admits and answers one page. The branch comparison requires the original Program and table generations through the reviewed identity migration. Pass a page’s next as cursor for the next page.

Authorization

The Management API uses a Bearer token Authorization header.
Team Access Tokens and OAuth Application Tokens can be used in Bearer tokens depending on whether you are using the Management API on behalf of your own team or on behalf of the team of a user of a Bijection integration you’ve built. A team access token acts with the current roles of the member who created it; an application token acts with the current role of the member who authorized it. Every request is checked against the token’s current authority: another team’s resources answer 404, exactly as ones that do not exist.

Required Parameters

Most Management APIs require a team ID or project ID. When creating a Team Access Token the team ID will be available in the Bijection console. OAuth applications may request the team (or project, if using project-scoped tokens) ID by calling the Token Details endpoint (GET /v1/token_details). When using a team token, projects will be assigned IDs upon creation. The List Projects endpoint may also be used to retrieve the ID for a project.

Responses

All API responses are in JSON format. An error from the project, deployment and team routes has a code and a message; the management service’s own operations answer problem details with a detail and an errorCode. A capability unavailable for the selected deployment or installation answers FeatureUnavailable. Inspect the deployment capability response before requesting runtime changes. Project and deployment transfers, supported deployment controls and action-restricted credentials have explicit authority checks.

Stability during the design phase

Bijection-native management operations are in the design phase. Their request, response and stored-resource contracts may change directly, including within the /v1 protocol family. There is currently no stable-API deprecation window or twelve-month removal commitment. Use generated SDKs from the same release as your management installation and review its operation contracts when upgrading. This policy concerns Bijection-native operations; inherited project, deployment and team routes retain their existing contracts. An operation’s published contract states its availability and requirements. There is no general preview=true switch that enables undocumented operations. The service’s OpenAPI document covers the native operations listed below.

Request limits and retries

The current management service admits requests through token buckets. Each request consumes its client-address allowance and, when it presents a bearer credential, that credential’s allowance. A method other than GET, HEAD or OPTIONS also consumes the credential’s write allowance. These are admission controls per management-service process, not a global per-user quota or a throughput guarantee. Each process admits at most 256 requests concurrently. Sign-in, device authorization, session refresh and some resource-specific operations have additional limits. Requests behind one NAT share the address allowance; creating another credential does not bypass it. A rate refusal returns 429 with RateLimited; the process concurrency ceiling returns 503 with Overloaded. Both include Retry-After, retryAfterSeconds and a limit name. Wait at least the indicated interval, use bounded retries with jitter and reduce concurrent work. Keep the original Idempotency-Key and exact request body when retrying an operation that supports that header. For an accepted asynchronous request, observe its retained request identity rather than submit the same work under a new key. A connection failure after submission does not establish whether a mutation was accepted.

Endpoints

An OpenAPI document for the management service’s native operations (releases, clones, credentials and usage) is available at https://brain.bijection.com/openapi.json. The project, deployment and team routes under /v1 that this page uses are not part of it.