curl -X PUT 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/pages/customer' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"rev":2,"page":{"id":"customer","state":"written","headline":"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}","lede":"Across its three clinics, patients praise the care and complain about the wait.","read":[{"exhibit":"customer-1","figure":"reviews","label":"Google reviews read"}],"questions":[{"id":"customer-q1","ask":"Do patients rate it as well as its rivals?","answer":"A little below: {customer-1.average} stars against {customer-1.rivals_average}.","cards":[{"exhibit":"customer-1","figure":"average","label":"Northwind Dental","line":"average stars on Google, the last year"}]},{"id":"customer-q2","ask":"What do unhappy patients say?","answer":"Mostly that they waited past their appointment.","cards":[]}],"exhibits":[{"id":"customer-1","numbers":"rating_rivals","company":"northwind-dental","params":{"source":"google-maps","from":"2025-11-14","to":"2026-11-14"},"show":"bars","title":"Google rating, against its confirmed rival","point":"Northwind trails Bluebird by three tenths of a star.","caveat":null}],"quotes":[{"kind":"signal","id":"sig_01JD9C5E6F7G00000000000000","exhibit":"customer-1","why":"A two-star review about the wait"}],"method":{"read":"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two","from":"2025-11-14","to":"2026-11-14","left_out":[]},"web":[],"names":["Northwind Dental","Bluebird Dental","Google"]}}'import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}"
payload = {
"rev": 2,
"page": {
"id": "customer",
"state": "written",
"headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
"lede": "Across its three clinics, patients praise the care and complain about the wait.",
"read": [
{
"exhibit": "customer-1",
"figure": "reviews",
"label": "Google reviews read"
}
],
"questions": [
{
"id": "customer-q1",
"ask": "Do patients rate it as well as its rivals?",
"answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
"cards": [
{
"exhibit": "customer-1",
"figure": "average",
"label": "Northwind Dental",
"line": "average stars on Google, the last year"
}
]
},
{
"id": "customer-q2",
"ask": "What do unhappy patients say?",
"answer": "Mostly that they waited past their appointment.",
"cards": []
}
],
"exhibits": [
{
"id": "customer-1",
"numbers": "rating_rivals",
"company": "northwind-dental",
"params": {
"source": "google-maps",
"from": "2025-11-14",
"to": "2026-11-14"
},
"show": "bars",
"title": "Google rating, against its confirmed rival",
"point": "Northwind trails Bluebird by three tenths of a star.",
"caveat": None
}
],
"quotes": [
{
"kind": "signal",
"id": "sig_01JD9C5E6F7G00000000000000",
"exhibit": "customer-1",
"why": "A two-star review about the wait"
}
],
"method": {
"read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
"from": "2025-11-14",
"to": "2026-11-14",
"left_out": []
},
"web": [],
"names": ["Northwind Dental", "Bluebird Dental", "Google"]
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rev: 2,
page: {
id: 'customer',
state: 'written',
headline: 'Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}',
lede: 'Across its three clinics, patients praise the care and complain about the wait.',
read: [{exhibit: 'customer-1', figure: 'reviews', label: 'Google reviews read'}],
questions: [
{
id: 'customer-q1',
ask: 'Do patients rate it as well as its rivals?',
answer: 'A little below: {customer-1.average} stars against {customer-1.rivals_average}.',
cards: [
{
exhibit: 'customer-1',
figure: 'average',
label: 'Northwind Dental',
line: 'average stars on Google, the last year'
}
]
},
{
id: 'customer-q2',
ask: 'What do unhappy patients say?',
answer: 'Mostly that they waited past their appointment.',
cards: []
}
],
exhibits: [
{
id: 'customer-1',
numbers: 'rating_rivals',
company: 'northwind-dental',
params: {source: 'google-maps', from: '2025-11-14', to: '2026-11-14'},
show: 'bars',
title: 'Google rating, against its confirmed rival',
point: 'Northwind trails Bluebird by three tenths of a star.',
caveat: null
}
],
quotes: [
{
kind: 'signal',
id: 'sig_01JD9C5E6F7G00000000000000',
exhibit: 'customer-1',
why: 'A two-star review about the wait'
}
],
method: {
read: 'Google reviews of its three confirmed clinics, and of its one confirmed rival’s two',
from: '2025-11-14',
to: '2026-11-14',
left_out: []
},
web: [],
names: ['Northwind Dental', 'Bluebird Dental', 'Google']
}
})
};
fetch('https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}', 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.poddata.ai/v1/diligence-reports/{id}/pages/{page}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'rev' => 2,
'page' => [
'id' => 'customer',
'state' => 'written',
'headline' => 'Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}',
'lede' => 'Across its three clinics, patients praise the care and complain about the wait.',
'read' => [
[
'exhibit' => 'customer-1',
'figure' => 'reviews',
'label' => 'Google reviews read'
]
],
'questions' => [
[
'id' => 'customer-q1',
'ask' => 'Do patients rate it as well as its rivals?',
'answer' => 'A little below: {customer-1.average} stars against {customer-1.rivals_average}.',
'cards' => [
[
'exhibit' => 'customer-1',
'figure' => 'average',
'label' => 'Northwind Dental',
'line' => 'average stars on Google, the last year'
]
]
],
[
'id' => 'customer-q2',
'ask' => 'What do unhappy patients say?',
'answer' => 'Mostly that they waited past their appointment.',
'cards' => [
]
]
],
'exhibits' => [
[
'id' => 'customer-1',
'numbers' => 'rating_rivals',
'company' => 'northwind-dental',
'params' => [
'source' => 'google-maps',
'from' => '2025-11-14',
'to' => '2026-11-14'
],
'show' => 'bars',
'title' => 'Google rating, against its confirmed rival',
'point' => 'Northwind trails Bluebird by three tenths of a star.',
'caveat' => null
]
],
'quotes' => [
[
'kind' => 'signal',
'id' => 'sig_01JD9C5E6F7G00000000000000',
'exhibit' => 'customer-1',
'why' => 'A two-star review about the wait'
]
],
'method' => [
'read' => 'Google reviews of its three confirmed clinics, and of its one confirmed rival’s two',
'from' => '2025-11-14',
'to' => '2026-11-14',
'left_out' => [
]
],
'web' => [
],
'names' => [
'Northwind Dental',
'Bluebird Dental',
'Google'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.poddata.ai/v1/diligence-reports/{id}/pages/{page}"
payload := strings.NewReader("{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}"
response = http.request(request)
puts response.read_bodySaves one page of a diligence report, its overview or its plan, over the version that was read
Saves one page of a report, the overview with overview as the page, or the plan of its pages with plan as the page, over the version you read (rev). A plan names the kind of company and says of each of the ten whether it’s in, and why where it’s out: saving it marks each page it leaves out as left out, and puts a page it brings back to empty. Copy cites a figure as {exhibit.figure}, never as a number typed in: each exhibit is a saved question to a number tool (numbers, company, params), asked again each time the report is read, and its figure takes the braces’ place. Each web source on a page that names neither a kept document nor not_kept has its page kept as it’s saved, a PDF or a filing on EDGAR too, as POST /diligence-reports/{id}/web-pages keeps one: the answer’s source names the document, or says in not_kept why it couldn’t be kept, such as a sign-in. A finding of the overview may name the sentences of a company’s call it draws on, at most six (sentences): each the call’s transcript (tr_…), the turn’s number as GET /transcripts/{id} gives it, and the sentence’s first character and the one after its last in that turn’s text, a sentence or a run of whole sentences of one turn. A page is saved whenever it fits the shape, whatever the check says. The answer fills and checks what you saved and the overview, which covers names: their exhibits asked now, their figures in place in filled, and what the check finds on them and on the report’s shape. The other pages stay as saved, figures in braces, so a save stays quick on a long report: GET /diligence-reports/{id} fills every page, and POST /diligence-reports/{id}/check checks every page and records how many things it refuses.
Before: GET /diligence-reports/{id} for the current rev and the page as saved. Ask each exhibit’s number tool first, to see what its figures are.
Next: Save the next page. When all five and the overview are written, POST /diligence-reports/{id}/check, which checks the whole report.
Limits: A rev someone has saved over since is a 409 that names the version it’s at now: read it again and change only what you meant to. A page holds at most 12 exhibits and 30 cited items. Keeping a page’s web sources waits up to 25 seconds, side by side; one not kept by then, or one its site couldn’t answer just now, is asked again on the next save. Saving makes a checked report a draft again. When the report can’t be read back after the page is saved, as when PodData’s database stays too busy for what it asked through waits of 2, 5, 10 and 20 seconds, the answer is still 200 with the version saved and check.pending: the page is kept, filled has its figures still in braces, and a read a minute later fills them and says what the check finds. A 503 with Retry-After comes before the save is kept, or may have kept it: read the report for its version before saving again.
curl -X PUT 'https://api.poddata.ai/v1/diligence-reports/dlr_01JD9K4M5N6P00000000000000/pages/customer' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"rev":2,"page":{"id":"customer","state":"written","headline":"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}","lede":"Across its three clinics, patients praise the care and complain about the wait.","read":[{"exhibit":"customer-1","figure":"reviews","label":"Google reviews read"}],"questions":[{"id":"customer-q1","ask":"Do patients rate it as well as its rivals?","answer":"A little below: {customer-1.average} stars against {customer-1.rivals_average}.","cards":[{"exhibit":"customer-1","figure":"average","label":"Northwind Dental","line":"average stars on Google, the last year"}]},{"id":"customer-q2","ask":"What do unhappy patients say?","answer":"Mostly that they waited past their appointment.","cards":[]}],"exhibits":[{"id":"customer-1","numbers":"rating_rivals","company":"northwind-dental","params":{"source":"google-maps","from":"2025-11-14","to":"2026-11-14"},"show":"bars","title":"Google rating, against its confirmed rival","point":"Northwind trails Bluebird by three tenths of a star.","caveat":null}],"quotes":[{"kind":"signal","id":"sig_01JD9C5E6F7G00000000000000","exhibit":"customer-1","why":"A two-star review about the wait"}],"method":{"read":"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two","from":"2025-11-14","to":"2026-11-14","left_out":[]},"web":[],"names":["Northwind Dental","Bluebird Dental","Google"]}}'import requests
url = "https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}"
payload = {
"rev": 2,
"page": {
"id": "customer",
"state": "written",
"headline": "Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}",
"lede": "Across its three clinics, patients praise the care and complain about the wait.",
"read": [
{
"exhibit": "customer-1",
"figure": "reviews",
"label": "Google reviews read"
}
],
"questions": [
{
"id": "customer-q1",
"ask": "Do patients rate it as well as its rivals?",
"answer": "A little below: {customer-1.average} stars against {customer-1.rivals_average}.",
"cards": [
{
"exhibit": "customer-1",
"figure": "average",
"label": "Northwind Dental",
"line": "average stars on Google, the last year"
}
]
},
{
"id": "customer-q2",
"ask": "What do unhappy patients say?",
"answer": "Mostly that they waited past their appointment.",
"cards": []
}
],
"exhibits": [
{
"id": "customer-1",
"numbers": "rating_rivals",
"company": "northwind-dental",
"params": {
"source": "google-maps",
"from": "2025-11-14",
"to": "2026-11-14"
},
"show": "bars",
"title": "Google rating, against its confirmed rival",
"point": "Northwind trails Bluebird by three tenths of a star.",
"caveat": None
}
],
"quotes": [
{
"kind": "signal",
"id": "sig_01JD9C5E6F7G00000000000000",
"exhibit": "customer-1",
"why": "A two-star review about the wait"
}
],
"method": {
"read": "Google reviews of its three confirmed clinics, and of its one confirmed rival’s two",
"from": "2025-11-14",
"to": "2026-11-14",
"left_out": []
},
"web": [],
"names": ["Northwind Dental", "Bluebird Dental", "Google"]
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rev: 2,
page: {
id: 'customer',
state: 'written',
headline: 'Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}',
lede: 'Across its three clinics, patients praise the care and complain about the wait.',
read: [{exhibit: 'customer-1', figure: 'reviews', label: 'Google reviews read'}],
questions: [
{
id: 'customer-q1',
ask: 'Do patients rate it as well as its rivals?',
answer: 'A little below: {customer-1.average} stars against {customer-1.rivals_average}.',
cards: [
{
exhibit: 'customer-1',
figure: 'average',
label: 'Northwind Dental',
line: 'average stars on Google, the last year'
}
]
},
{
id: 'customer-q2',
ask: 'What do unhappy patients say?',
answer: 'Mostly that they waited past their appointment.',
cards: []
}
],
exhibits: [
{
id: 'customer-1',
numbers: 'rating_rivals',
company: 'northwind-dental',
params: {source: 'google-maps', from: '2025-11-14', to: '2026-11-14'},
show: 'bars',
title: 'Google rating, against its confirmed rival',
point: 'Northwind trails Bluebird by three tenths of a star.',
caveat: null
}
],
quotes: [
{
kind: 'signal',
id: 'sig_01JD9C5E6F7G00000000000000',
exhibit: 'customer-1',
why: 'A two-star review about the wait'
}
],
method: {
read: 'Google reviews of its three confirmed clinics, and of its one confirmed rival’s two',
from: '2025-11-14',
to: '2026-11-14',
left_out: []
},
web: [],
names: ['Northwind Dental', 'Bluebird Dental', 'Google']
}
})
};
fetch('https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}', 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.poddata.ai/v1/diligence-reports/{id}/pages/{page}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'rev' => 2,
'page' => [
'id' => 'customer',
'state' => 'written',
'headline' => 'Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}',
'lede' => 'Across its three clinics, patients praise the care and complain about the wait.',
'read' => [
[
'exhibit' => 'customer-1',
'figure' => 'reviews',
'label' => 'Google reviews read'
]
],
'questions' => [
[
'id' => 'customer-q1',
'ask' => 'Do patients rate it as well as its rivals?',
'answer' => 'A little below: {customer-1.average} stars against {customer-1.rivals_average}.',
'cards' => [
[
'exhibit' => 'customer-1',
'figure' => 'average',
'label' => 'Northwind Dental',
'line' => 'average stars on Google, the last year'
]
]
],
[
'id' => 'customer-q2',
'ask' => 'What do unhappy patients say?',
'answer' => 'Mostly that they waited past their appointment.',
'cards' => [
]
]
],
'exhibits' => [
[
'id' => 'customer-1',
'numbers' => 'rating_rivals',
'company' => 'northwind-dental',
'params' => [
'source' => 'google-maps',
'from' => '2025-11-14',
'to' => '2026-11-14'
],
'show' => 'bars',
'title' => 'Google rating, against its confirmed rival',
'point' => 'Northwind trails Bluebird by three tenths of a star.',
'caveat' => null
]
],
'quotes' => [
[
'kind' => 'signal',
'id' => 'sig_01JD9C5E6F7G00000000000000',
'exhibit' => 'customer-1',
'why' => 'A two-star review about the wait'
]
],
'method' => [
'read' => 'Google reviews of its three confirmed clinics, and of its one confirmed rival’s two',
'from' => '2025-11-14',
'to' => '2026-11-14',
'left_out' => [
]
],
'web' => [
],
'names' => [
'Northwind Dental',
'Bluebird Dental',
'Google'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.poddata.ai/v1/diligence-reports/{id}/pages/{page}"
payload := strings.NewReader("{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/diligence-reports/{id}/pages/{page}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rev\": 2,\n \"page\": {\n \"id\": \"customer\",\n \"state\": \"written\",\n \"headline\": \"Patients rate Northwind {customer-1.average} stars on Google, a little below its rival’s {customer-1.rivals_average}\",\n \"lede\": \"Across its three clinics, patients praise the care and complain about the wait.\",\n \"read\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"reviews\",\n \"label\": \"Google reviews read\"\n }\n ],\n \"questions\": [\n {\n \"id\": \"customer-q1\",\n \"ask\": \"Do patients rate it as well as its rivals?\",\n \"answer\": \"A little below: {customer-1.average} stars against {customer-1.rivals_average}.\",\n \"cards\": [\n {\n \"exhibit\": \"customer-1\",\n \"figure\": \"average\",\n \"label\": \"Northwind Dental\",\n \"line\": \"average stars on Google, the last year\"\n }\n ]\n },\n {\n \"id\": \"customer-q2\",\n \"ask\": \"What do unhappy patients say?\",\n \"answer\": \"Mostly that they waited past their appointment.\",\n \"cards\": []\n }\n ],\n \"exhibits\": [\n {\n \"id\": \"customer-1\",\n \"numbers\": \"rating_rivals\",\n \"company\": \"northwind-dental\",\n \"params\": {\n \"source\": \"google-maps\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\"\n },\n \"show\": \"bars\",\n \"title\": \"Google rating, against its confirmed rival\",\n \"point\": \"Northwind trails Bluebird by three tenths of a star.\",\n \"caveat\": null\n }\n ],\n \"quotes\": [\n {\n \"kind\": \"signal\",\n \"id\": \"sig_01JD9C5E6F7G00000000000000\",\n \"exhibit\": \"customer-1\",\n \"why\": \"A two-star review about the wait\"\n }\n ],\n \"method\": {\n \"read\": \"Google reviews of its three confirmed clinics, and of its one confirmed rival’s two\",\n \"from\": \"2025-11-14\",\n \"to\": \"2026-11-14\",\n \"left_out\": []\n },\n \"web\": [],\n \"names\": [\n \"Northwind Dental\",\n \"Bluebird Dental\",\n \"Google\"\n ]\n }\n}"
response = http.request(request)
puts response.read_bodysave_report_page, on PodData’s MCP server at https://api.poddata.ai/mcp, does what this route does, with the same key. See The MCP server.Authorizations
Path Parameters
Body
Response
Saved, with what it saved and the overview read back filled and checked