Decisions
Create a typed decision with the official TypeSafe SDK shape
Changed onCompatibility endpoint for the official TypeSafe JavaScript and Python SDKs. Configure the SDK base URL as https://api.nano-gpt.com/api (or https://nano-gpt.com/api); the SDK appends /v1/systemone. It accepts every decision model listed for /v1/decisions. Bare model IDs jev-1.13, jev-latest and clef are mapped to the matching NanoGPT models. Image input and include_usage work as on /v1/decisions. The SDK model-list method remains unsupported because NanoGPT's /api/v1/models endpoint uses the NanoGPT/OpenAI-compatible response shape.
post/v1/systemone
Request
- Base URLhttps://api.nano-gpt.com/api
- URLhttps://api.nano-gpt.com/api/v1/systemone
- Auth
- HTTP bearer
- or API key in header x-api-key
Request body
Response
TypeSafe System One result
Changes
- info
endpoint added
- info