Vast.ai API
Accounts
Add new environment variable
1min
POST
https://console.vast.ai/api/v0/secrets/
Authentication
BearerAuth
Body Parameters
body
*
key
*
value
*
Responses
200
Environment variable created successfully
success
msg
400
Bad Request
success
error
msg
401
Unauthorized - Invalid or missing API key
success
error
msg
403
Forbidden - User is blacklisted
success
error
msg
429
Too Many Requests
detail


Updated 18 Dec 2024
Did this page help you?