1
define2
publish3
call4
agent5
resultpath /data/customer-summary
auth api-key
agent linux
param account_id, from_date
registering path...
✓ endpoint live at /data/customer-summary
✓ swagger updated automatically
POST https://acme.code2api.io/data/customer-summary
X-API-Key: ••••••••••••
{ "params": { "account_id": "C-00419", "from_date": "2025-01-01" } }
→ connecting to internal database...
→ executing query for account C-00419...
→ serialising 47 rows to JSON...
✓ script executed
200 OK
{ "account_id": "C-00419", "rows": 47, "duration_ms": 284,
"data": [ { "order_id": "ORD-881", "total": 1492.00 }, ... ] }
Purpose-driven development by the team at