Printable round graphics · Available now
Send a round.
Receive the PNG.
Generate a scored, printable 11 × 8.5-inch round graphic from any partner-owned canonical record. The call is synchronous and stateless: there is no report job, polling loop, or CADDIE.100-hosted copy.
Production endpoint
Call Reports from a trusted backend.
POST /api/v1/scorecards/reports requires a private API key with scorecards:report. It returns image/png directly with 200 OK.The endpoint is also published by the Scorecards capability document and OpenAPI document. A successful render consumes one report unit.
Two production designs
Choose the one-sheet that fits the moment.
round-overview-grid@1The default visual overview. It combines the score, per-hole results, useful club labels, weather, and cached canonical course-hole graphics.round-summary-grid@1The detailed analytics sheet. It combines the scorecard with tee-shot, approach, putting, GIR, directional-accuracy, club-performance, scoring-impact, and scoring-chances sections.Both designs use the same endpoint, request schema, output size, scoring engine, branding option, stateless lifecycle, and usage unit. Set template.slug on each request. Omitting template keeps the established round-overview-grid@1 default.
The summary design uses only the data CADDIE.100 can calculate from the supplied canonical record and active course/tee. An unavailable observation is labeled N/A; it is not invented. Par-three tee shots count toward the green target, while fairway opportunities remain limited to par-four and par-five holes.
Rendering service, not round storage
Every request stands on its own.
jobId. The round may come from photographs, a form, an import, or a partner database.Process, score, then render
Create and keep both graphics in the partner system.
jobId, and polls until the extraction reaches a terminal state.round-overview-grid@1 and again with round-summary-grid@1. Each call sends the same complete canonical round, renders independently, and consumes one report unit after success.const designs = [
{ slug: "round-overview-grid", objectKey: "round-overview.png" },
{ slug: "round-summary-grid", objectKey: "round-summary.png" }
];
for (const design of designs) {
const response = await fetch("https://caddie100.com/api/v1/scorecards/reports", {
method: "POST",
headers: {
"content-type": "application/json",
"x-api-key": process.env.CADDIE100_PRIVATE_KEY
},
body: JSON.stringify({
...canonicalReportRequest,
template: { slug: design.slug, version: 1 }
}),
signal: AbortSignal.timeout(330_000)
});
if (!response.ok) throw new Error(await response.text());
const png = Buffer.from(await response.arrayBuffer());
await partnerMediaStorage.put(design.objectKey, png, {
contentType: "image/png",
metadata: {
template: response.headers.get("x-caddie100-report-template"),
sha256: response.headers.get("x-caddie100-artifact-sha256")
}
});
}Production requirements
Prepare the credential and complete round first.
c100_live_ or c100_test_ secret key whose organization policy and key scopes both include scorecards:report.courseId, one tee ID or unique tee name, playedOn, teeTime, holesPlayed, and startingHole. Add the course-local IANA timezone when needed.caddie100-scorecard-round-record@1 with the played holes and supported observations. Never send a Process job ID or a Scoring response.courseName when the printed title should differ from CADDIE.100's active canonical course name. This changes presentation only.branding.logoUrl to a public HTTPS JPEG, PNG, or static WebP. A square 1:1 asset is recommended.round-summary-grid@1, set branding.promotionImageUrl to place an advertisement, sponsor creative, or other client graphic below Scoring Chances.application/json from a trusted server, allow a request budget of up to five minutes, and be prepared to receive binary PNG bytes rather than JSON.No Idempotency-Key is required or accepted as part of the Reports contract. The request is stateless, but each successful render is independently metered.
Self-contained input
Send the complete canonical round every time.
Reports accepts the same round context and canonical hole record used by Scoring, but it deliberately does not accept a Scoring response, receipt, or job reference. CADDIE.100 calculates the enriched scoring data internally so the visible values and scoring revision stay aligned.
Set the optional top-level courseName to choose the title printed on either design—for example, Plantation Course or Plantation at Sea Island Resort. It does not replace round.courseId and does not affect course lookup, tee resolution, scoring, weather, or hole graphics. When omitted, CADDIE.100 prints the active canonical course name.
Calling Scoring first is still useful when the partner wants to retain the enriched JSON for product screens and trends. Reports does not reuse that response: send the same canonical round record to Reports and choose the desired visual template.
curl --request POST \
https://caddie100.com/api/v1/scorecards/reports \
--header "x-api-key: c100_live_YOUR_PRIVATE_KEY" \
--header "Content-Type: application/json" \
--output round-summary-report.png \
--data '{
"schema": "caddie100-scorecard-report-request@1",
"identifier": "partner-round-42",
"courseName": "Plantation Course",
"template": {
"slug": "round-summary-grid",
"version": 1
},
"branding": {
"logoUrl": "https://assets.example.com/partc-report-logo.png",
"promotionImageUrl": "https://assets.example.com/round-offer.png"
},
"round": {
"courseId": "course-01JEXAMPLE",
"tee": { "name": "Blue" },
"playedOn": "2026-10-29",
"teeTime": "11:00",
"holesPlayed": 9,
"startingHole": 1,
"timeZone": "America/New_York"
},
"record": {
"schema": "caddie100-scorecard-round-record@1",
"holes": [
{ "holeNumber": 1, "score": 4, "putts": 2 },
{ "holeNumber": 2, "score": 5, "putts": 2 },
{ "holeNumber": 3, "score": 3, "putts": 1 },
{ "holeNumber": 4, "score": 4, "putts": 2 },
{ "holeNumber": 5, "score": 5, "putts": 2 },
{ "holeNumber": 6, "score": 4, "putts": 2 },
{ "holeNumber": 7, "score": 3, "putts": 1 },
{ "holeNumber": 8, "score": 5, "putts": 2 },
{ "holeNumber": 9, "score": 4, "putts": 2 }
]
}
}'template may select round-overview-grid@1 or round-summary-grid@1; omitting it selects the overview. output may be omitted and currently has the single explicit value png / letter-landscape-300dpi. Requests are limited to 256 KiB.
Per-render display options
Choose the course title, client logo, and optional promotion.
Include top-level courseName when the printed title should use the partner's preferred naming or format. Include branding.logoUrl when the report should use the client's mark instead of the CADDIE.100 mark. On round-summary-grid@1, include branding.promotionImageUrl to fill the open area below Scoring Chances with a client promotion, sponsor creative, or other graphic. These values are request data, not stored account settings.
courseName accepts 1–200 characters after whitespace normalization and applies to both report designs. Omit it to use CADDIE.100's active canonical course name.round.courseId for course and tee data, scoring, weather, and cached hole graphics.x-caddie100-branding-logo-source for CLIENT or CADDIE100_FALLBACK.x-caddie100-promotion-image-source for CLIENT, NOT_REQUESTED, UNAVAILABLE, or NOT_APPLICABLE.branding.promotionImageUrl is omitted, the entire promotion area remains plain white. CADDIE.100 adds no placeholder, label, border, fallback advertisement, or default content.Host the image at a stable, publicly reachable URL that returns the actual image bytes with a matching image content type. Signed URLs are supported only while they remain valid long enough for the request, but a stable public asset URL is more reliable.
Direct binary response
Write the response body to a PNG.
The success body is the image itself—not JSON. The response is marked private, no-store. Use the artifact SHA-256 header to verify bytes before moving them into partner-owned media storage.
HTTP/1.1 200 OK
Content-Type: image/png
Content-Disposition: attachment; filename="caddie100-round-summary-report.png"
Cache-Control: private, no-store
X-Caddie100-Request-Id: rpt_0123456789abcdef0123456789abcdef
X-Caddie100-Artifact-Sha256: sha256:…
X-Caddie100-Branding-Logo-Source: CLIENT
X-Caddie100-Promotion-Image-Source: CLIENT
X-Caddie100-Report-Template: round-summary-grid
X-Caddie100-Scoring-Result-Hash: sha256:…
<3300 × 2550 PNG bytes>caddie100-round-report.png for the overview or caddie100-round-summary-report.png for the detailed summary.x-caddie100-report-template confirms which requested template produced the image.x-caddie100-branding-logo-source confirms whether the client asset or CADDIE.100 fallback was rendered.x-caddie100-promotion-image-source confirms whether the optional summary graphic rendered or was unavailable, omitted, or inapplicable.application/problem+json; never interpret an error body as image bytes.A server integration should branch on the HTTP status and content type before reading the body, verify the returned digest, and then persist the bytes under the partner's own access controls.
import { createHash } from "node:crypto";
const response = await fetch("https://caddie100.com/api/v1/scorecards/reports", {
method: "POST",
headers: {
"content-type": "application/json",
"x-api-key": process.env.CADDIE100_PRIVATE_KEY
},
body: JSON.stringify(reportRequest),
signal: AbortSignal.timeout(330_000)
});
if (!response.ok) {
const problem = await response.json();
throw new Error(problem.code + ": " + problem.title);
}
if (response.headers.get("content-type") !== "image/png") {
throw new Error("CADDIE.100 returned an unexpected content type.");
}
const png = Buffer.from(await response.arrayBuffer());
const expected = response.headers.get("x-caddie100-artifact-sha256");
const actual = "sha256:" + createHash("sha256").update(png).digest("hex");
if (expected !== actual) throw new Error("Report integrity check failed.");
await partnerMediaStorage.put("round-summary-report.png", png, {
contentType: "image/png"
});Problem responses and retry safety
Fix deterministic problems; retry temporary failures carefully.
application/json. Correct the transport before retrying.Retry-After when present and use bounded exponential backoff.A retry after an explicit non-success response is safe when the underlying problem is retryable. If the connection is lost after CADDIE.100 completed the render, the caller cannot query an earlier report because no report resource exists; a new call may consume another report unit. Deduplicate the partner's stored artifact by its SHA-256 hash.
Partner-owned revisions
Submit the corrected round again.
If a user changes a score days later, update the partner-owned record and call Reports again with the complete revised round. No original Process job or prior report is required. The new PNG reflects the current input and active CADDIE.100 course information.
Do not paint corrections onto an old image. Regeneration keeps the course, scoring, clubs, hole data, and printed totals internally consistent.
Readable on screen and paper
One qualified visual contract drives each design.
The overview renderer preserves every submitted hole in a fixed nine-column grid, with course, tee, date, totals, score, relative-to-par, FIR, GIR, putting, club labels, and cached canonical hole graphics. Eighteen-hole rounds use both rows; nine-hole rounds keep the upper grid open and use the lower row. Par-three FIR remains not applicable. Missing aerial art uses a labeled fallback and never removes a hole.
The title beside the logo uses the request's normalized courseName when supplied; otherwise it uses the active canonical course name. This display choice never changes the resolved course data behind the report.
The summary renderer uses a compact scorecard plus three analytics columns. Tee shots separate par-four/five fairway targets from par-three green targets; approach covers GIR, distance, scoring impact, club performance, and direction; putting covers total-putt distribution and Birdie, Par, and Bogey putting chances, followed by an optional contained client promotion. Nine-hole and partial rounds use only their played holes and denominators.
The summary's Inter and Kanit font files, exact point-size and weight rules, and six club illustrations are bundled with CADDIE.100. Rendering does not depend on a remote font or image host, so the printable 11 × 8.5-inch typography and club artwork remain consistent across workers.
Reports also attempts the same historical round-weather lookup used by Smart Scorecards processing. When the round-start observation is available, the header includes rounded temperature and wind speed. Weather is best-effort presentation context: an unavailable provider never prevents the PNG from rendering.
Internal confidence, estimation, and review classifications are not printed. CADDIE.100 renders its best-available interpretation as the report value.
Server-to-server only
Keep the private credential out of Scorecards JS.
- Call Reports only from a trusted backend using a secret key with
scorecards:report. - Never place a
c100_live_key in Scorecards JS, browser storage, client JavaScript, or a URL. - Authorize the partner-owned round before sending its canonical record.
- Store the returned image under the partner's existing user and media-access policies.