Skip to main content
GET
/
v1
/
teams
/
{team_id}
/
secrets
cURL
curl --request GET \
--url https://api.baseten.co/v1/teams/{team_id}/secrets \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "secrets": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "team_name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

team_id
string
required

Response

200 - application/json

A list of Baseten secrets.

secrets
SecretV1 · object[]
required