Zum Hauptinhalt springen
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
}
Erfordert einen persönlichen API key eines Enterprise-Administrators. Gibt eine paginierte Liste aller Organisationen innerhalb Ihres Enterprise zurück.

Autorisierungen

Authorization
string
header
erforderlich

Personal API Key (apk_user_*) for Enterprise Admins only

Abfrageparameter

skip
integer
Standard:0
Erforderlicher Bereich: x >= 0
limit
integer
Standard:100
Erforderlicher Bereich: 1 <= x <= 200

Antwort

Successful Response

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