curl --request GET \
--url https://api.baseten.co/v1/secrets \
--header "Authorization: Api-Key $BASETEN_API_KEY"
{
  "secrets": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>

Response

200 - application/json

A list of Baseten secrets.

secrets
object[]
required

A Baseten secret. Note that we do not support retrieving secret values.