- Create a scoped API key in Erstan.
- List the agents that key can access.
- Start an agent run.
- Poll the run until it completes.
Base URL
Authentication
Public API requests use a workspace API key as a bearer token.Endpoints
See Quickstart for a copy-paste flow.
Build agents over MCP
Install the official Erstan plugin and authorize the Build profile for the recommended browser-based OAuth flow. Advanced automation clients can connect directly toPOST /v1/mcp with an API key holding agents:read plus agents:write. In either case, Erstan rechecks the connection owner’s live access on every call. See Connect a Coding Agent for installation and Build agents over MCP for the complete authoring workflow.
For a complete NetSuite scheduled-script example with email body plus optional file attachment, see NetSuite OCR Quote Intake.