## List `OrgListResponse orgs().list(OrgListParamsparams = OrgListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())` **get** `/v0/orgs` List organizations accessible to the current authentication method. ### Parameters - `OrgListParams params` ### Returns - `class OrgListResponse:` - `List data` - `Optional displayName` - `boolean enableAiCommitMessages` - `Object object_` - `ORG("org")` - `String slug` - `boolean hasMore` - `Optional nextCursor` ### Example ```java package com.stainless.api.example; import com.stainless.api.client.StainlessClient; import com.stainless.api.client.okhttp.StainlessOkHttpClient; import com.stainless.api.models.orgs.OrgListParams; import com.stainless.api.models.orgs.OrgListResponse; public final class Main { private Main() {} public static void main(String[] args) { StainlessClient client = StainlessOkHttpClient.fromEnv(); OrgListResponse orgs = client.orgs().list(); } } ```