Autosheet API
Programmatic access to the Autosheet Sheets agent — trigger AI-driven edits, lookups and transformations across Google Sheets from your own code, workflow tool or agent.
This interactive reference requires JavaScript. The summary below covers the essentials; the full machine-readable specification is at openapi.yaml.
Base URL
https://api.autosheet.com
Authentication
All requests require an API key in the X-API-Key header. Keys are issued in the format sk-user-<user>-<epoch>-<random> and can be created at dashboard.gptforwork.com (sign in with Google).
Endpoints
| Method | Path | Summary |
| POST | /v1/{platform}/agents | Run agent — start a new run or add a follow-up turn |
| GET | /v1/{platform}/agents/{id} | Get agent — current status, messages and tool calls |
| POST | /v1/{platform}/agents/{id}/stop | Stop agent — cancel a running agent |
| GET | /v1/{platform}/agents/configuration | List available models for your space |
| GET | /v1/auth/verify | Verify API key — returns account info and webhook secret |
{platform} is currently sheets.
Rate & spending limits
500 requests/minute and 100 concurrent agent jobs per API key. Agent runs also consume credits from your space balance. Exceeding either returns 429 Too Many Requests; inspect X-RateLimit-* and Retry-After response headers for back-off guidance.
Webhooks
Provide a webhook_url when starting a run to receive a POST callback on completion. Each request carries X-Webhook-Signature: sha256=<hex> — an HMAC-SHA256 of the raw request body, keyed with your webhook secret (returned by the Verify API Key endpoint). Verify with a constant-time comparison.
OpenAPI specification
Full schema: openapi.yaml (OpenAPI 3.1, YAML).
Support
gptforwork.com/support