AgentConnect
Organizations

List your organizations

Every organization the caller belongs to, with their role. An empty list means the caller belongs to none yet and should create or join one. Where the deployment has its own SSO connector, the organization its sign-ins join (the one named in Setup, or else the deployment’s only organization) carries deploymentMemberSource, invite or domain; no other organization does.

GET
/v1/orgs

授权

bearerAuth
授权Bearer <token>

位置: header

响应主体

application/json

curl -X GET "https://example.com/v1/orgs"
[  {    "id": "string",    "name": "string",    "slug": "string",    "icon": {      "kind": "runtime"    },    "defaultAgentVisibility": "all",    "defaultDaemonAutoUpgrade": true,    "onboardingCompleted": true,    "gettingStartedStep": -9007199254740991,    "iconUrl": "string",    "iconUploadEnabled": true,    "role": "owner",    "memberCount": -9007199254740991,    "daemonCount": -9007199254740991,    "ssoSignIn": {      "connectorId": "string"    },    "deploymentMemberSource": "invite",    "createdAt": "string"  }]