Endpoints
Route
4min
the https //run vast ai/route/ endpoint retrieves a worker to process a request inputs endpoint the name of the endpoint group to use api key the api key from vast ai associated with the account that controls the endpoint group cost the estimated compute resources for the request outputs on successful worker return url the address of the worker instance to send the request to reqnum the request number corresponding to this worker instance note that workers expect to receive requests in approximately the same order as these reqnums , but some flexibility is allowed due to potential out of order requests caused by concurrency or small delays on the proxy server signature the signature signed by the private key corresponding to the public key associated with the autoscaler, available at https //run vast ai/pubkey/ endpoint same as the input parameter to /route/ cost same as the input parameter to /route/ on failure to find ready worker endpoint same as the input parameter to /route/ status the breakdown of workers in your endpoint group by status calling the route endpoint in python for a guide on creating a client, refer to this section https //docs vast ai/serverless/getting started