Turn natural language into executable spreadsheets. Same AI powering our web app, now in your code. Create an API key, submit jobs with simple prompts, and get back fully functional Excel files.
Get Started with AI
Use our pre-built prompt to build your first integration
Paste into Claude Code, Cursor, or your preferred AI agent
Send prompt + files, get instant run ID
Check completion every few seconds
Get fully functional Excel file
Fire-and-forget architecture. Up to 5 concurrent jobs, 25min max timeout per job.
Upload files (100MB each) for data-driven automation. PDFs auto-indexed.
Not just text generation—creates fully functional Excel files. Production-ready output.
import requests
import time
API_KEY = 'sc-xxx...' # Replace with your API key
BASE_URL = 'https://api.shortcut.ai/api/spreadsheets'
headers = {'Authorization': f'Bearer {API_KEY}'}
# Submit a job
response = requests.post(
BASE_URL,
headers=headers,
json={'prompt': 'Create a sales report with summary statistics'}
)
run_id = response.json()['runId']
print(f"Job submitted: {run_id}")
# Poll status until completed
while True:
response = requests.get(f"{BASE_URL}/{run_id}", headers=headers)
status = response.json()['status']
print(f"Status: {status}")
if status == 'completed':
break
elif status in ['failed', 'error']:
print(f"Job failed: {response.json()}")
exit(1)
time.sleep(3)
# Download result
response = requests.get(f"{BASE_URL}/{run_id}/download", headers=headers)
with open('result.xlsx', 'wb') as f:
f.write(response.content)
print("Result saved to result.xlsx")"Generate weekly sales report with YoY comparison charts"
"Extract tables from invoice PDFs into structured spreadsheet"
"Combine 5 regional sheets, standardize dates, add summary pivot"
"Clean user-uploaded data and generate analysis dashboard"
Use our auto-generated spec for type-safe client generation, testing tools, or API exploration.
https://api.shortcut.ai/api/spreadsheets/openapi.jsonExplore the interactive API reference with live examples, or jump straight to building with our AI-powered quick start.