Pular para o conteúdo principal
GET
/
v2
/
enterprise
/
organizations
Enterprise Organizations Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/organizations \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "org_id": "<string>",
      "org_name": "<string>",
      "max_cycle_acu_limit": 123,
      "max_session_acu_limit": 123,
      "org_admin_count": 0,
      "org_member_count": 0,
      "org_user_count": 0
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
Requer uma chave de API pessoal de administrador Enterprise. Retorna uma lista paginada de todas as organizações dentro da sua conta Enterprise.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Query Parameters

skip
integer
default:0
Intervalo obrigatório: x >= 0
limit
integer
default:100
Intervalo obrigatório: 1 <= x <= 200

Response

Successful Response

has_more
boolean
required
items
OrganizationResponse · object[]
required
limit
integer
required
skip
integer
required
total
integer
required
next_cursor
integer | null