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.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Query Parameters

skip
integer
default:0
Erforderlicher Bereich: x >= 0
limit
integer
default:100
Erforderlicher Bereich: 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