Skip to main content
The full CLI uses https://app.withmethod.ai by default. The API is also served at https://api.withmethod.ai; the MCP uses that API origin. Use the API to read saved Methods, save complete versions, and upload or inspect run records. Apps use the /v1/runs routes with a service key to start production runs. Use the CLI for browser sign-in and for saving. JSON requests use Content-Type: application/json. Send a supported bearer credential; see Authentication. Never include credentials in Method files or logs. Errors use HTTP status codes. Many routes return { "error": "code" }; CLI/workspace errors can return { "message": "..." }. Do not assume every route returns one identical error body. Version conflicts use 409. See Endpoints for the supported integration routes and Idempotency for save retries. Invalid Method definitions return HTTP 400 with error and message. Validation codes include invalid_method and unsupported_format.