External engine

Answer analysis request

Endpoint: https://engine.lichess.ovh/api/external-engine/work/{id}

Submit a stream of analysis as UCI output.

  • The engine should always be in UCI_Chess960 mode.
  • UCI_AnalyseMode enabled if available.
  • Engine produces info with at least:
    • depth
    • multipv (between 1 and 5)
    • score
    • nodes
    • time
    • pv
  • Engine finally sends bestmove:
    • with a move or (none)
    • optionally, with ponder move

The endpoint may close the connection at any time, indicating that the requester has gone away and analysis should be stopped.

post/api/external-engine/work/{id}

Request

  • Base URL
    https://engine.lichess.ovh
  • URL
    https://engine.lichess.ovh/api/external-engine/work/{id}
  • Auth
    none required

Request body text/plain

string required

Response

Thanks

Changes

No recorded changes to this operation across all 16 revisions of this API.