# GoldenAndroid API — JRPG2 integration

Production base URL: **https://goldenandroid.com/api**

Human guide: https://goldenandroid.com/api/docs  
OpenAPI 3.1 specification: https://goldenandroid.com/api/openapi.yaml  
This Markdown guide: https://goldenandroid.com/api/docs.md

These new documentation URLs become available when this update is published.

## Access and scope

The public API is read-only. Use `GET`; no API key, OAuth login or cookies are
required. JSON endpoints support cross-origin browser requests, including from
https://jrpg2.com. Do not send credentials. There is no public write API, SLA or
guaranteed exhaustive catalog. Browser-only responsible-use checklist answers
are not exposed. Cache public responses reasonably rather than polling rapidly.

## Endpoints

| GET path (relative to the base URL) | Response |
| --- | --- |
| `/healthz` | `{ "status": "ok" }` |
| `/catalog` | `{ "items": [...], "total": 29, "page": 1, "limit": 24 }` — totals are dynamic |
| `/catalog/summary` | `{ "total", "aiSystems", "robots", "featured": [...] }` |
| `/catalog/{slug}` | One `CatalogEntry`, not an `items` wrapper |
| `/police` | `{ "methodology", "dimensions", "jurisdictions", "entries" }` |
| `/police/{slug}` | `{ "catalog", "locations", "assessments", "regulations" }` |

Slugs are stable, case-sensitive identifiers, for example `optimus`, `twistos`,
`atlassian-rovo`, `servicenow-now-assist` and `microsoft-copilot`. Display names
are not identifiers. Each dossier's `catalog.slug` joins it to a catalog entry.

### Catalog query parameters

| Parameter | Meaning |
| --- | --- |
| `q` | Case-insensitive substring in name, organization, category, description or tags |
| `type` | `ai` or `robot`; omit for both |
| `category` | Case-insensitive exact category, such as `Humanoid`; URL-encode spaces |
| `securityStatus` | `not_assessed`, `secure`, `under_review` or `unsafe` |
| `page` | Integer at least 1; default 1 |
| `limit` | Integer from 1 to 100; default 24 |

Filters combine. Results are name-sorted. `total` is the number of matching
entries, not the number of items on this page. A page beyond the last page returns
an empty `items` array. Unsupported query keys are not filters.

```sh
curl -f 'https://goldenandroid.com/api/catalog?type=robot&limit=100&page=1'
curl -f 'https://goldenandroid.com/api/catalog/optimus'
curl -f 'https://goldenandroid.com/api/police/optimus'
```

### Fetch all matching entries from JRPG2

```js
const BASE = 'https://goldenandroid.com/api';

async function getJson(path) {
  const response = await fetch(`${BASE}${path}`, {
    method: 'GET',
    credentials: 'omit',
    headers: { Accept: 'application/json' },
    signal: AbortSignal.timeout(10000),
  });
  if (!response.ok) throw new Error(`GoldenAndroid HTTP ${response.status}`);
  return response.json();
}

async function getRobots() {
  const robots = [];
  for (let page = 1; ; page += 1) {
    const result = await getJson(`/catalog?type=robot&limit=100&page=${page}`);
    robots.push(...result.items);
    if (!result.items.length || page * result.limit >= result.total) break;
  }
  return robots;
}

const optimus = await getJson('/catalog/optimus');
const dossier = await getJson('/police/optimus');
// Show a loading/error state in your UI; do not silently replace failures with “safe”.
```

## Catalog fields

`CatalogEntry` includes:

- `id`, `slug`, `name`, `type` (`ai` or `robot`), `category`, `organization`.
- `description`, `tags`, `sourceUrl`, `sourceLabel`, `status`, `featured`.
- `classification`: `llm_family`, `llm_assistant`, `generative_ai` or `robot`.
  This is a technology classification, not an intelligence rating.
- `year`: legacy catalog reference year. Use `release.year` only when a sourced
  release milestone exists. `release` is either null or
  `{ year, milestone, note, source: { title, url } }`; a prototype or beta is not
  automatically a commercial launch.
- `profileFacts`, when supplied: an array of
  `{ label, value, scope, source: { title, url } }` for sourced product details.
  Manufacturer plans and goals must retain their qualifications.
- `imageUrl`: public absolute image URL, or null.
- `imageCredit`: `{ title, url }`, or null. Retain attribution and check original
  image rights and trademark terms. This API does not grant third-party media
  licenses. Image URLs are illustrative catalog assets, not verified photos of
  a currently deployed unit. API JSON CORS does not promise permission to read
  third-party or static images into a cross-origin canvas/WebGL texture.
- `securityReview`: status, reason, nullable ISO-8601 `reviewedAt`, reviewer,
  scope, evidence, trust factors and nullable `overallScore`. Trust factors
  contain `key`, `label`, `weight`, nullable `score` and `rationale`.

## Dossier interpretation

- `locations`: city-precision locations with kind, country code, coordinates,
  date and evidence. Offices are **not** runtime locations. A research or
  production-development site is **not** proof of an active deployed fleet.
  `verification: "user_reported"` means unverified. Read `notes` and the evidence;
  neither a location nor availability establishes data residency or approval.
- `assessments`: findings keyed by `dimensionId`, with status, value, rationale,
  scope, review date and sources. `/police.dimensions` provides definitions.
  A documented claim is not an independently tested control or a pass.
- `regulations`: only recorded, evidence-scoped decisions. Empty arrays mean
  **not assessed**, not unrestricted, approved or prohibited. Interpret country,
  authority, scope, status and expiry together.
- `/police.jurisdictions` is a country/territory index, not proof every place has
  been investigated.

**Never convert null ratings to zero.** `not_assessed` does not mean secure or
unsafe; `under_review` does not mean a confirmed current compromise. Safety
badges are editorial, not government certification. “Super Intelligence” is a
curator designation, not independently verified capability or consciousness.

## Errors and compatibility

JSON errors use `{ "error": "..." }`: 400 for invalid supported parameters,
404 for an unknown slug or API route, 405 for unsupported write methods.
Network, proxy or server errors may have a non-JSON body; check HTTP status
before parsing. CORS preflights return 204.

The API currently uses the specification's version `0.1.0` and unversioned
`/api` paths. Tolerate additive fields, retain stable slugs, and use the published
OpenAPI schema rather than assuming display labels are enums. There are no
historical snapshots, webhooks or real-time incident feed in this release.

© 2026 Jaymeson M. Beck. Third-party images, trademarks and linked source
material remain subject to their respective rights.
