HENSYNTH · Beginner · Overview
Overview
Beginner start guide for the HENSYNTH API — what it is, first steps, and hello examples.
HENSYNTH is the cloud API for early aircraft sizing and mission trades before detailed design. You send HTTPS JSON to https://hensynth.hendoi.com with a product key that starts with hsk_.
Who this is for
- Concept designers and systems engineers comparing aircraft ideas quickly.
- Developers who want the same workflow the browser app uses, but from scripts or CI.
- Beginners who want one clear first call before reading every endpoint page.
What you need
- A HENDOI account (sign in at hendoi.com/login).
- A live HENSYNTH API key starting with
hsk_(Settings → Generate API key for HENSYNTH). - The product host:
https://hensynth.hendoi.com(local API while developing:http://localhost:8002). - Optional: Python (
pip install hensynth) or JavaScript (npm install @hendoi/hensynth).
First five steps
- Create a key. Open HENDOI Settings and generate an API key for HENSYNTH. Copy it once. Store it in an environment variable named
HENSYNTH_API_KEY. - Prove the key. Call
GET https://hensynth.hendoi.com/api/v1/usagewith headerAuthorization: Bearer hsk_…. Expect HTTP200. - Read remaining meters. The usage JSON tells you how many automation calls you still have this month.
- Try the SDK hello (below) or stay on raw HTTPS — both talk to the same API.
- Open one analysis page in the sidebar — start with Create or list projects after Auth and Limits make sense.
Hello in Python
pip install hensynth
set HENSYNTH_API_KEY=hsk_your_live_key_here
from hensynth import Client
print(Client().usage())
Hello in JavaScript
npm install @hendoi/hensynth
# set HENSYNTH_API_KEY=hsk_your_live_key_here
import { Client } from "@hendoi/hensynth";
const usage = await new Client().usage();
console.log(usage);
Hello with cURL
curl -sS "https://hensynth.hendoi.com/api/v1/usage" ^
-H "Authorization: Bearer hsk_demo_4c91e2ab8d07"
Replace the demo key with your live key. On Unix shells use \ instead of ^ for line breaks.
What success and failure look like
200— request accepted; read the JSON fields named in the docs (sample numbers are shapes only).401— key missing, wrong product, or deactivated. Generate a new HENSYNTH key.403— key recognized but a meter is empty (oftenQUOTA_EXCEEDED). See Limits and errors.202— long job queued; poll Jobs until it finishes.
What this product cannot claim
It is not a certified flight-dynamics authority or a full detailed-design suite. Use it for early trades and screens.
Where to go next
- Authentication — create and prove your key.
- Limits and errors — read status codes before overnight batches.
- Python SDK · JavaScript / TypeScript SDK — shared install patterns (use the HENSYNTH package names above).
- Official examples on GitHub.
- Create or list projects — first real analysis page.
Docs UI: https://api.hendoi.com (local http://localhost:3006). Docs JSON: local http://localhost:8006.
