User Secrets API

Retrieve User Environment Variables

1min
GET
https://console.vast.ai/api/v0/secrets
Production server

Gets all environment variables for the authenticated user. Limited to a maximum of 16 secrets per user.

CLI Usage: vast-ai show env-vars

Authentication
BearerAuth
Responses
200
Successfully retrieved user secrets
success
secrets
401
Unauthorized
success
msg
429
Too Many Requests
detail