Try a keyless request
This asks Gambit to move from the starting position. Pass fen to use any valid standard chess position.
Use Gambit's chess and assistant models from your own app. Gambit preview.
Send a chess position, get a legal neural move and the updated board. Ask the assistant a question with board context. Start with a request—no signup or API key.
Download the OpenAPI contract →This asks Gambit to move from the starting position. Pass fen to use any valid standard chess position.
Post the current board and a question. Neural answers are generated by the separately trained, from-scratch language model.
The current neural checkpoint uses this question and board only. Conversation memory still needs training. Choose "mode":"coach" for verified rules and authored lessons.
/api/gambit/v1/modelsAvailable models, readiness and source./api/gambit/v1/lessonsVerified teaching positions./api/gambit/v1/chess/moveFEN → legal move, SAN and updated FEN. No stored game./api/gambit/v1/analysisFEN → neural candidates and searched variation./api/gambit/v1/assistant/messagesQuestion + FEN → neural answer or verified coaching.Retry-After.The browser game has its own larger budget, so ordinary play does not consume the keyless API allowance.
The keyless API is stateless: save the returned FEN in your app and send it with the next call. FEN alone does not retain repetition history.
For server-saved games, obtain an expiring guest session from POST /api/gambit/v1/sessions. This requires no developer API key. Use the returned session token to keep those games private.
Saved game routes use versions to prevent conflicting moves. Read the full schemas for moves, replay, actions and PGN export.
Application keys are optional. Create one locally for a named app, scoped access, revocation and server-saved game ownership:
.venv\Scripts\python.exe -m public_draft.keys create --name my-app --output-file config/my-app.keySupply Authorization: Bearer YOUR_KEY only when using that key. Keep it on your server. The public preview has no training or administration endpoints.
Saved game endpoints: /api/gambit/v1/games, /api/gambit/v1/games/{id}/moves, /ai-moves, /actions, /pgn. Application keys use 60 requests / 10 inference calls per minute. Browser sessions use 600 / 120. Guest creation has its own limit.