Read compact corpus orientation
curl --request GET \
--url https://api.ai-baseline.dev/baseline/sandp500/corpus-overview \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.ai-baseline.dev/baseline/sandp500/corpus-overview"
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.ai-baseline.dev/baseline/sandp500/corpus-overview', 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.ai-baseline.dev/baseline/sandp500/corpus-overview",
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.ai-baseline.dev/baseline/sandp500/corpus-overview"
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.ai-baseline.dev/baseline/sandp500/corpus-overview")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ai-baseline.dev/baseline/sandp500/corpus-overview")
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{
"corpus_id": "<string>",
"policy_fingerprint": "<string>",
"text_state": "missing",
"text": {
"purpose": "<string>",
"coverage_narrative": "<string>"
},
"text_revision": 4611686018427388000,
"text_updated_at": "2023-11-07T05:31:56Z",
"inventory_state": "unavailable",
"inventory": {
"document_count": 4611686018427388000,
"publication_dates": {
"earliest": "2023-12-25",
"latest": "2023-12-25",
"missing_count": 4611686018427388000
},
"document_types": [
{
"value": "<string>",
"count": 4611686018427388000
}
],
"other_type_count": 4611686018427388000,
"missing_type_count": 4611686018427388000,
"topics": "unsupported",
"count_unit": "eligible_source_record"
},
"inventory_revision": 4611686018427388000,
"inventory_updated_at": "2023-11-07T05:31:56Z",
"schema_version": 1,
"visibility_scope": "connection",
"authoring_mode": "manual"
}API Reference
Read compact corpus orientation
Manual purpose and coverage with a bounded factual inventory. Orientation is not source evidence.
GET
/
corpus-overview
Read compact corpus orientation
curl --request GET \
--url https://api.ai-baseline.dev/baseline/sandp500/corpus-overview \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.ai-baseline.dev/baseline/sandp500/corpus-overview"
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.ai-baseline.dev/baseline/sandp500/corpus-overview', 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.ai-baseline.dev/baseline/sandp500/corpus-overview",
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.ai-baseline.dev/baseline/sandp500/corpus-overview"
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.ai-baseline.dev/baseline/sandp500/corpus-overview")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ai-baseline.dev/baseline/sandp500/corpus-overview")
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{
"corpus_id": "<string>",
"policy_fingerprint": "<string>",
"text_state": "missing",
"text": {
"purpose": "<string>",
"coverage_narrative": "<string>"
},
"text_revision": 4611686018427388000,
"text_updated_at": "2023-11-07T05:31:56Z",
"inventory_state": "unavailable",
"inventory": {
"document_count": 4611686018427388000,
"publication_dates": {
"earliest": "2023-12-25",
"latest": "2023-12-25",
"missing_count": 4611686018427388000
},
"document_types": [
{
"value": "<string>",
"count": 4611686018427388000
}
],
"other_type_count": 4611686018427388000,
"missing_type_count": 4611686018427388000,
"topics": "unsupported",
"count_unit": "eligible_source_record"
},
"inventory_revision": 4611686018427388000,
"inventory_updated_at": "2023-11-07T05:31:56Z",
"schema_version": 1,
"visibility_scope": "connection",
"authoring_mode": "manual"
}Authorizations
Response
Successful Response
- CorpusOverviewV1
- CorpusOverviewV2
Public orientation shared by API and MCP, bounded independently of size.
Required string length:
1 - 200A lowercase SHA-256 digest with an explicit algorithm prefix.
Available options:
missing, current, needs_review, withheld Current operator-authored content, with no generated authoring mode.
Show child attributes
Show child attributes
Required range:
0 <= x <= 9223372036854776000Available options:
unavailable, fresh, stale Measured facts for one published inventory, never source evidence.
Show child attributes
Show child attributes
Required range:
0 <= x <= 9223372036854776000Allowed value:
"connection"Allowed value:
"manual"