Get usage
curl --request GET \
--url https://app.chatobserver.com/api/v2/metrics/usage \
--header 'x-chatobserver-key: <api-key>'const options = {method: 'GET', headers: {'x-chatobserver-key': '<api-key>'}};
fetch('https://app.chatobserver.com/api/v2/metrics/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.chatobserver.com/api/v2/metrics/usage"
headers = {"x-chatobserver-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"limits": {
"maximumRowsPerRun": 123,
"maximumBytesPerRun": 123,
"maximumProviderRequestsPerRun": 123,
"maximumPlatformTransformRows": 123,
"maximumConcurrentRuns": 123,
"minimumScheduleIntervalMinutes": 123,
"maximumSchedules": 123,
"maximumTransfers": 123,
"maximumStoredBytes": 123,
"maximumMonthlyProviderRequests": 123,
"maximumMonthlyRuns": 123,
"maximumMonthlyRows": 123,
"maximumMonthlyArtifactBytes": 123,
"maximumMonthlyTransferredBytes": 123,
"warningAtPercent": 123,
"hardStopAtPercent": 123
},
"usage": {
"month": "<string>",
"categories": [
{
"category": "<string>",
"unit": "<string>",
"quantity": "<string>"
}
]
}
}
}{
"error": {
"code": "internal",
"fieldPath": [
"<string>"
],
"parameters": {},
"repairActions": [
"<string>"
],
"requestId": "<string>",
"retryable": false,
"retryAfterSeconds": 1
}
}Data definitions
Get usage
Manage reusable definitions and their immutable versions.
GET
/
api
/
v2
/
metrics
/
usage
Get usage
curl --request GET \
--url https://app.chatobserver.com/api/v2/metrics/usage \
--header 'x-chatobserver-key: <api-key>'const options = {method: 'GET', headers: {'x-chatobserver-key': '<api-key>'}};
fetch('https://app.chatobserver.com/api/v2/metrics/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.chatobserver.com/api/v2/metrics/usage"
headers = {"x-chatobserver-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"limits": {
"maximumRowsPerRun": 123,
"maximumBytesPerRun": 123,
"maximumProviderRequestsPerRun": 123,
"maximumPlatformTransformRows": 123,
"maximumConcurrentRuns": 123,
"minimumScheduleIntervalMinutes": 123,
"maximumSchedules": 123,
"maximumTransfers": 123,
"maximumStoredBytes": 123,
"maximumMonthlyProviderRequests": 123,
"maximumMonthlyRuns": 123,
"maximumMonthlyRows": 123,
"maximumMonthlyArtifactBytes": 123,
"maximumMonthlyTransferredBytes": 123,
"warningAtPercent": 123,
"hardStopAtPercent": 123
},
"usage": {
"month": "<string>",
"categories": [
{
"category": "<string>",
"unit": "<string>",
"quantity": "<string>"
}
]
}
}
}{
"error": {
"code": "internal",
"fieldPath": [
"<string>"
],
"parameters": {},
"repairActions": [
"<string>"
],
"requestId": "<string>",
"retryable": false,
"retryAfterSeconds": 1
}
}