Strigs API

Make your first spreadsheet-intelligence request.

Use your API key in the X-API-Key header. Keep keys server-side and out of source control, browser code, screenshots, and shared logs.

1. Check readiness

curl https://api.strigsapi.com/ready

Expected: {"status":"ready"}

2. Generate a formula

curl -X POST https://api.strigsapi.com/v1/formula/generate \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $STRIGS_API_KEY" \
  -d '{"platform":"excel","instruction":"Sum cells A1 through A10"}'

3. Fix a broken formula

curl -X POST https://api.strigsapi.com/v1/formula/fix \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $STRIGS_API_KEY" \
  -d '{"platform":"excel","formula":"=SUM(A1:A10"}'

4. Explain an existing formula

curl -X POST https://api.strigsapi.com/v1/formula/explain \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $STRIGS_API_KEY" \
  -d '{"platform":"excel","formula":"=SUMIFS(F:F,B:B,"West")"}'

5. Convert between Excel and Google Sheets

curl -X POST https://api.strigsapi.com/v1/formula/convert \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $STRIGS_API_KEY" \
  -d '{"platform":"excel","source_platform":"google_sheets","formula":"=QUERY(A:F,"select A,sum(F) group by A",1)"}'
When a safe one-to-one conversion is not available, inspect validation.warnings and confidence instead of assuming the returned formula is an exact equivalent.

6. Add column context

{
  "platform": "excel",
  "instruction": "Return total revenue for West region orders",
  "columns": [
    {"name":"Region","reference":"B:B","data_type":"text"},
    {"name":"Revenue","reference":"F:F","data_type":"number"}
  ]
}

7. Check usage

curl https://api.strigsapi.com/v1/usage \
  -H "X-API-Key: $STRIGS_API_KEY"

Common integration use cases

Production handling

Use a request timeout, treat 401 as an authentication problem, 422 as invalid request input, 429 as rate-limit or daily-quota exhaustion, and 503 as temporary dependency/feature unavailability. Use bounded retry/backoff only where appropriate.

Full interactive endpoint schemas are available in the API reference.