Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This endpoint is available from version 2.1.0^.

Warning

THIS ENDPOINT IS STILL UNDER DEVELOPMENT.


This endpoint has the ability to shutdown the GAIA instance, including all the workers that could have been started,

Shutdown


The shutdown endpoint that will stop the current GAIA instance alongside all the workers spawned.



Note
titleIMPORTANT

After calling this endpoint, the server and all its workers will exit meaning that if you are using the API at the moment, those processes will fail as the server will exit.

If you need to shutdown the server, check if you have pending processes to wait for first.


Parameters

Info

This endpoint does not require any parameters.

Table of Contents
maxLevel2

Example

Code Block
languagebash
GET /es/api/v1/shutdown

Response

Successful Response [200]

Code Block
Shutting down GAIA API...