Skip to content

Opsifier API

The API lives under /api/v1. Everything the web app does goes through it, so what you can do by hand you can script. The full reference, every operation and schema, is in the panel at Settings → API reference, and as OpenAPI 3.1 at /api/v1/openapi.json, for a signed-in session or an API key: since 0.4.1 it is no longer served to anonymous callers.

Send an API key as a bearer token:

Terminal window
curl -H "Authorization: Bearer $OPSIFIER_API_KEY" https://your-panel/api/v1/projects

Create keys on Settings → API keys. A key is shown once, stored only as a hash, expires (90 days unless you choose otherwise, at most 365), and can be revoked at any time.

A key can do at most what its owner can, at the moment each request is made, narrowed by:

  • its level: read keys can only make safe requests.
  • its projects: a key limited to some projects sees nothing outside them.

Accounts, API keys, server settings, panel updates, custom domains and deployment triggers are out of reach of every key, including an administrator’s. Those take a person signed in at a browser. Changing an account’s rights, email or password revokes its keys.

GET /api/v1/auth/identity answers who a credential speaks for and what it may do: its owner, its level and projects, the role it holds in each, any role in every project that will also reach the projects to come, and every operation it may call right now, judged by the same rules every route applies. It is how a client shows only what will work. It grants nothing: every request is still checked when it is made.

The command line and the MCP server are clients of this API and nothing else, using these keys and subject to exactly these rights.

Role Can
Owner Everything, and cannot be demoted or deleted
Administrator Everything in the panel: projects, server settings, other accounts
Maintainer of a project What an operator can, and open a console in that project’s services
Operator of a project Configure, deploy and read logs in that project
Viewer of a project See that project’s inventory and states

A maintainer’s console stays out of a service that reaches the server through what only an administrator can give it: a path on the host, an added capability, or a Compose file whose access to the host someone confirmed. There, as everywhere, every console session is written to the activity log under the name of whoever opened it.

A member can also hold one of the three project roles in every project, allProjects on the account. It reaches every project there is when a request is made, so a project created later is in reach at once, and each project gets the stronger of that role and its own. It gives nothing of an administrator’s: no project to create or delete, no account, no server setting. Lowering or removing it takes rights away like any other change, and ends the account’s sessions and keys.

From a project, an administrator at a browser sees who reaches it and as what, with GET /api/v1/projects/{project}/members, and gives, changes or takes away the project’s own role of a member with PUT /api/v1/projects/{project}/members/{user} and { "role": "viewer" | "operator" | "maintainer" | null }. It is the same change as on the account: a lower role ends its sessions and keys. An administrator reaches every project, and a role in every project is changed on the account itself.

Anything outside what the caller may reach answers exactly as if it did not exist: 404. A forbidden action on something the caller can see is 403.

These rights organise people who trust each other, and projects are kept apart on the network. They do not isolate hostile tenants from each other: a published port is reachable by everyone, containers share a kernel, and anyone with access to the Docker socket controls the host.

Every error has this shape:

{
"error": {
"code": "validation_failed",
"message": "Some fields need attention.",
"fields": { "host": "Required" }
}
}
Status Meaning
400 The input is invalid, or has a field the route does not define. fields names each problem
401 Not signed in, or the key is not valid
403 Not allowed
404 Does not exist, or out of the caller’s reach
409 Conflicts with the current state, including a confirmation that does not match
503 The panel cannot take changes just now, such as storage_failing while it can’t save state

Anything slow returns 202 with the Action doing the work. Follow it at GET /api/v1/actions/{id}. Every Action records its origin: session, api_key, trigger, webhook or system, and the account behind it in actorEmail when there is one.

A CI job starts a deployment by POSTing to /api/v1/deploy with the service’s token as a bearer token:

Terminal window
curl -X POST -H "Authorization: Bearer $TOKEN" https://your-panel/api/v1/deploy

?forceRebuild skips the build cache. Generate the token on the Deployments tab of the service, or with POST /api/v1/projects/{project}/services/{service}/deployments/trigger/rotate from a browser session. It is shown once and stored only as a hash. GET .../deployments/trigger reports whether one exists, never its value. Replacing or revoking it (DELETE .../deployments/trigger) stops it working at once.

POST .../deployments/webhook/rotate from a browser session creates a webhook for the service’s repository and branch, or gives it a new secret. It answers with the address and a secret that is shown once, unless the panel installed it on GitHub itself, when nobody ever sees it. A Git host delivers to /api/v1/deploy/hook/{id}:

  • it must carry X-Hub-Signature-256, the HMAC-SHA256 of the body with that secret: unsigned deliveries are refused;
  • only a push to the repository and branch the webhook was issued for deploys, and it builds the branch’s tip, as any deploy does: after is only recorded. Anything else answers 200 with deployed: false and a reason;
  • a delivery already taken, by id or by content, answers 200 with reason: "duplicate", and starts nothing.

Changing the service’s repository or branch pauses the webhook: deliveries answer 409 webhook_paused until its secret is rotated, and the deployment token is revoked at the same moment.

GET, POST and DELETE /api/v1/settings/known-hosts, for a signed-in administrator, manage which SSH servers Git may connect to. POST /api/v1/settings/known-hosts/scan reads a server’s keys for comparison and saves nothing. A server with no entry, or whose key does not match its entry, is refused.

An administrator signed in at a browser invites people with POST /api/v1/users/invitations: up to 100 addresses at once, with one role and one set of project rights for all of them. Each address gets a link that works once and expires after 7 days, and only its hash is stored. With channel, the id of an SMTP notification channel, an Action e-mails each person their own link, which always points at the panel’s own address. Without it, the links are in the answer and nowhere else. An address repeated in the list, one that already has an account and one whose invitation is still waiting are reported in results and leave the others alone. An expired invitation is replaced.

GET /api/v1/users/invitations lists them with where each one stands (delivery). POST /api/v1/users/invitations/{invitation}/resend issues a new link, and the old one stops working. DELETE /api/v1/users/invitations/{invitation} takes one back. An invitation also ends when the administrator who sent it is demoted, deactivated or deleted.

The token is in the link’s fragment, so no server or proxy log holds it. The page it opens reads the invitation with POST /api/v1/auth/invitation/check, and POST /api/v1/auth/invitation/accept with token, name and password creates the account, signs it in and uses the link up. A link that does not work answers 404 invitation_invalid, and wrong links count against the address trying them.

The owner requires two-factor sign-in of every account with PUT /api/v1/settings/two-factor and { "required": true }, once their own account uses it: until then the answer is 409 two_factor_first. GET /api/v1/settings/two-factor says whether it is required, how many accounts in use don’t have it yet, and whether the caller may change it.

While it is required, an account without it can only turn it on. Every other request it makes answers 403 two_factor_setup_required, its API keys included, and GET /api/v1/auth/session says twoFactorSetupRequired: true. As soon as it has turned it on, everything works again. Turning off one’s own two-factor sign-in answers 409 two_factor_required_by_policy while the rule stands.

What was already configured keeps working unless this says otherwise:

Configured before After upgrading
A deployment token Keeps working as a bearer token and in its old /api/v1/deploy/<token> URL until it is replaced. Its value can no longer be read back from the panel.
A webhook the panel installed on GitHub Keeps working at its old address, signed with the old token, until it is rotated or the service’s token is replaced, which moves it to its own secret.
A webhook added by hand, with the token as its secret Keeps working at its old address, and goes when the token is replaced. A new one is created on the Deployments tab.
A webhook added by hand with no secret Refused: an unsigned delivery proves nothing. Create a webhook with a secret.
An SSH remote Hosts connected to before are imported into Known hosts at the first boot, so they keep working. A new host has to be added there first.
An SSH deploy key Tied to the repository of its current source, if it has one, and refused for any other.
A GitHub source using the panel’s token Keeps the token for that repository. Pointing the service at another repository needs an administrator.
A stored registry password Stays with its image’s repository: changing only the tag keeps it, another repository asks for it again.
A stored notification password or signing secret Stays with its destination: an SMTP channel’s host, port and username, a webhook’s URL. Changing those asks for it again, for a test send as for a save. Clearing an SMTP username drops the password.
A Git remote that redirects, a renamed repository Fails: redirects are not followed, so it has to be saved under its new address. A running service is unaffected until a deploy.
Project and service variables Sealed at the first boot. Nothing about them changes for the running services.
A service that builds, with variables Its builds keep receiving its runtime variables, except anything sealed, until DELETE .../environment/build/inherited. New services do not.
A file of variables written before each build Stays in the build context, as it was. Saving the setting again has to say whether it may enter the image.
A Dockerfile whose syntax line asks for the labs frontend Builds with the stable frontend the panel pins, which has no labs features: an instruction or a flag only labs knows fails the build.
A server that can’t reach Docker Hub Can’t build a Dockerfile, or what Nixpacks writes, until it has fetched the panel’s pinned frontend from Docker Hub, once.
A build from an image only the panel’s Docker login can pull Fails: a build signs in to no registry with the panel’s credentials. The proxies of the panel’s Docker configuration still apply.
A Nixpacks or Railpack build on a panel run outside Docker Refused: Nixpacks and Railpack run only in a container of the panel’s own image, which such a panel can’t tell.
A project.toml that adds buildpacks Each image it names is checked and pulled first, written docker:// or not. One from the Buildpack Registry, or a folder or file: path that is outside the source or can’t be found in it, is refused.
A source or Compose stack with a name that is not UTF-8 text Refused, as is one whose names hold a control character such as a line break: rename it in the repository or the archive.
A database already deployed Stays as it is until its next deployment, which moves it onto its project’s network alone. Its names, port, password and connection strings stay the same.
A database another project reaches over the old shared network Its deployment is refused, saying why, until that service is changed: publish the database’s port and connect through the server’s address, or run both in one project.
A service pointing at another project’s database Its deployment is refused, saying why and offering the same way, since it could never have reached it.
A Compose file joining a network its project doesn’t own Stays running. Its next deployment is refused, confirmed or not: a project joins only its own networks.
Apps, Compose stacks and web tools already deployed Keep running and keep their domains. Their next deployment puts them on the project’s proxy network. The proxy leaves the project’s own network when the last of them has. Each of those moments restarts the proxy for a few seconds.
A Compose file the checks of 2026-11-18 refuse Keeps running, with what it mounts, until its next deployment, which is refused until the file changes, and while a running container of the stack holds what the new file mounts or reads: stop the stack first.
A Compose stack whose access to the server was confirmed Its next deployment asks once more: a confirmation now also covers what runs in the children that reach the server, and every file of the stack.
A Compose stack that builds from its own folder Its next deployment is refused while a child mounts read-write a folder inside a context the build walks: add it to that context’s .dockerignore, or mount it read-only. Local build caches stay out of mounted folders.
A Compose stack that builds Builds with the frontend the panel pins, whatever its Dockerfile or its arguments name, so a Dockerfile that needs another (a -labs one) fails. Its RUN --mount=type=cache caches start empty once, then stay its project’s.
A Compose build that starts FROM what another child builds Fails: a build pulls every image it starts from. Name that child as a context of the build, additional_contexts: { base: "service:base" }, and start FROM base.

GET .../environment, GET /api/v1/projects/{project}/env and GET .../environment/build answer with names. The values come from POST .../environment/reveal, POST /api/v1/projects/{project}/env/reveal and POST .../environment/build/reveal, each recorded in the activity log. A viewer can use none of these.

Set Route Reaches
Runtime variables PUT .../environment The container, at its next deploy
Build variables PUT .../environment/build The build, as arguments. It can stay in the image
Build secrets PUT .../environment/build/secrets/{name} One build step at a time. Can be replaced, never read back

GET .../services/{service}/releases lists the kept versions of an App and which of them can be gone back to, and GET .../releases/{number} says what going back would change. POST .../releases/{number}/rollback with { "confirm": "<service name>" } starts it as an Action, using the image already on the server with no pull, build or Git access: 409 when the image is gone, its kept tag was altered, its volumes are not the ones in use, or other work is active. Volumes and saved settings stay as they are. GET .../deployments/pending lists what the next deployment would change. PUT /api/v1/server/releases-kept sets how many versions each service keeps, from a browser session.

POST /api/v1/projects/{project}/services/definition takes the source, environment, domains, mounts and resources together, and deploys if you ask. If any part is refused, no service is left behind.

Lists that can grow take limit and cursor, and answer with nextCursor. A null cursor means the end.

The contract under /api/v1 is stable: fields are added, and a change that would break a client gets a new path instead. Every operation, input and answer field is recorded in api-surface.txt, and a test holds the document to that record: nothing can be removed, narrowed or added to the API without the file changing and a row being added here.

Date Change
2026-11-08 First published: API keys with levels, projects and expiry, project roles, stored metrics
2026-11-08 A body field a route does not define is a 400, a number in a URL is plain digits, and setup asks for the owner’s name
2026-11-08 Deployment tokens use POST /api/v1/deploy with a bearer header. Webhooks have their own secret, at /api/v1/deploy/hook/{id}. The old /api/v1/deploy/{token} still answers for tokens issued before, until they are replaced
2026-11-09 GET /api/v1/auth/identity says who a credential speaks for and which operations it may call. The opsifier command line and the MCP server are clients of the API, see docs/CLI.md and docs/MCP.md
2026-11-09 Actions and deployments can end uncertain, and GET /api/v1/system/storage says whether the panel can save its state
2026-11-09 Saved scripts have a maximum duration, a schedule with a stated time zone and an after-deployment hook. POST .../script-runs starts one, GET .../script-runs and GET .../script-runs/{id} are its history with origin, exit code and output, and POST .../script-runs/{id}/cancel stops one
2026-11-09 GET .../environment, GET .../env and GET .../database-advanced name variables instead of returning them, since a value in those answers is what had to stop. Saving a file of variables says whether it may enter the image
2026-11-09 Actions and deployments report the phase of their work. GET /api/v1/system/info says whether the panel is simulated. Accounts carry hostAdmin, for administering the server itself, which only the owner gives. A service’s notes can be hidden with PUT .../notes/visibility, shown as notesHidden
2026-11-09 Backups can hold a whole server, or only its users and roles (scope, and new format values for those), and a stored one downloads from GET .../backups/{backup}/download. GET .../database/availability tells a running process from an engine that accepts the panel’s credentials. Storage providers list the permissions they need. PUT .../database-advanced takes confirm and answers 409 for a move to another major version. PUT .../environment takes interpolation, and either field on its own
2026-11-09 Compose issues can carry foreign_network, and a deployment can be refused with compose_foreign_network when a stack would cross from one project into another
2026-11-09 Deployments record the requested and built commits, the OCI revision and the exact image. Kept versions, rollbacks and the list of what the next deployment would change: .../releases, .../deployments/pending
2026-11-09 GET /api/v1/server/docker says what this engine is missing (missing, minimumApiVersion), and a change Docker can’t run answers 503 docker_unsupported. PUT /api/v1/settings/github/oauth and POST .../oauth/start connect GitHub through an OAuth app you register, and a Buildpacks builder has to be pinned to a digest or a release
2026-11-09 A box is a service with chosen runtimes: POST /api/v1/projects/{project}/box makes one, GET .../box says what it holds and why it was built, and PUT .../box/modules, .../box/processes and .../box/hooks save what it contains. POST .../box/processes/{process}/restart restarts one process. PUT .../box/ide, POST .../box/ide/token and DELETE .../box/ide/token turn its browser IDE on, issue and revoke its token, and need a session. The IDE’s own routes are under /api/v1/ide/{project}/{service} and take only that token
2026-11-09 An opsifier.dev address is now asked for and approved. POST /api/v1/server/opsifier-address/register is replaced by POST and DELETE on /api/v1/server/opsifier-address/request, the address state gains requestedAt and the statuses requested and refused. These routes only ever accepted a signed-in session, so no API key client used them.
2026-11-12 Invitations: GET and POST /api/v1/users/invitations, POST .../invitations/{invitation}/resend and DELETE .../invitations/{invitation} for an administrator at a browser, and POST /api/v1/auth/invitation/check and .../accept for whoever holds a link
2026-11-12 PUT /api/v1/notifications/channels/{channel} and POST /api/v1/notifications/test no longer fill an empty secret with the stored one for another destination: a new SMTP host, port or username, or a new webhook URL, without the password or signing secret answers 400 secret_destination_changed with that field in fields, and nothing is saved or sent
2026-11-13 GET and PUT /api/v1/settings/two-factor require two-factor sign-in of every account. While it is required, an account without it gets 403 two_factor_setup_required on all but turning it on, and the session says twoFactorSetupRequired
2026-11-13 A Compose file’s checks can answer runs_program, for a service Compose would hand to a program of its own (provider, models), and foreign_image, for a build that would name its image outside the stack or an image only another project has. Both stop a deploy. The issues of GET .../compose include what the last deploy found the stack reaching through what Compose resolved, and acknowledgementRequired stays true until an administrator confirms it
2026-11-13 A member can hold a role in every project, those created later included: allProjects (viewer, operator or null) on accounts (/api/v1/users, where a PUT that leaves it out keeps it), on invitations (/api/v1/users/invitations) and in GET /api/v1/auth/identity. Each project gets the stronger of that role and its own, and lowering it ends the account’s sessions and keys
2026-11-13 GET /api/v1/projects/{project}/members lists who reaches a project and as what, and PUT .../members/{user} with { "role" } gives, changes or takes away a member’s own role in it, for an administrator at a browser. A lower role ends the account’s sessions and keys, as on the account; an administrator is refused with 409 administrator_reaches_all
2026-11-14 GET /api/v1/openapi.json needs a signed-in session or an API key: anonymous callers get 401. No operation, input or answer changed
2026-11-14 A person can sign the command line in from a browser: POST /api/v1/auth/cli/start gives a code, GET, POST .../approve and POST .../deny under /api/v1/auth/cli/requests/{code} answer it in a signed-in session (approving asks for the two-factor code or the password again), and POST /api/v1/auth/cli/token hands the command line a session of its own, valid a day. That session is sent as Authorization: Session <token> and reaches what only a person can do, account administration included; API keys still never do. POST /api/v1/auth/logout ends it
2026-11-14 A backup of the whole server: GET and PUT /api/v1/server/backup set it to run every day with restic, to an S3-compatible destination or the server’s disk, and the first PUT creates the repository and answers its recoveryKey, that once. POST .../run starts one, GET .../snapshots lists them, and POST .../key shows the key again after the two-factor code or the password. repository names where the backups are, and restore says how a restore by install.sh --restore went. Only the owner and the administrators of the server reach these. New Action types backup.server and backup.restore-server
2026-11-14 GET /api/v1/system/about, for every signed-in account: Opsifier’s license, where its source is, and each program and JavaScript package in the panel’s image with its own license (components). noticesFile names the file in the image that holds every license text
2026-11-14 GET /api/v1/server/nodes, for the server’s administrators: every node of the Docker Swarm with its role, whether it leads, its state and availability, its address, its resources and how many service containers run on it (runningTasks), and which one the panel runs on (self). Read only
2026-11-15 POST /api/v1/projects/{project}/services/{service}/basic-auth/{entry}/reveal shows a basic auth user’s password to an operator of the project and records who asked, as the new Action type service.security-reveal. The panel keeps each new password sealed with its key; one set before answers 409 password_not_kept until the user gets a new one. Each entry of GET .../basic-auth says whether its password can be shown (revealable)
2026-11-15 The Studio, off by default: GET and PUT /api/v1/settings/studio and POST .../settings/studio/check for the server’s administrators at a browser, GET /api/v1/studio, and under /api/v1/projects/{project}/services/{service}/studio the link (GET, PUT, DELETE), POST .../conversations, and GET .../conversations/{conversation}/events, POST .../messages and POST .../stop, for the server’s administrators for now. New Action types studio.settings, studio.link, studio.unlink and studio.conversation. The panel’s Content-Security-Policy now allows frames from other addresses, for the previews
2026-11-15 GET /api/v1/studio/models lists the agent server’s model profiles, each with whether what it is sent stays on private addresses. Starting a Studio conversation takes model, a profile’s name, and answers 400 studio_model_unknown for one the agent server lacks. A page of Studio events says which model the conversation works with (model), and each action says what kind of thing it does (verb) and whether summary is the agent’s own words (described)
2026-11-15 A Studio action also gives thought, what the agent wrote as it took the step, and tasks, its plan when the step updates it. A page of Studio events says whether more are already waiting (more), so that a long conversation reopens at once
2026-11-15 A Studio message gives suggestions, what the agent suggests asking next, taken out of its text. The panel serves /studio-inspector.js, the script a preview’s page loads to let the Studio point at one of its elements
2026-11-15 POST /api/v1/studio/projects adds a GitHub project to the Studio: it copies the repository into the projects folder from inside the agent server’s container, with the agent server’s GITHUB_TOKEN secret, makes the project’s preview service and links it. The Studio’s agent settings take projectsDir, and GET /api/v1/studio gives canAddProjects
2026-11-15 A Studio project can be shared: GET and PUT .../studio/members for who it is shared with, and POST .../studio/preview/start for the accounts it is shared with. For someone who is not an administrator, GET /api/v1/studio lists the projects shared with them. The Studio’s settings take previewSignIn, and GET /api/v1/studio/preview-signin is the hop of a preview’s sign-in
2026-11-16 One agent server per project: the Studio’s settings take agentPerProject, and a project added then goes in an Opsifier project of its own, studio-<folder>, with the services preview and agent. POST .../studio/isolate and POST /api/v1/studio/isolate give projects already linked their own. A Studio project gives agentMode and agentStatus, GET /api/v1/studio gives agentPerProject, a Studio conversation gives readOnly, and POST .../studio/preview/start gives agentStarted. GET .../info/refs and POST .../git-upload-pack and .../git-receive-pack under /api/v1/studio/git/{project}.git pass git’s smart HTTP protocol from a project’s own agent server to its GitHub repository, with that agent’s own token. New Action types studio.isolate and studio.push
2026-11-16 POST .../studio/isolate gives a service that has an Opsifier project of its own an agent server next to it, in that project, and moves, copies or stops nothing of it. A preview in the agent server’s own project that is not a Vite project answers 409 studio_preview_not_movable, and nothing is made
2026-11-16 A third project role, maintainer: an operator who can also open a console in the project’s services (GET .../console and the terminal at /api/v1/terminal/), except in a service that reaches the server, which answers 403 console_reaches_server. It is accepted wherever a project role is: project grants, allProjects, invitations, PUT /api/v1/projects/{project}/members/{user}, and GET /api/v1/auth/identity. Below it, the console answers 403 maintainer_required
2026-11-16 Both consoles, the server’s own shell at /api/v1/terminal/host included, refuse an account that has to turn on two-factor sign-in first, with 403 two_factor_setup_required, as every route already did. Four of the sixteen console sessions are kept for administrators
2026-11-16 POST /api/v1/projects/{project}/services/{service}/studio/remove with { "confirm": "<the project's name>" } takes a Studio project out with its conversations and shares, and deletes what the Studio made for it: its own agent server, its preview and the studio-<folder> project. It answers 202 with the Action studio.remove, 409 confirmation_mismatch or 409 studio_project_busy. The folder stays
2026-11-16 /studio-inspector.js answers with Cross-Origin-Resource-Policy: cross-origin, so that a preview’s page loads it from the panel. A project’s own agent server no longer gets the model’s standing instructions (system_message_suffix, user_message_suffix) with its settings
2026-11-16 The Studio keeps a GitHub key per account or organization: GET and POST /api/v1/settings/studio/github-keys, PUT and DELETE .../{key}, POST .../{key}/check, for an administrator at a browser. A token is sealed and never sent back. For a project with an agent server of its own, adding it and the git relay use the key of the repository’s owner, and the agent server’s GITHUB_TOKEN secret when there is none or GitHub refuses it; the shared agent server never gets a key. A key carries valid, what GitHub said of it at the last check. New Action type studio.github-key
2026-11-16 New Action type proxy.move: a panel that starts and finds the proxy still run as a Swarm service moves it to a plain container, once. proxy.restart replaces that container. Nothing else in the API changes: the proxy’s status reads the container, running, starting or failing, and its live logs stay on the same topic.
2026-11-17 Links for clients, and their remarks on a Studio preview, for the server’s administrators and the accounts the project is shared with: GET and POST .../studio/links, DELETE .../studio/links/{link} (remarks=delete takes what it wrote too), GET .../studio/remarks, PATCH and DELETE .../studio/remarks/{remark}. A link gives remarkCount; its address is in the answer that makes it only; an address with a path or a wildcard answers 409 studio_preview_not_linkable. The panel answers /__opsifier/studio/ on each preview’s address, outside the server’s gate (link/{token}, remarks), and the previews’ sign-in lets in whoever a link let in. New Action type studio.guest-link
2026-11-17 POST /api/v1/projects/{project}/services/{service}/studio/sync, for the server’s administrators and the accounts the project is shared with, brings the folder of a project with its own agent server up to date with its branch on GitHub, by a fast-forward that overwrites nothing made here, and answers state (current, updated, blocked, diverged, ahead, deferred, unavailable with a reason, no_agent for a project on the shared agent server), pulled, behind, ahead, changed, blocking and previewRestarted; force=true asks GitHub again. POST .../studio/preview/start waits for it. New Action type studio.sync
2026-11-18 A session opened over plain HTTP needs a second secret along with its cookie: POST /api/v1/auth/login, /auth/setup and /auth/invitation/accept answer it once as binding, to send back as the X-Opsifier-Binding header, as the binding query of a GET, or as the WebSocket subprotocol opsifier-binding.<secret> after opsifier, the one the server answers with. Without it the cookie, or that token in Authorization: Session, opens nothing. Sessions over HTTPS and those of opsifier login --web have none.
2026-11-18 A service that reaches the server (a host path, an added capability, a confirmed Compose file) answers 403 service_reaches_server to all but an administrator at a browser or with a key for all projects, on what decides what runs in it: .../scripts, .../script-runs, PUT .../source and its build, upload and env-file, its command, init or groups in PUT .../advanced/deploy, PUT .../database-advanced, .../environment and its build routes, PUT .../projects/{project}/env once one of its services does, new or changed mounts, .../box/hooks, processes, modules, preset, ide and ide/token, rollbacks, restores, moves to another project, and the IDE’s routes for a token issued by someone no longer an administrator. New script run note reaches_server
2026-11-18 Compose checks can answer foreign_name and mounts_stack, which stop a deploy, confirmed or not. foreign_name: a child named with _ or starting with opsifier, a container_name not starting with the stack’s name, an alias on the proxy’s network, or one with _ or starting with opsifier elsewhere. mounts_stack: a mount of the stack’s own folder, or of a folder or file that holds another mount or a file the stack is read from. A mount through a link is refused. foreign_image also covers opsifier/releases/ and what another project’s stack built, named <project>_. Images a stack does not build are pulled on every deploy. A confirmation also covers what runs in children that reach the server and every file of the stack, so stacks confirmed before ask again
2026-11-18 image_not_allowed: an image of another project or of the server (another project’s opsifier/<project>/..., anything else under opsifier/, another project’s <project>_...) is refused with 400 on image or dockerfile when a source is saved, and fails a deployment, a build or a start that meets it: in an image source, in what a Dockerfile’s FROM, COPY --from and RUN --mount=from= name with its build variables, in a syntax line other than docker/dockerfile, and in what Nixpacks, Railpack and Buildpacks build from. POST /api/v1/projects refuses the name releases (validation_failed on name), which a project named so before keeps
2026-11-18 service_reaches_server (403) also answers, on a service that reaches the server, PUT .../compose/source and .../compose/env-file, POST .../credentials/reveal, PUT .../credentials, enabling a companion tool and revealing its token, and POST .../box/processes/{process}/restart. Turning the IDE on, its tokens, presets and restores also look at the running tasks, which keep a removed mount until the next deploy. A push webhook builds the branch’s tip: after is only recorded. Over plain HTTP the session cookie opens only a session that has its second secret, and POST /api/v1/auth/logout ends only the session the request itself opens.
2026-11-18 A Compose deploy also stops, confirmed or not: while a running container of the stack holds what the new file mounts, reads or builds from (stop the stack first); for a build whose Dockerfile names an image of another project or the server, or a frontend other than docker/dockerfile in its syntax line or BUILDKIT_SYNTAX (image_not_allowed), whose context BuildKit would fetch, or whose local cache holds a mount (mounts_stack); for a hostname with _ or starting with opsifier (foreign_name); for an included file the panel cannot read, a link on a stack file’s path, or an include Compose could read from elsewhere. An oci-layout:// build context is host access. Builds pull what they start from
2026-11-18 PUT .../database-advanced answers 400 image_not_allowed on image for an image of another project or of the server, and a whole-server restore starts on the database’s image pulled with its credentials. A build gives every Dockerfile the panel’s own frontend as BUILDKIT_SYNTAX, refuses a Dockerfile that is a JSON document or over 1 MiB, pulls what it pins to a digest first, builds what nixpacks build --out writes itself, and refuses a project.toml buildpack named from the Buildpack Registry (urn:cnb:registry:). An ARG or ENV substitution the panel can’t read stops a build only once an image name uses it
2026-11-18 A Compose build walks its context: a deploy stops while the context, or a context it adds, holds a folder a child mounts read-write, or a running container of the stack writes in, unless the .dockerignore beside its Dockerfile or in the context names that folder on a plain line, with no ! line; the refusal says to add it there or mount it read-only. Compose issues can carry bind_volume, a local volume with options other than a tmpfs or a network share, which stops a deploy; so does a volume the stack already has that binds a folder or was made with other options than the file gives
2026-11-18 Compose deploys also stop on what a file names through a variable for Compose to bring in (an include, its env file or folder, the file a service extends), on an include whose project_directory is absolute, under ~ or outside the stack, and on a build ssh in a form that can’t be read: all escapes_stack. A build ssh written as a mapping of ids to paths is checked like a list. Every Compose build gets BUILDKIT_SYNTAX (the pinned frontend) and BUILDKIT_CACHE_MOUNT_NS (its project) through the override, over the file’s own values, and every Compose command an empty EXPERIMENTAL_BUILDKIT_SOURCE_POLICY.
2026-11-18 Compose issues can carry build_attestation, for a build that asks for an sbom or provenance attestation (anything but false), which stops a deploy, confirmed or not: BuildKit makes one by running an image that none of the checks on the build’s images see.
2026-11-18 A Nixpacks or Railpack build runs its tool in a container of the panel’s own image, given the code and nothing else of the server, and fails, replacing nothing, on a panel that can’t tell its image. The build of what Nixpacks writes takes the arguments its Dockerfile declares, valued as its script writes them, and a value of its own under a reserved name (not BUILDKIT_*) as an argument. A project.toml buildpack is resolved as pack resolves it: an image, docker:// or not, is checked and pulled first; the Buildpack Registry (urn:cnb:registry:, namespace/name[@version], an id and version the builder lacks) or a folder outside the source fails the build. A Dockerfile’s flags are read byte by byte, as BuildKit reads them. A build’s Docker configuration keeps the panel’s proxies.
2026-11-19 A Studio remark can come with a screenshot of the window its writer saw: on a preview, POST /__opsifier/studio/remarks takes screenshot, a JPEG, PNG or WebP data URL of at most 240,000 characters whose start, header and end are those of the type it names (else 400 validation_failed on screenshot), in a request of up to 320 KiB. A remark says screenshot: true when it has one, in GET .../studio/remarks and on the preview, and GET .../studio/remarks/{remark}/screenshot sends the image as it was kept
2026-11-19 GET .../studio/conversations/{conversation}/events no longer answers 409 studio_agent_asleep while the project’s own agent server is stopped: it answers, page after page, from the copy the panel keeps of the conversation as it is read and before the agent server is put to sleep, with asleep: true, status: idle and model: null, and the conversation goes on from the last page’s cursor once a message wakes the agent server. Every page has the new field asleep.
2026-11-19 POST .../studio/attachments?name= keeps a file a person attaches to a Studio message in the project’s folder, under .git/opsifier-attachments/ where git does not track it: a PDF, Word, Excel, PowerPoint, CSV or text file of at most 10 MB, sent as the request’s body. It answers 201 with where the file is (path, name, size, type), 400 studio_attachment_type for another kind of file or one that is not what its name says, 413 studio_attachment_too_large, and 409 studio_agent_starting while the project’s own agent server starts.
2026-11-19 POST .../studio/attachments takes conversation, for a file that goes with a message to a conversation under way: it is kept by the agent server that conversation runs on. It also answers 400 studio_attachment_empty, 408 studio_attachment_timeout when the file stops arriving, 409 with studio_agent_not_running, studio_project_agent_missing, studio_conversation_read_only, studio_attachment_no_git, or studio_attachments_full once the project’s attached files take 100 MB, 429 studio_attachment_busy while other files are being saved, and 503 studio_attachment_failed.
2026-11-19 GET .../studio/versions, for the server’s administrators and the accounts the project is shared with, lists a Studio project’s last 50 versions, the commits of its branch (sha, at, subject), the newest first, and the earlier one shown in its preview, if one is (viewing, with since and by). It answers asleep: true and no version while the project’s own agent server is stopped, which it never starts.
2026-11-19 POST .../studio/versions/{sha}/view checks an earlier version out in the project’s folder, for its preview, and answers { viewing }; POST .../studio/versions/current checks the branch out again, setting aside in git’s stash what changed meanwhile, and answers { viewing: null }. They answer 409 studio_agent_working while one of the project’s conversations is at work or a message is on its way to the agent, 409 studio_version_busy while the version shown is already changing, 409 studio_version_unsaved while changes in the folder are not saved yet, 409 studio_version_overwrite for a version that would write over files git does not keep, 409 studio_version_unsafe for a folder whose own git settings run commands, 404 for a commit that is not on the project’s branch, 400 for a value that is not a commit’s full hash, 409 studio_agent_starting while the project’s own agent server starts, 409 studio_project_agent_missing for a project waiting for one, and 409 studio_version_detached, studio_version_no_branch or studio_version_not_a_copy for a folder they cannot change. 503 studio_version_failed says the folder gave no verdict: messages then wait until GET .../studio/versions reads it again.
2026-11-19 While an earlier version is shown, or being shown, POST .../studio/conversations, .../messages and .../attachments answer 409 studio_viewing_version. A message holding a <version_restore> block also answers 409 studio_agent_working while the agent is at work and 409 studio_version_unsaved while changes are not saved. A Studio project, in GET .../studio and GET /api/v1/studio, has viewing: the version shown, or null; GET .../studio/versions follows what the folder shows.
2026-11-20 POST .../studio/pause, for an administrator, puts a Studio project on pause: its preview and its own agent server stop, after what happened in its conversations is copied, and it answers the project with paused (at, by); 409 studio_agent_working while one of its conversations is at work, 409 studio_project_busy while it is changing. POST .../studio/resume, for the accounts the project is shared with too, resumes it and answers as POST .../studio/preview/start does. A Studio project, in GET .../studio and GET /api/v1/studio, has paused, null when it is not.
2026-11-20 While a Studio project is on pause, POST .../studio/preview/start, .../sync, .../conversations, .../messages, .../attachments, .../versions/{sha}/view and .../versions/current answer 409 studio_project_paused.
2026-11-24 POST .../studio/conversations/{conversation}/stop stops the agent at once: it interrupts the model’s answer under way, where it waited for that answer before, which a slow model and its retries could make last half an hour. An agent server too old to interrupt a conversation still pauses it once the answer is in.
2026-11-26 PUT /server/panel/ip sets the server’s address by hand, for a server behind NAT that only sees a private one: names generated under sslip.io follow it, custom domains do not change. It answers the entry that records it, 400 for an address nobody reaches a server on, and 409 server_address_configured when the server’s configuration sets the address (OPSIFIER_SERVER_IP). POST /server/panel/refresh-ip no longer replaces a public address with a private one found on the server.
2026-11-26 GET /api/v1/server-purpose/open?url= is the hop of a site opened from the panel. For someone at a browser who may open the site, an administrator or an account its project is shared with, it answers a page that sends a pass good once, for a minute, on that host, in a form to the site’s /__opsifier/gate-pass, which gives the browser the gate’s cookie, as the right password does. Anyone else, and every site of a server in production, goes straight to the site with a 302; an address that is not one of this server’s sites answers 404.