raw_request
Call any Vast.ai REST endpoint directly by specifying HTTP method, path, and optional body parameters.
Instructions
Escape hatch for any Vast.ai REST endpoint not covered by other tools.
path is appended to https://console.vast.ai/api/v0 (include the leading
slash, e.g. "/volumes/").
Examples: raw_request(method="GET", path="/volumes/") raw_request(method="POST", path="/ssh/", body={"ssh_key": "ssh-rsa AAA..."})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||