Autoscaler
Endpoints
Logs
10 min
both {{endpoints}} and {{worker groups}} keep logs that can be fetched by using the /get endpoint logs/ and /get autogroup logs/ endpoints, respectively endpoint logs relate to managing instances, and worker group logs relate to searching for offers to create instances from, as well as calls to create instances using the offers for both types of groups, there are four levels of logs with decreasing levels of detail debug , trace , info0 , and info1 e ach log level has a fixed size, and once it is full, the log is wiped and overwritten with new log messages it is good practice to check these regularly while debugging https //run vast ai /get endpoint logs/ inputs one of the following id (int) id of your endpoint endpoint (string) name of your endpoint api key (string) the vast api key associated with the account that controls the endpoint { "endpoint" "your endpoint name", "api key" "your vast api key" } outputs info0 the contents of the info0 log info1 the contents of the info1 log trace the contents of the trace log debug the contents of the debug log example fetching endpoint logs with curl curl https //run vast ai/get endpoint logs/ \\ x post \\ d '{"endpoint" 123, "api key" "api key here"}' \\ h 'content type application/json' https //run vast ai/get autogroup logs/ inputs id (int) the id of the worker group api key (string) the vast api key associated with the account that controls the worker group { "id" 1001, "api key" "your vast api key" } outputs info0 the contents of the info0 log info1 the contents of the info1 log trace the contents of the trace log debug the contents of the debug log example fetching worker group logs with curl curl https //run vast ai/get autogroup logs/ \\ x post \\ d '{"id" 1001, "api key" "api key here"}' \\ h 'content type application/json' in some cases info0 may not contain logs for a worker group