API Reference
Read this organization's usage by day
Read this organization's usage by day
curl --request GET \
--url https://developer-api.seekout.io/v1/usage/timeseriesimport requests
url = "https://developer-api.seekout.io/v1/usage/timeseries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://developer-api.seekout.io/v1/usage/timeseries', 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://developer-api.seekout.io/v1/usage/timeseries",
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://developer-api.seekout.io/v1/usage/timeseries"
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://developer-api.seekout.io/v1/usage/timeseries")
.asString();require 'uri'
require 'net/http'
url = URI("https://developer-api.seekout.io/v1/usage/timeseries")
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{
"generated_at": "2023-11-07T05:31:56Z",
"data_through": "2023-11-07T05:31:56Z",
"freshness_state": "current",
"organization_id": "<string>",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"filters": {
"operation": "<string>",
"application_id": "<string>",
"credential_family_id": "<string>",
"credential_id": "<string>",
"http_status_code": "<string>"
},
"buckets": [
{
"bucket_date": "2023-12-25",
"calls": 1,
"billable_calls": 1,
"billable_units": 1,
"unavailable_billable_units": 1,
"successful_calls": 1,
"non_success_calls": 1,
"people_returned": 1,
"facet_buckets_returned": 1,
"credit_microunits": 1,
"restored_credit_microunits": 1,
"net_credit_microunits": 1
}
],
"request_audit_materialized_at": "2023-11-07T05:31:56Z",
"source_coverage": {
"state": "unknown",
"source_read_succeeded_at": "2023-11-07T05:31:56Z",
"latest_source_file_modified_at": "2023-11-07T05:31:56Z",
"latest_source_event_at": "2023-11-07T05:31:56Z"
}
}Response
200 - application/json
Successful Response
Day-grain usage across the window.
Was this page helpful?
⌘I
Read this organization's usage by day
curl --request GET \
--url https://developer-api.seekout.io/v1/usage/timeseriesimport requests
url = "https://developer-api.seekout.io/v1/usage/timeseries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://developer-api.seekout.io/v1/usage/timeseries', 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://developer-api.seekout.io/v1/usage/timeseries",
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://developer-api.seekout.io/v1/usage/timeseries"
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://developer-api.seekout.io/v1/usage/timeseries")
.asString();require 'uri'
require 'net/http'
url = URI("https://developer-api.seekout.io/v1/usage/timeseries")
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{
"generated_at": "2023-11-07T05:31:56Z",
"data_through": "2023-11-07T05:31:56Z",
"freshness_state": "current",
"organization_id": "<string>",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"filters": {
"operation": "<string>",
"application_id": "<string>",
"credential_family_id": "<string>",
"credential_id": "<string>",
"http_status_code": "<string>"
},
"buckets": [
{
"bucket_date": "2023-12-25",
"calls": 1,
"billable_calls": 1,
"billable_units": 1,
"unavailable_billable_units": 1,
"successful_calls": 1,
"non_success_calls": 1,
"people_returned": 1,
"facet_buckets_returned": 1,
"credit_microunits": 1,
"restored_credit_microunits": 1,
"net_credit_microunits": 1
}
],
"request_audit_materialized_at": "2023-11-07T05:31:56Z",
"source_coverage": {
"state": "unknown",
"source_read_succeeded_at": "2023-11-07T05:31:56Z",
"latest_source_file_modified_at": "2023-11-07T05:31:56Z",
"latest_source_event_at": "2023-11-07T05:31:56Z"
}
}