Vai al contenuto principale
GET
/
v2
/
enterprise
/
api-keys
Get Enterprise Api Keys Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "created_at": "<string>",
      "id": "<string>",
      "is_service_key": true,
      "org_id": "<string>",
      "org_name": "<string>",
      "user_email": "<string>",
      "user_id": "<string>",
      "api_key_value": "<string>"
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Richiede l’API key personale di un amministratore Enterprise. Restituisce un elenco paginato di API key per le organizzazioni all’interno dell’Enterprise.

Autorizzazioni

Authorization
string
header
obbligatorio

Personal API Key (apk_user_*) for Enterprise Admins only

Parametri della query

page
integer
predefinito:1
Intervallo richiesto: x >= 1
per_page
integer
predefinito:25
Intervallo richiesto: 1 <= x <= 100
org_id
string | null

Risposta

Successful Response

has_more
boolean
obbligatorio
items
ApiKeyResponse · object[]
obbligatorio
limit
integer
obbligatorio
skip
integer
obbligatorio
total
integer
obbligatorio
next_cursor
integer | null