Organization
Who am I
Who this key acts as, the workspace, setup state, and the usage budget left this period.
GET
/
v2
/
workspace
/
whoami
Who am I
curl --request GET \
--url https://api.opennous.cloud/v2/workspace/whoami \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opennous.cloud/v2/workspace/whoami"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opennous.cloud/v2/workspace/whoami', 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://api.opennous.cloud/v2/workspace/whoami",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.opennous.cloud/v2/workspace/whoami"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.opennous.cloud/v2/workspace/whoami")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/workspace/whoami")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"workspace": {
"id": "1f0e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"name": "Acme GTM"
},
"you": {
"user_id": "u1",
"name": "Jordan Lee",
"email": "jordan@yourco.com",
"scope": "member",
"roles": [
"account_executive"
],
"capability": "read_write"
},
"setup": {
"onboarded": true,
"accounts": 412,
"has_icp": true
},
"usage": {
"plan": "growth",
"period_start": "2026-09-01T00:00:00Z",
"period_end": "2026-10-01T00:00:00Z",
"ops_used": 1840,
"ops_limit": 10000,
"ops_left": 8160,
"credits_left": 312
}
}
Who this key acts as, the workspace, whether it is set up, and the ops and credits left this period. Call it first.
usage is null when usage could not be read. The identity part still answers.Authorizations
bearerAuthapiKeyHeader
Workspace API key. Create one in Settings → API keys.
⌘I
Who am I
curl --request GET \
--url https://api.opennous.cloud/v2/workspace/whoami \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opennous.cloud/v2/workspace/whoami"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opennous.cloud/v2/workspace/whoami', 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://api.opennous.cloud/v2/workspace/whoami",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.opennous.cloud/v2/workspace/whoami"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.opennous.cloud/v2/workspace/whoami")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/workspace/whoami")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"workspace": {
"id": "1f0e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"name": "Acme GTM"
},
"you": {
"user_id": "u1",
"name": "Jordan Lee",
"email": "jordan@yourco.com",
"scope": "member",
"roles": [
"account_executive"
],
"capability": "read_write"
},
"setup": {
"onboarded": true,
"accounts": 412,
"has_icp": true
},
"usage": {
"plan": "growth",
"period_start": "2026-09-01T00:00:00Z",
"period_end": "2026-10-01T00:00:00Z",
"ops_used": 1840,
"ops_limit": 10000,
"ops_left": 8160,
"credits_left": 312
}
}