Get the platform Control Center
curl --request GET \
--url https://api.openworklabs.com/v1/admin/control-center \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/admin/control-center"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.openworklabs.com/v1/admin/control-center', 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.openworklabs.com/v1/admin/control-center",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.openworklabs.com/v1/admin/control-center"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.openworklabs.com/v1/admin/control-center")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/admin/control-center")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"range": "7d",
"generatedAt": "2023-11-07T05:31:56Z",
"sections": {
"pulse": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"taskUsers": {
"daily": 4503599627370495,
"weekly": 4503599627370495,
"monthly": 4503599627370495,
"previousWeekly": 4503599627370495,
"dailyOverMonthly": 1
},
"tasks": {
"weekly": 4503599627370495,
"previousWeekly": 4503599627370495,
"perWeekday": 1,
"perActiveUser": 1
},
"failures": {
"started": 4503599627370495,
"completed": 4503599627370495,
"failed": 4503599627370495,
"abandoned": 4503599627370495,
"failureRate": 1,
"abandonedRate": 1,
"previousFailureRate": 1
},
"teamOrganizations": {
"active": 4503599627370495,
"previous": 4503599627370495
},
"signups": {
"weekly": 4503599627370495,
"previousWeekly": 4503599627370495,
"workEmail": 4503599627370495,
"workEmailShare": 1
},
"daily": [
{
"date": "<string>",
"taskUsers": 4503599627370495,
"started": 4503599627370495,
"completed": 4503599627370495,
"failed": 4503599627370495,
"signups": 4503599627370495,
"workEmailSignups": 4503599627370495
}
]
}
},
"lifecycle": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"weeks": [
{
"week": "<string>",
"new": 4503599627370495,
"stillActive": 4503599627370495,
"returned": 4503599627370495,
"lost": 4503599627370495,
"gainsVsLosses": 1
}
],
"organizations": [
{
"week": "<string>",
"personal": 4503599627370495,
"team": 4503599627370495
}
],
"activation": {
"from": "<string>",
"to": "<string>",
"signedUp": 4503599627370495,
"ranTaskWithin3Days": 4503599627370495,
"backAfterDay1": 4503599627370495,
"activeInWeek1": 4503599627370495
},
"cohorts": [
{
"week": "<string>",
"signups": 4503599627370495,
"retention": [
{
"offset": 4503599627370495,
"users": 4503599627370495,
"rate": 1
}
]
}
],
"reactivation": {
"week": "<string>",
"reactivated": 4503599627370495,
"returned": 4503599627370495,
"lost": 4503599627370495,
"inactivePool": 4503599627370495,
"returnersStayed": {
"week": "<string>",
"returned": 4503599627370495,
"stayed": 4503599627370495,
"rate": 1
}
}
}
},
"invitations": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"joinedThroughInvite": 4503599627370495,
"joinedRanTask": 4503599627370495,
"joinedRanTaskWithin7Days": 4503599627370495,
"peopleWithAcceptedInvite": 4503599627370495,
"invitations": {
"sent": 4503599627370495,
"accepted": 4503599627370495,
"expired": 4503599627370495,
"pending": 4503599627370495,
"canceled": 4503599627370495,
"medianHoursToAccept": 1
},
"pendingNow": 4503599627370495,
"outreach": {
"contactedOrganizations": 4503599627370495,
"activeWithin7Days": 4503599627370495
}
}
},
"sharing": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"weekly": [
{
"week": "<string>",
"skillUsers": 4503599627370495,
"skillUses": 4503599627370495,
"mcpUsers": 4503599627370495,
"mcpCalls": 4503599627370495
}
],
"skills": {
"creators": 4503599627370495,
"teamSkills": 4503599627370495,
"sharedTeamSkills": 4503599627370495,
"sharingRate": 1,
"teamUses": 4503599627370495,
"teammateUses": 4503599627370495,
"teammateReuseRate": 1
},
"mcp": {
"teamCalls": 4503599627370495,
"sharedConnectionCalls": 4503599627370495,
"sharedReuseRate": 1
},
"connectors": [
{
"name": "<string>",
"people": 4503599627370495,
"calls": 4503599627370495,
"errors": 4503599627370495,
"errorRate": 1
}
],
"catalog": {
"plugins": 4503599627370495,
"marketplaces": 4503599627370495
}
}
},
"revenue": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"activePaidSeats": 4503599627370495,
"activePlans": 4503599627370495,
"pastDue": 4503599627370495,
"monthly": [
{
"month": "<string>",
"type": "inference",
"started": 4503599627370495,
"canceled": 4503599627370495
}
],
"atRisk": [
{
"organizationId": "<string>",
"name": "<string>",
"seats": 4503599627370495,
"activeMembers": 4503599627370495,
"seatUsage": 1
}
]
}
},
"accounts": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"rows": [
{
"organizationId": "<string>",
"name": "<string>",
"members": 4503599627370495,
"active7d": 4503599627370495,
"tasks7d": 4503599627370495,
"plan": "free",
"paying": true,
"seats": 4503599627370495,
"seatUsage": 1
}
]
}
}
},
"refresh": {
"fastIntervalMs": 4503599627370495,
"heavyIntervalMs": 4503599627370495,
"lastRequestedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "invalid_request",
"details": [
{
"message": "<string>",
"path": [
"<string>"
]
}
],
"message": "<string>",
"capability": "<string>"
}{
"error": "unauthorized"
}{
"error": "forbidden",
"reason": "<string>",
"message": "<string>"
}Admin
Get the platform Control Center
Returns every Control Center section (pulse, growth and lifecycle, invitations, skill and MCP sharing, revenue, accounts to watch) from snapshots a background job precomputes. Never runs the underlying queries: each section carries when it was computed, whether it is stale and the last refresh error, if any. Range-independent sections (revenue, accounts) ignore range. Aggregate counts only, apart from organization names.
GET
/
v1
/
admin
/
control-center
Get the platform Control Center
curl --request GET \
--url https://api.openworklabs.com/v1/admin/control-center \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/admin/control-center"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.openworklabs.com/v1/admin/control-center', 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.openworklabs.com/v1/admin/control-center",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.openworklabs.com/v1/admin/control-center"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.openworklabs.com/v1/admin/control-center")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/admin/control-center")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"range": "7d",
"generatedAt": "2023-11-07T05:31:56Z",
"sections": {
"pulse": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"taskUsers": {
"daily": 4503599627370495,
"weekly": 4503599627370495,
"monthly": 4503599627370495,
"previousWeekly": 4503599627370495,
"dailyOverMonthly": 1
},
"tasks": {
"weekly": 4503599627370495,
"previousWeekly": 4503599627370495,
"perWeekday": 1,
"perActiveUser": 1
},
"failures": {
"started": 4503599627370495,
"completed": 4503599627370495,
"failed": 4503599627370495,
"abandoned": 4503599627370495,
"failureRate": 1,
"abandonedRate": 1,
"previousFailureRate": 1
},
"teamOrganizations": {
"active": 4503599627370495,
"previous": 4503599627370495
},
"signups": {
"weekly": 4503599627370495,
"previousWeekly": 4503599627370495,
"workEmail": 4503599627370495,
"workEmailShare": 1
},
"daily": [
{
"date": "<string>",
"taskUsers": 4503599627370495,
"started": 4503599627370495,
"completed": 4503599627370495,
"failed": 4503599627370495,
"signups": 4503599627370495,
"workEmailSignups": 4503599627370495
}
]
}
},
"lifecycle": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"weeks": [
{
"week": "<string>",
"new": 4503599627370495,
"stillActive": 4503599627370495,
"returned": 4503599627370495,
"lost": 4503599627370495,
"gainsVsLosses": 1
}
],
"organizations": [
{
"week": "<string>",
"personal": 4503599627370495,
"team": 4503599627370495
}
],
"activation": {
"from": "<string>",
"to": "<string>",
"signedUp": 4503599627370495,
"ranTaskWithin3Days": 4503599627370495,
"backAfterDay1": 4503599627370495,
"activeInWeek1": 4503599627370495
},
"cohorts": [
{
"week": "<string>",
"signups": 4503599627370495,
"retention": [
{
"offset": 4503599627370495,
"users": 4503599627370495,
"rate": 1
}
]
}
],
"reactivation": {
"week": "<string>",
"reactivated": 4503599627370495,
"returned": 4503599627370495,
"lost": 4503599627370495,
"inactivePool": 4503599627370495,
"returnersStayed": {
"week": "<string>",
"returned": 4503599627370495,
"stayed": 4503599627370495,
"rate": 1
}
}
}
},
"invitations": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"joinedThroughInvite": 4503599627370495,
"joinedRanTask": 4503599627370495,
"joinedRanTaskWithin7Days": 4503599627370495,
"peopleWithAcceptedInvite": 4503599627370495,
"invitations": {
"sent": 4503599627370495,
"accepted": 4503599627370495,
"expired": 4503599627370495,
"pending": 4503599627370495,
"canceled": 4503599627370495,
"medianHoursToAccept": 1
},
"pendingNow": 4503599627370495,
"outreach": {
"contactedOrganizations": 4503599627370495,
"activeWithin7Days": 4503599627370495
}
}
},
"sharing": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"weekly": [
{
"week": "<string>",
"skillUsers": 4503599627370495,
"skillUses": 4503599627370495,
"mcpUsers": 4503599627370495,
"mcpCalls": 4503599627370495
}
],
"skills": {
"creators": 4503599627370495,
"teamSkills": 4503599627370495,
"sharedTeamSkills": 4503599627370495,
"sharingRate": 1,
"teamUses": 4503599627370495,
"teammateUses": 4503599627370495,
"teammateReuseRate": 1
},
"mcp": {
"teamCalls": 4503599627370495,
"sharedConnectionCalls": 4503599627370495,
"sharedReuseRate": 1
},
"connectors": [
{
"name": "<string>",
"people": 4503599627370495,
"calls": 4503599627370495,
"errors": 4503599627370495,
"errorRate": 1
}
],
"catalog": {
"plugins": 4503599627370495,
"marketplaces": 4503599627370495
}
}
},
"revenue": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"activePaidSeats": 4503599627370495,
"activePlans": 4503599627370495,
"pastDue": 4503599627370495,
"monthly": [
{
"month": "<string>",
"type": "inference",
"started": 4503599627370495,
"canceled": 4503599627370495
}
],
"atRisk": [
{
"organizationId": "<string>",
"name": "<string>",
"seats": 4503599627370495,
"activeMembers": 4503599627370495,
"seatUsage": 1
}
]
}
},
"accounts": {
"computedAt": "2023-11-07T05:31:56Z",
"stale": true,
"error": "<string>",
"durationMs": 4503599627370495,
"data": {
"rows": [
{
"organizationId": "<string>",
"name": "<string>",
"members": 4503599627370495,
"active7d": 4503599627370495,
"tasks7d": 4503599627370495,
"plan": "free",
"paying": true,
"seats": 4503599627370495,
"seatUsage": 1
}
]
}
}
},
"refresh": {
"fastIntervalMs": 4503599627370495,
"heavyIntervalMs": 4503599627370495,
"lastRequestedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "invalid_request",
"details": [
{
"message": "<string>",
"path": [
"<string>"
]
}
],
"message": "<string>",
"capability": "<string>"
}{
"error": "unauthorized"
}{
"error": "forbidden",
"reason": "<string>",
"message": "<string>"
}Authorizations
denApiKeybearerAuth
Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.
Query Parameters
Available options:
7d, 30d, 90d Response
Control Center snapshots returned.
Available options:
7d, 30d, 90d Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?