v1

latestOpenAPI 3.0.32026-07-17545.2 KB

Start a new chess game. Creates a board in the default state for a new game.

post/api/new_game

Request body

assistant_color'white' | 'black'

The color the chess assistant will play as. Must be "white" or "black".

elointeger

The Elo rating at which the assistant will play, must be between 1000 and 3000.

Response

New game state and board information

game_overboolean

Indicates if the game is over

displaystring

Markdown string to display the board

best_movesstring

A comma-separated list of the assistant's best moves in SAN format

EXTRA_INFORMATION_TO_ASSISTANTstring

Instructions for the assistant on how to proceed