Skip to content

Reference

API reference

The Machinaut control-plane HTTP API, grouped by area. Each route lists its status and its auth. It mirrors the endpoint map the control plane's API service serves at GET /.

Authentication

the two credential headershttp
# Machine callers (the shipper, your approval proxy). Checked first.
Authorization: Bearer mk_live_…        # or:  x-api-key: mk_live_…

# Browser callers (the console). A session cookie from signup or login.
Cookie: mc_session=…
AuthMeaning
BearerA machine API token (mk_…), project- or tenant-scoped, minted with POST /v1/tokens. The shipper and your approval proxy use it.
SessionA browser session cookie (mc_session). Session-only routes are out of reach for a machine credential.
Session · ownerAlso re-checks owner membership on every call.
SCIM bearerA per-org provisioning credential (scim_…). It reaches /scim/v2/… only.
Publish tokenA mint-only credential (mp_…), pinned to one project. It reaches POST /v1/publish/shares only; every other route answers it 401. See CI publish tokens.
PublicNo auth: the health probe, the OIDC start and callback, and a share link’s public read.
InternalProbes that are not exposed through the Ingress at all.

:param segments are path parameters. A GET | PUT cell means the same path serves both verbs.

Health and ops

EndpointDescriptionStatusAuth
GET/healthz
Liveness: the process is up.ShippedPublic
GET/readyz
Readiness: 200 when the backing store is reachable, 503 when not.ShippedInternal
GET/metrics
Prometheus metrics: request counts and latency.ShippedInternal

Unauthenticated probes. Readiness and metrics are internal and never routed through the Ingress.

Ingest

EndpointDescriptionStatusAuth
POST/v1/events
Ingest a shipped session (NDJSON manifest and records).ShippedBearer

The session_ship@1 receiver. The full wire format is in the ingest contract.

Explorer and sessions

EndpointDescriptionStatusAuth
GET/v1/projects
List a tenant's projects.ShippedBearer / session
GET/v1/projects/:project_id/sessions
List a project's sessions.ShippedBearer / session
GET/v1/projects/:project_id/sessions/:session_id
A session’s chain projection and report, plus its governed-run attestations[] with the verification display (beta).ShippedBearer / session

Read the hosted record: projects, sessions, and a session’s Lodestar chain projection and report.

Sharing

EndpointDescriptionStatusAuth
POST/v1/projects/:project_id/sessions/:session_id/shares
Make a share link.ShippedSession
GET/v1/projects/:project_id/sessions/:session_id/shares
List a session's share links.ShippedSession
DELETE/v1/shares/:id
Revoke a share link.ShippedSession
POST/v1/publish/shares
Make a public, expiring share link from CI. Mint-only publish token (mp_…); gated by the session’s recorded sensitivity ceiling and age.BetaPublish token
GET/v1/publish-tokens
List CI publish tokens (never the secret).BetaSession · owner
POST/v1/publish-tokens
Mint a CI publish token pinned to one project. The secret is shown once.BetaSession · owner
DELETE/v1/publish-tokens/:id
Revoke a publish token and, by default, its live links.BetaSession · owner
GET/v1/shares/:token
Public read: a shared session’s chain and report, plus its attestations[] (beta). No auth.ShippedPublic

Make and revoke share links. The public read needs no auth. Managing links needs a browser session.

Governance summary and attestations

EndpointDescriptionStatusAuth
GET/v1/projects/:project_id/sessions/:session_id/governance
governance_summary@1: the facts a merge gate evaluates. Facts only, never a verdict.BetaBearer / session
POST/v1/projects/:project_id/sessions/:session_id/attestations
Attestation intake: the Sigstore bundle your CI signed (up to 256 KiB, 50 per session). Verified, stored as received, and displayed.BetaBearer / session
GET/v1/projects/:project_id/attestation-identity
The project’s pinned signer identity (issuer, workflow and refs), or null.BetaBearer / session
PUT/v1/projects/:project_id/attestation-identity
Pin the signer identity. Exact match, no regex. refs/pull/*/merge is the one wildcard. Audited.BetaSession · owner

See the governance summary and the attestation gate. Machinaut serves facts and displays verification. It never signs and never issues a merge verdict.

Calibration

EndpointDescriptionStatusAuth
GET/v1/projects/:project_id/calibration
Project calibration: the latest pass per session.BetaBearer / session
GET/v1/projects/:project_id/sessions/:session_id/calibration
Session calibration passes.BetaBearer / session

Lodestar OSS computes calibration (ECE and Brier). Machinaut charts it per session and rolls it up per project.

Sentinels

EndpointDescriptionStatusAuth
GET/v1/projects/:project_id/sentinels
Sentinel rollup across a project’s sessions.BetaBearer / session
GET/v1/projects/:project_id/sessions/:session_id/sentinels
Session sentinel alerts.BetaBearer / session

Sentinel alerts come from Lodestar OSS. Machinaut lists them per session and project.

Fleet, overview and audit

EndpointDescriptionStatusAuth
GET/v1/overview
Org overview: sessions per day, held rate, calibration health, sentinel feed, top agents.BetaBearer / session
GET/v1/search
Full-text and identifier search over the events the explorer shows for your org. Params: q, project_id, kind, from, to, limit, cursor.BetaBearer / session
GET/v1/audit
Audit log: approve, deny, run and block decisions with retained proof. ?format=csv|ndjson exports it.BetaBearer / session
GET/v1/fleet
The multi-org health map across every Team or Enterprise org you govern. Session-only, because an API token is single-tenant. Free orgs come back in excludedOrgs. spend and drift are null because neither is built.BetaSession

/v1/overview and /v1/audit are scoped to one org. /v1/fleet spans the orgs you are already a member of and adds no reach beyond that.

Policies

EndpointDescriptionStatusAuth
GET/v1/policies
Active (signed) policy snapshot, read-only.BetaBearer / session
GET | PUT/v1/policies/draft
The team’s unsigned working draft.BetaBearer / session
POST/v1/policies/draft/impact
Indicative flip simulation. Best-effort. The authoritative dry run is local.BetaBearer / session
GET/v1/policies/draft/export
Export the draft as unsigned canonical Policy JSON to sign and deploy.BetaBearer / session

Read the active signed policy and edit the unsigned draft. You sign and deploy the policy locally. The cloud holds only the unsigned draft.

Approvals

EndpointDescriptionStatusAuth
POST/v1/approvals
announce: park a hold (bare ApprovalRequest or wrapper).BetaBearer
POST/v1/approvals/:project_id
announce with the project in the path.BetaBearer
GET/v1/approvals/inbox
Approval inbox: holds with status and a resolution summary.BetaBearer / session
POST/v1/approvals/:project_id/:request_id/resolve
Record a signed Approve or Deny, or one vote on a quorum hold. Without a signature the hosted service returns 409 no_signing_key.BetaBearer / session
GET/v1/approvals/:project_id/:request_id/binding
The hold’s binding, as Lodestar’s approvalRepresentation. Advisory.BetaBearer / session
GET/v1/approvals/:project_id/:request_id/quorum
M-of-N progress: your host’s quorum record, advisory approvers_so_far, and unverified relayed votes.BetaBearer / session
POST/v1/approvals/:project_id/:request_id/votes/reopen
Re-open a refused managed vote. Audited. Applies only where a managed key exists, and none does on the hosted service.BetaSession · owner
GET | PUT/v1/approvals/roster
Optional roster mirror, to show who has not voted. Your pinned keys stay the trust root.BetaBearer / session
GET/v1/approvals/:project_id/:request_id
fetch: the untrusted ApprovalResolution, or 404.BetaBearer
DELETE/v1/approvals/:project_id/:request_id
consume: spend the resolution (tombstoned).BetaBearer

The relay (announce, fetch, consume) and the write-path (inbox, resolve). Full semantics are in the approval relay contract.

Auth

EndpointDescriptionStatusAuth
POST/v1/auth/signup
Email and password signup, returns a session cookie.ShippedPublic
POST/v1/auth/login
Email and password login, returns a session cookie.ShippedPublic
POST/v1/auth/logout
End the session ({ all: true } ends every session) and clear the cookie.ShippedSession
POST/v1/auth/switch-org
Switch the active org for a multi-org user. Returns the me payload for the new org.ShippedSession
GET/v1/auth/me
Current user and org.ShippedSession

Email and password, plus OIDC SSO (beta). SAML, email sign-in links and password reset: Planned

API tokens

EndpointDescriptionStatusAuth
GET/v1/tokens
List the tenant's API tokens.ShippedSession
POST/v1/tokens
Mint a project or tenant API token. The secret shows once.ShippedSession
DELETE/v1/tokens/:id
Revoke an API token.ShippedSession

Mint and revoke the machine tokens that authenticate ingest and the relay. Session-only, so a leaked machine key cannot mint another.

Org and team

EndpointDescriptionStatusAuth
GET/v1/org/members
Org roster: members and roles.BetaSession
PATCH/v1/org/members/:id
Change a member's role (owner or member).BetaSession · owner
DELETE/v1/org/members/:id
Remove a member.BetaSession · owner
POST/v1/org/invites
Invite a teammate. Returns a link to copy. No email is sent.BetaSession · owner
GET/v1/org/invites
Pending invites with their links.BetaSession · owner
DELETE/v1/org/invites/:id
Revoke a pending invite.BetaSession · owner
GET/v1/org/invites/lookup/:token
Preview an invite before accepting.BetaSession
POST/v1/org/invites/accept
Redeem an invite. Bound to the invited email.BetaSession
GET/v1/org/audit
Append-only admin log (member, role, API-token, publish-token, share, SSO, SCIM and domain entries). Filter with ?action= or ?actor= (an email, a user id, or one of user, scim, ci, system); page with ?cursor= and next_cursor in the response. ?format=csv or ndjson downloads the filtered log instead of a page (owner-only, at most 10,000 rows; the x-audit-truncated: true response header marks a capped export). Not signed or hash-chained.BetaSession · owner
GET/v1/org/settings
Enforce-SSO, the plan and its capabilities, and key custody (customer_held at every tier).BetaSession · owner
PATCH/v1/org/settings
Toggle enforce-SSO (Team and Enterprise). Managed custody returns 409 custody_managed_unavailable: PlannedBetaSession · owner
GET/v1/org/seats
Seat counts and the org’s plan. No metering or billing exists.BetaSession · owner

Members, roles and invites. Invites are links you copy. No email is sent. Email delivery: Planned Session-only. Role and invite changes are owner-only.

Single sign-on (OIDC)

EndpointDescriptionStatusAuth
GET/v1/org/sso
The OIDC connection (never the secret) and the callback URL for your IdP.BetaSession · owner
POST/v1/org/sso
Configure the connection: discovery URL, client id and secret, group to role map.BetaSession · owner
PATCH/v1/org/sso
Rotate the secret or change the role map.BetaSession · owner
DELETE/v1/org/sso
Disable the org’s OIDC connection.BetaSession · owner
GET/sso/:org_id/oidc/start
SP-initiated login. ?mode=test previews the claims and role without a session.BetaPublic
GET/sso/:org_id/oidc/callback
The OIDC redirect URI. Verifies the id_token and provisions the user on first sign-in.BetaPublic

Team and Enterprise. SSO decides who may sign in, never who may sign. The IdP client secret is sealed at rest (AES-256-GCM). SAML: Planned

SCIM 2.0 provisioning

EndpointDescriptionStatusAuth
GET/v1/org/scim/tokens
List the org’s SCIM bearer tokens.BetaSession · owner
POST/v1/org/scim/tokens
Mint a SCIM bearer. Shown once, stored as a SHA-256 hash.BetaSession · owner
POST/v1/org/scim/tokens/:id/rotate
Rotate a SCIM token, with an overlap window.BetaSession · owner
DELETE/v1/org/scim/tokens/:id
Revoke a SCIM token.BetaSession · owner
GET|POST|PUT|PATCH|DELETE/scim/v2/Users…
The user endpoints your IdP drives. active: false deprovisions at once.BetaSCIM bearer

Enterprise only, with a live SSO connection. The /scim/v2 endpoint is enabled per organization on request: Talk to us for its base URL. Deprovisioning ends a member’s sessions and revokes their API tokens. It cannot rotate a customer-held approver key.

Verified domains

EndpointDescriptionStatusAuth
GET/v1/org/domains
List domain claims and their state.BetaSession · owner
POST/v1/org/domains
Claim a domain. Returns the DNS-TXT record to publish.BetaSession · owner
POST/v1/org/domains/:id/verify
Check the TXT proof and mark the domain verified.BetaSession · owner
PATCH/v1/org/domains/:id
Toggle auto-join. Needs a verified domain. Default off.BetaSession · owner
DELETE/v1/org/domains/:id
Remove a domain claim.BetaSession · owner

Claiming and verifying work on any plan. Auto-join needs Team or Enterprise, matches the exact domain only, and admits a user only when your IdP asserts email_verified.

Sample project

EndpointDescriptionStatusAuth
GET/v1/demo
Whether the sample project is seeded (fingerprint-checked).ShippedSession
POST/v1/demo/seed
Load a labelled sample: a chain, a hold and an audit trail.ShippedSession
DELETE/v1/demo
Remove the sample project.ShippedSession

A labelled sample project for a new org. See Connect your agent. Session-only, so a machine credential can never seed or wipe a tenant.

This map comes from the running control plane

The control plane's API service serves its endpoint map at GET /, with each route’s status inline. It is not exposed on console.machinaut.ai, so this page mirrors it. The server is the source of truth. The two write contracts have their own pages: the ingest contract and the approval relay contract.