Contents
BrainStableVersion v1

Operations API

Read and manage the projects of Nucleo Operations, their budget and margin, Slack channels and calls, the Slack thread of a task and its coding agent, and the requests to move a task's dates.

The REST API behind Operations in Nucleo Brain: client, supplier and internal projects with their budget, the project's financial forecast, and schedule shifts — a person asks to move a task's dates with a reason, the project manager approves or rejects.

Authentication. A Nucleo access token (Authorization: Bearer <access_token>) of a person, from Nucleo sign-in (auth.nucleoplatform.com, OpenID Connect) with a client that Nucleo registered for you. Every call runs with that person's permissions. Tokens of self-registered AI clients (scope nucleo.ai_tools) work only on the AI Tools API and are refused here with 401.

Company. Every call runs inside one company. Send X-Nucleo-Company with the company's public id (or numeric id). It can be left out when the token already names a company or the person belongs to only one; otherwise the answer is 400. A company the person cannot enter answers 403.

Conventions

  • Send Accept: application/json: without it, validation errors are not returned as JSON.
  • JSON in UTF-8, snake_case field names. Dates are YYYY-MM-DD; timestamps are ISO 8601.
  • Money is in cents (budget_cents, integer) with a three-letter currency.
  • Errors: {"message": "..."}. Validation errors (422) add errors, the messages per field.
  • Permissions are named per call (projects.view, finance.view, tasks.manage…). A missing permission answers 403.

Authentication

  • nucleoOidcHTTP bearer

    A person's access token from Nucleo sign-in (auth.nucleoplatform.com), issued to a client that Nucleo registered: Authorization: Bearer <access_token>. Tokens of self-registered AI clients are refused.

Base URL
https://api-brain.nucleoplatform.com/api/v1Production
Who calls it
Your servers
Endpoints
33
OpenAPI 3.1 specification
operations.yaml

Resources

Each resource has its own page with every endpoint, parameter and example.

Tasks

Slack thread of a task. A task created from Slack (by mentioning @Nucleo or with Create task in Nucleo on a message), or linked to a thread, carries that thread in slack_threads of GET /tasks/{task}: channel, author of the first message, link to the thread and a two-to-three-line summary written by Atomo. The messages of the thread are never stored in Nucleo, only the summary. Tasks created in Nucleo have an empty list.

Schedule shifts

A request to move a task's dates, with a reason. The request is made for the person assigned to the task and waits for a decision; the history stays after the decision.