Instances
This endpoint retrieves a list of all instances. The request requires a Bearer token in the header.
Successfully retrieved all instances
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint returns detailed information of the passed instance.
The unique identifier of the instance.
instance-12345Successfully returned information about a specific instance.
Invalid request - Missing or invalid parameters.
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint starts an instance based on the provided instance arguments. The full instance is not available immediately after starting, but the status can be checked using the /instances/{instance_id} endpoint. The request requires a Bearer token in the header.
The id of the model to start.
meta-llama--Meta-Llama-3.1-8B-InstructThe id of hardware type to run the model on. Default is recommended_config of the model.
NVIDIA_H100_1The billing interval.
per_minutePossible values: Context length can be reduced if the full context length is not needed for the task. Decreasing the maximum context length increases the throughput of the model. Default is min(32000, max_context_length).
8192The number of workers to run the model on. Default is 1.
1The instance is starting.
Invalid request - Missing or invalid parameters.
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint restarts an instance based on the provided instance ID. The full instance is not available immediately after restarting, but the status can be checked using the /instances/{instance_id} endpoint. The request requires a Bearer token in the header.
The ID of the instance to restart.
instance-12345Successfully restarted the instance.
Invalid request - Missing or invalid parameters
Unauthorized - Bearer token missing or invalid
Internal server error
This endpoint stops an instance based on the provided instance ID. The request requires a Bearer token in the header.
The ID of the instance to stop.
instance-12345Successfully stopped the instance.
Invalid request - Missing or invalid parameters.
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint stops all running instances. The request requires a Bearer token in the header.
Successfully stopped all instances.
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint deletes an instance based on the provided instance ID. The instance must first be stopped before it can be deleted. To stop the instance, use the /instances/stop endpoint. The request requires a Bearer token in the header.
The ID of the instance to delete.
instance-12345Successfully deleted the model instance.
Invalid request - Missing or invalid parameters.
Unauthorized - Bearer token missing or invalid.
Internal server error.
This endpoint deletes all instances. If the force_deletion parameter is set to true, all instances will be deleted without stopping them first. Otherwise, only the stopped instances will be deleted. The request requires a Bearer token in the header.
Whether to force delete all instances without stopping them first.
trueSuccessfully deleted all instances.
Unauthorized - Bearer token missing or invalid.
Internal server error.
Last updated