## List `client.Orgs.List(ctx) (*OrgListResponse, error)` **get** `/v0/orgs` List organizations accessible to the current authentication method. ### Returns - `type OrgListResponse struct{…}` - `Data []Org` - `DisplayName string` - `EnableAICommitMessages bool` - `Object OrgObject` - `const OrgObjectOrg OrgObject = "org"` - `Slug string` - `HasMore bool` - `NextCursor string` ### Example ```go package main import ( "context" "fmt" "github.com/stainless-api/stainless-api-go" "github.com/stainless-api/stainless-api-go/option" ) func main() { client := stainless.NewClient( option.WithAPIKey("My API Key"), ) orgs, err := client.Orgs.List(context.TODO()) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", orgs.Data) } ```