Get Context
curl --request POST \
--url https://api.opennous.cloud/v2/context \
--header 'Content-Type: application/json' \
--data '
{
"focus": "<string>",
"intent": "<string>",
"budget_tokens": 123
}
'import requests
url = "https://api.opennous.cloud/v2/context"
payload = {
"focus": "<string>",
"intent": "<string>",
"budget_tokens": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({focus: '<string>', intent: '<string>', budget_tokens: 123})
};
fetch('https://api.opennous.cloud/v2/context', 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.opennous.cloud/v2/context",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'focus' => '<string>',
'intent' => '<string>',
'budget_tokens' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.opennous.cloud/v2/context"
payload := strings.NewReader("{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.opennous.cloud/v2/context")
.header("Content-Type", "application/json")
.body("{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/context")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}"
response = http.request(request)
puts response.read_bodyAccount Context
Get Context
Engineered context for one task about one entity. The ranked, claim-tagged block your agent consumes before acting.
POST
/
v2
/
context
Get Context
curl --request POST \
--url https://api.opennous.cloud/v2/context \
--header 'Content-Type: application/json' \
--data '
{
"focus": "<string>",
"intent": "<string>",
"budget_tokens": 123
}
'import requests
url = "https://api.opennous.cloud/v2/context"
payload = {
"focus": "<string>",
"intent": "<string>",
"budget_tokens": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({focus: '<string>', intent: '<string>', budget_tokens: 123})
};
fetch('https://api.opennous.cloud/v2/context', 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.opennous.cloud/v2/context",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'focus' => '<string>',
'intent' => '<string>',
'budget_tokens' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.opennous.cloud/v2/context"
payload := strings.NewReader("{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.opennous.cloud/v2/context")
.header("Content-Type", "application/json")
.body("{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/context")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"focus\": \"<string>\",\n \"intent\": \"<string>\",\n \"budget_tokens\": 123\n}"
response = http.request(request)
puts response.read_bodyThe headline endpoint. Pass who you’re working on and what you’re about to do — get back a focused, ranked context block: the facts that matter, each with confidence and freshness, plus the recent timeline, buying-group stakeholders, and open predictions.
Call this before drafting outreach, preparing for a meeting, or making any decision about a person or company.
Pick one and re-call with
Request
curl -X POST https://api.opennous.cloud/v2/context \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"focus": "sarah@acme.com",
"intent": "follow_up",
"budget_tokens": 1500
}'
Body
string
required
Who to look up. Accepts an email, domain, LinkedIn URL, entity UUID, or a name. A name may match several people — the response will surface candidates.
string
What you’re about to do. Shapes which context surfaces. One of:
account_review(default) — general lookupdraft_email— outreach prepfollow_up— re-engagement after a gapmeeting_prep— pre-meeting briefcall_prep— pre-call brief
number
Approximate token budget for the returned context block. The pipeline ranks and compresses to fit.
Response
{
"entity": { "id": "...", "type": "person", "name": "Sarah Chen" },
"summary": "Sarah is evaluating for Q3; primary concern is Salesforce migration.",
"claims": [
{
"property": "title",
"value": "VP Sales",
"confidence": 0.92,
"freshness": "fresh",
"epistemic_class": "observed",
"sources": ["hubspot", "linkedin"]
}
],
"workspace": [
{ "property": "ICP", "value": "GTM Engineers or RevOps" }
],
"timeline": [
{ "tier": "recent", "when": "2026-05-21T15:00:00Z", "type": "interaction.email_replied", "summary": "Interested but budget waiting on Q3." }
],
"stakeholders": [
{ "name": "Maria Lopez", "role": "CFO" }
],
"predictions": [
{ "kind": "icp_fit", "value": 0.84, "confidence": 0.78 }
],
"meta": { "claims_returned": 12, "token_estimate": 1480 }
}
Ambiguous focus
Iffocus is a name that matches several people, you’ll get:
{
"status": "ambiguous",
"candidates": [
{ "entity_id": "...", "name": "Sarah Chen", "detail": "VP Sales @ Acme" },
{ "entity_id": "...", "name": "Sarah Chen", "detail": "Designer @ Pixel" }
]
}
focus: "<entity_id>".
When to call it
- Before any outbound action on a known contact
- At the start of meeting prep with a saved intent for the use case
- NOT for “what do we know about X” questions where you want raw data — use
/v2/accounts/:idfor that