Your whole business, one API.
Read the records that run your business. Start work from code. Anything that sends, spends, signs, or publishes waits for your approval.
npm i -g @amolfi/cliGET /v1/tools/{tool}POST /v1/runs202 pending_approvalPOST your-endpointStart from your terminal.
Sign in once. Start, follow, steer, and stop work from the command line.
Work runs. You stay in control.
01The machine asksAPI token POST/v1/runs{ "goal": "send invoice INV-1042", "idempotency_key": "a3f1…" }An agent, a cron job, a dashboard button. It carries a workspace token and nothing more.
02The gateOwner approval 202Accepted, and held.{ "status": "pending_approval", "decision_id": "dec_8f2c…", "approve_in": "the app" } # a 200 never comes back from here. # no retry will ever produce one.The action is real, described, and stopped. Nothing has left the workspace.
03The owner decidesIn the app Send invoice INV-1042 ($4,200.00) to acme@example.com
Demonstration only. Nothing is sent.Approved by Jordan Reyes. The invoice sends, the receipt is written, and the run continues.
See the contract answer.
Health, scopes, and OpenAPI are public. Run the real request before you mint a key.
Call the API from this page
These three routes are public and need no credentials. Run one and read what came back.
curl https://api.amolfi.com/v1/health{
"ok": true,
"service": "amolfi-public-api"
}This is a recorded sample. Press Run to make the real call from your browser, or copy the command and run it yourself.
Your systems know when work moves.
Signed events carry the change. Approval events carry the decision back to you.
invoice.createdINV-1042 issued to Meridian, net 15signeddeal.updatedHarborline moved to Proposal. Stage moves ride this eventsignedrun.waiting_approvalA run paused for an owner decision. A card is waiting in the appsignedbooking.createdDiscovery call booked for Thursday, 10:00signedcontract.sentThe Ardent MSA reached both signerssignedcontact.createdNew contact on the Meridian accountsignedrun.completedOctober recap drafted from what actually shippedsignedmember.invitedA seat was offered. Access has not begunsignedproject.updatedBrand refresh moved to In reviewsignedinvoice.paidINV-1038 fully paid. Partial payments never fire thissignedclient.createdArdent Studio added as a clientsignedapikey.createdKey minted. Scope count only, never the keysigneddeal.createdNorthwind retainer opened as an opportunitysignedcontract.signedAll signers completed the Harborline MSAsignedbooking.updatedKickoff moved to Friday. Reschedules ride this eventsignedrun.failedRun failed. The upstream provider timed outsignedcontact.updatedContact title and phone changedsigneddomain.verifiedsend.northwind.example passed DNS verificationsignedproject.createdQ4 site build opened under Meridiansignedmember.joinedInvite accepted. The moment access actually beginssignedcontract.declinedA signer declined the renewal addendumsignedclient.updatedPike & Co. archivedsignedbooking.cancelledStrategy review cancelledsignedrun.cancelledRun cancelled by the workspace ownersignedapikey.revokedKey revoked. The event that closes an incidentsignedcontract.expiredSignature request expired before completionsignedmember.removedMember deactivated. The moment access endssignedfile.availablepricing-model.md passed scanning and is readysignedfile.heldUpload held. Content stays unavailable after the scan failedsignedfile.updatedWorkspace file metadata changedsignedfile.archivedWorkspace file archivedsigned