Get Organization Usage
curl --request GET \
--url https://server.promptwatch.com/api/v2/usage \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/usage"
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://server.promptwatch.com/api/v2/usage', 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://server.promptwatch.com/api/v2/usage",
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://server.promptwatch.com/api/v2/usage"
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://server.promptwatch.com/api/v2/usage")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/usage")
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{
"period": {
"from": "2026-09-01T00:00:00.000Z",
"to": "2026-09-30T23:59:59.999Z"
},
"organization": {
"activePrompts": {
"current": 120,
"limit": 500,
"isLimitReached": false,
"resetsAt": null
},
"promptResponses": {
"current": 3400,
"limit": 10000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"chatCredits": {
"current": 10,
"limit": 1500,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"teamMembers": {
"current": 3,
"limit": 10,
"isLimitReached": false,
"resetsAt": null
},
"projects": {
"current": 2,
"limit": 5,
"isLimitReached": false,
"resetsAt": null
},
"pitchProjects": {
"current": 0,
"limit": 0,
"isLimitReached": true,
"resetsAt": null
},
"analyticsEvents": {
"current": 50,
"limit": 1000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"crawlerLogs": {
"current": 20,
"limit": 1000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"contentGenerations": {
"current": 1,
"limit": 10,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"crawledPages": {
"current": 8,
"limit": 1000,
"isLimitReached": false,
"resetsAt": null
},
"knowledgeBaseItems": {
"current": 4,
"limit": 50,
"isLimitReached": false,
"resetsAt": null
},
"reportingSchedules": {
"current": 1,
"limit": 10,
"isLimitReached": false,
"resetsAt": null
}
},
"projects": [
{
"id": "6ba7b81a-9dad-11d1-80b4-00c04fd430c8",
"name": "Acme",
"website": "https://acme.com",
"isPitchProject": false,
"usage": {
"activePrompts": {
"current": 40,
"cap": 100
},
"promptResponses": {
"current": 900,
"cap": null
},
"analyticsEvents": {
"current": 5000
},
"crawlerLogs": {
"current": 12
},
"contentGenerations": {
"current": 1
},
"crawledPages": {
"current": 5
},
"knowledgeBaseItems": {
"current": 2
}
}
}
]
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "USAGE_ORG_FORBIDDEN",
"message": "This endpoint requires an organization-level API key"
}{
"code": "USAGE_ORG_FORBIDDEN",
"message": "This endpoint requires an organization-level API key"
}Usage
Get Organization Usage
Get effective organization usage and limits (plan, custom overrides, and add-ons), plus a per-project breakdown including project caps. Requires an organization-level API key. X-Project-Id is not required.
GET
/
usage
Get Organization Usage
curl --request GET \
--url https://server.promptwatch.com/api/v2/usage \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/usage"
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://server.promptwatch.com/api/v2/usage', 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://server.promptwatch.com/api/v2/usage",
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://server.promptwatch.com/api/v2/usage"
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://server.promptwatch.com/api/v2/usage")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/usage")
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{
"period": {
"from": "2026-09-01T00:00:00.000Z",
"to": "2026-09-30T23:59:59.999Z"
},
"organization": {
"activePrompts": {
"current": 120,
"limit": 500,
"isLimitReached": false,
"resetsAt": null
},
"promptResponses": {
"current": 3400,
"limit": 10000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"chatCredits": {
"current": 10,
"limit": 1500,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"teamMembers": {
"current": 3,
"limit": 10,
"isLimitReached": false,
"resetsAt": null
},
"projects": {
"current": 2,
"limit": 5,
"isLimitReached": false,
"resetsAt": null
},
"pitchProjects": {
"current": 0,
"limit": 0,
"isLimitReached": true,
"resetsAt": null
},
"analyticsEvents": {
"current": 50,
"limit": 1000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"crawlerLogs": {
"current": 20,
"limit": 1000,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"contentGenerations": {
"current": 1,
"limit": 10,
"isLimitReached": false,
"resetsAt": "2026-10-01T00:00:00.000Z"
},
"crawledPages": {
"current": 8,
"limit": 1000,
"isLimitReached": false,
"resetsAt": null
},
"knowledgeBaseItems": {
"current": 4,
"limit": 50,
"isLimitReached": false,
"resetsAt": null
},
"reportingSchedules": {
"current": 1,
"limit": 10,
"isLimitReached": false,
"resetsAt": null
}
},
"projects": [
{
"id": "6ba7b81a-9dad-11d1-80b4-00c04fd430c8",
"name": "Acme",
"website": "https://acme.com",
"isPitchProject": false,
"usage": {
"activePrompts": {
"current": 40,
"cap": 100
},
"promptResponses": {
"current": 900,
"cap": null
},
"analyticsEvents": {
"current": 5000
},
"crawlerLogs": {
"current": 12
},
"contentGenerations": {
"current": 1
},
"crawledPages": {
"current": 5
},
"knowledgeBaseItems": {
"current": 2
}
}
}
]
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "USAGE_ORG_FORBIDDEN",
"message": "This endpoint requires an organization-level API key"
}{
"code": "USAGE_ORG_FORBIDDEN",
"message": "This endpoint requires an organization-level API key"
}Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Response
Default Response