Skip to content
  • Auto
  • Light
  • Dark

Retrieve

Retrieve an organization by name
orgs.retrieve(strorg) -> display_namestrobjectliteralslugstrOrg
get/v0/orgs/{org}

Retrieve an organization by name

Parameters
orgstr
Returns
display_namestrobjectliteralslugstrOrg
from stainless_v0 import Stainless

client = Stainless(
    api_key="My API Key",
)
org = client.orgs.retrieve(
    "org",
)
print(org.display_name)
200 Example
{
  "display_name": "display_name",
  "object": "org",
  "slug": "slug"
}