Skip to main content
GET
/
api
/
v1
/
orgs
/
{org}
Retrieve an organization
curl --request GET \
  --url https://auth.cognite.com/api/v1/orgs/{org}
import requests

url = "https://auth.cognite.com/api/v1/orgs/{org}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://auth.cognite.com/api/v1/orgs/{org}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://auth.cognite.com/api/v1/orgs/{org}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://auth.cognite.com/api/v1/orgs/{org}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://auth.cognite.com/api/v1/orgs/{org}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://auth.cognite.com/api/v1/orgs/{org}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "id": "my-org",
  "parentId": "my-org",
  "idp": {
    "idpVendor": "AZURE_AD",
    "issuer": "https://login.microsoftonline.com/some-tenant-id/v2.0"
  },
  "adminsCanCreateOrgsInSubtree": false,
  "adminsCanCreateProjectsInSubtree": false,
  "allowedClusters": [
    "westeurope-1",
    "asia-northeast1-1"
  ],
  "adminGroupId": "my-external-group"
}

Path Parameters

org
string
required

ID of an organization The ID of an organization

Required string length: 3 - 64
Pattern: ^([a-z][a-z0-9-]{1,62}[a-z0-9])$
Example:

"my-org"

Response

200 - application/json

An organization

An organization

id
string
required

The ID of an organization

Required string length: 3 - 64
Pattern: ^([a-z][a-z0-9-]{1,62}[a-z0-9])$
Example:

"my-org"

parentId
string
required

The ID of an organization

Required string length: 3 - 64
Pattern: ^([a-z][a-z0-9-]{1,62}[a-z0-9])$
Example:

"my-org"

idp
object
required

Configuration for an external OIDC-compliant IdP.

adminsCanCreateOrgsInSubtree
boolean
default:false
required

Whether admins of the new organization are allowed to create organizations in the subtree of the organization.

adminsCanCreateProjectsInSubtree
boolean
default:false
required

Whether admins of the new organization are allowed to create CDF projects in the subtree of the organization.

allowedClusters
string[]
required

The clusters on which the admins of the organization will be able to create projects. This must be a (non-strict) subset of the allowedClusters set of the parent organization.

A CDF cluster name

Required string length: 1 - 32
Pattern: ^[a-z0-9-]{1,32}$
Example:
["westeurope-1", "asia-northeast1-1"]
adminGroupId
string

The ID of the externally managed group that contains the organization's admins.

Required string length: 3 - 64
Example:

"my-external-group"

Last modified on July 10, 2026