Docs
Agent access (MCP)
Your agent talks to the same MCP server as any agent, at https://app.backa.ai/mcp (Streamable HTTP). It gets the same tools, audit log and rollback.
Headers
Authorization: Bearer bk_live_…
Backa-Customer: acme-123
Backa-User: anna@acme.se
Backa-Run: conv_8f2c
Backa-Customer(required): your id for the customer.Backa-User: your name for the person the agent acts for. It shows in the customer's audit log.Backa-Run: your conversation or task id, up to 64 characters. Changes with the same run id are grouped into one run, which can be rolled back in one go. Without it, Backa groups changes per person and hour.
How it shows in the audit log
Your product's name shows as the agent, and Backa-User as the person. Only the systems the customer connected, and that you offer, are available to the agent.
Errors
401 invalid_key: unknown or revoked key.400 missing_customer: noBacka-Customerheader.404 no_such_customer: add the customer first withPOST /customers.429: too many calls; wait and try again.