---
title: "HTTP reference"
description: "Every operation of the Layers of the South HTTP API, generated from its OpenAPI 3.2 document: parameters, limits, responses and a recorded example for each."
url: "https://layersofthesouth.org/developers/reference"
language: "en"
license: "CC-BY-SA-4.0"
licenseUrl: "https://creativecommons.org/licenses/by-sa/4.0/"
edition: "2.1.2"
snapshotId: "a97585a61f004ba4f14a180c979693a8349f73714026759678d87b4d70253db9"
aiAssisted: true
editorialDisclosure: "AI-assisted draft; not reviewed by a specialist."
apiCatalog: "https://layersofthesouth.org/.well-known/api-catalog"
---

**Open Portal Standard** `v1.0.0`**Site Edition** `v2.1.2`**API Contract** `lts-read-operations/3`**Snapshot SHA-256** `a97585a61f00…`

[RFC 9727 API Catalog →](https://layersofthesouth.org/.well-known/api-catalog) [Markdown mirror (index.md)](https://layersofthesouth.org/developers/reference/index.md)

000 Developers

# HTTP reference

29 operations, generated from the OpenAPI document. Every parameter, limit and status code below is read from it.

HTTP surface summary

**Operations**

29

**Groups**

6

**GET / POST**

23 / 5 (+1)

[Browse HTTP operations ↓](https://layersofthesouth.org/developers/reference#basics)

001 Before you call

## What every operation shares

| Topic | Rule |
| --- | --- |
| Base URL | `https://layersofthesouth.org/api/v1` |
| Authentication | None. No key, no account, no cookie. |
| Media types | JSON in and out. Errors are `application/problem+json`. |
| Caching | Cacheable responses carry a strong `ETag`; send `If-None-Match` to get `304`. |
| Snapshots | Without a selector you read the current snapshot. Add `snapshot=<id>` or `X-LTS-Snapshot` to pin one. |
| Pages | Lists return `nextCursor`. Pass it back unchanged as `cursor`; it is bound to the query and the snapshot. |
| Limits | Rate-limit fields on every response. A request over its limit gets `429` with `Retry-After`. |
| Descriptions | [OpenAPI 3.2](https://layersofthesouth.org/api/v1/openapi.json) and [OpenAPI 3.1](https://layersofthesouth.org/api/v1/openapi-3.1.json). |

Type part of a path, an operation id or a word of its summary. Responses list what the public API can answer. The private preview of the site also answers `401` when credentials are missing.

The service returns these descriptions in English; they are quoted here as it returns them.

002 Discovery

## Discovery

### `GET /api/v1`

**API home document**. Links to the OpenAPI documents, capabilities, status, the study list, search and statements.

`operationId: get_api_root`

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "26b6d4cc6cdef03ececb25f40e923dbb64611c022768efef8efc37b0782900d5"
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status"
RateLimit-Policy: "instance-read";q=600;w=30
```

```
{
  "title": "Layers of the South API",
  "edition": "2.0.0",
  "description": "Open, keyless, read-only. Start with search, read a study, then cite it with its snapshot id.",
  "links": {
    "self": "https://layersofthesouth.org/api/v1",
    "openapi": "https://layersofthesouth.org/api/v1/openapi.json",
    "openapi31": "https://layersofthesouth.org/api/v1/openapi-3.1.json",
    "capabilities": "https://layersofthesouth.org/api/v1/capabilities",
    "status": "https://layersofthesouth.org/api/v1/status",
    "studies": "https://layersofthesouth.org/api/v1/catalogue.json",
    "search": "https://layersofthesouth.org/api/v1/search",
    "statements": "https://layersofthesouth.org/api/v1/statements",
    "releases": "https://layersofthesouth.org/api/v1/releases",
    "currentRelease": "https://layersofthesouth.org/api/v1/releases/current",
    "apiCatalog": "https://layersofthesouth.org/.well-known/api-catalog",
    "documentation": "https://layersofthesouth.org/developers/reference",
    "mcp": "https://layersofthesouth.org/api/mcp",
    "mcpServerCard": "https://layersofthesouth.org/api/mcp/server-card",
    "a2a": "https://layersofthesouth.org/api/a2a",
    "agentCard": "https://layersofthesouth.org/.well-known/agent-card.json",
    "licence": "https://creativecommons.org/licenses/by-sa/4.0/"
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/status`

**Service state, snapshot in service, edition and limits**. Reports what this request sees. The site keeps no uptime history.

`operationId: get_status` · Response schema: [`status`](https://layersofthesouth.org/schemas/developers/status/1.json)

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/status
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/status'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "e5a313a2660dbdb451d40f77d8c2b2d3a8a96f598c6d48597ba829dff649bd35"
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/status/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "status/1",
  "status": "ok",
  "edition": "2.0.0",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
  "studyCount": 199,
  "accessMode": "public_anonymous",
  "publicationState": "local_review_only",
  "publicationApproved": false,
  "limits": {
    "maxJsonBodyBytes": 65536,
    "maxSearchCodepoints": 2048,
    "maxClaimCodepoints": 4096,
    "maxIdentifierCodepoints": 128,
    "searchLimitDefault": 20,
    "searchLimitMin": 1,
    "searchLimitMax": 100,
    "neighborhoodDepthDefault": 1,
    "neighborhoodDepthMin": 1,
    "neighborhoodDepthMax": 3,
    "neighborhoodMaxNodes": 200,
    "evidencePackageMaxStudies": 25,
    "evidencePackageMaxBytes": 10485760,
    "clientTimeoutMs": 15000,
    "mcpAppCacheMaxEntries": 32,
    "mcpPublicTtlMs": 300000,
    "cacheLatestMaxAgeSeconds": 300,
    "cachePinnedMaxAgeSeconds": 31536000,
    "cacheServerCardMaxAgeSeconds": 3600,
    "corsPreflightMaxAgeSeconds": 86400,
    "requestCostRead": 1,
    "requestCostAgent": 4,
    "requestCostPackage": 20
  },
  "responseBudgets": {
    "compactStudyRecordP95Bytes": 16384,
    "searchPageBytes": 24576,
    "mcpToolResultTextBytes": 16384,
    "mcpToolsListBytes": 24576,
    "mcpServerDiscoverBytes": 28672
  },
  "rateLimit": {
    "scope": "per serving instance, approximate",
    "windowSeconds": 30,
    "maxConcurrentRequests": 8,
    "policies": [
      {
        "name": "instance-read",
        "requestCost": 1,
        "quota": 600
      },
      {
        "name": "instance-agent",
        "requestCost": 4,
        "quota": 150
      },
      {
        "name": "instance-package",
        "requestCost": 20,
        "quota": 30
      }
    ]
  },
  "links": {
    "apiCatalog": "https://layersofthesouth.org/.well-known/api-catalog",
    "capabilities": "https://layersofthesouth.org/api/v1/capabilities",
    "openapi": "https://layersofthesouth.org/api/v1/openapi.json",
    "currentRelease": "https://layersofthesouth.org/api/v1/releases/current",
    "documentation": "https://layersofthesouth.org/developers/status"
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/capabilities`

**Limits, response budgets, digest schemes, endpoints, tools and schema URLs**. One registry for the HTTP API, the MCP server, the A2A endpoint and the browser tools.

`operationId: get_capabilities` · Response schema: [`capability-registry`](https://layersofthesouth.org/schemas/developers/capability-registry/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/registry.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/capabilities
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/capabilities'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "36e640da198d29d30e033a6c5681d116075b444ef33867e958c85c317690e1dd"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/capability-registry/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 39,467 bytes of `application/json`. Fetch it at [https://layersofthesouth.org/api/v1/capabilities](https://layersofthesouth.org/api/v1/capabilities).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/openapi.json`

**This document (OpenAPI 3.2.1)**. The canonical description of the HTTP API.

`operationId: get_openapi`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `429`, `500`

### `GET /api/v1/openapi-3.1.json`

**The same description as OpenAPI 3.1.2**. For tools that do not read 3.2 yet. It omits the QUERY method, which 3.1 cannot describe.

`operationId: get_openapi_31`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `429`, `500`

### `GET /api/v1/openapi-lean.json`

**The canonical operations only (OpenAPI 3.2.1)**. The same description without the alias paths and the copies kept for 1.x callers: the smaller document to give an agent first.

`operationId: get_openapi_lean`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `429`, `500`

### `GET /api/v1/arazzo.yaml`

**Arazzo 1.1.0 workflow: search, read the evidence, cite, package**. A four-step workflow over this API. The same document is served as JSON at /api/v1/arazzo.json.

`operationId: get_arazzo_workflow`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/arazzo.json`, `/developers/workflows/flagship-evidence.arazzo.yaml`

### `GET /schemas/developers/{schemaName}/1.json`

**JSON Schema of one payload**. JSON Schema 2020-12 documents with stable absolute identifiers.

`operationId: get_schema`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `schemaName` | `path` | `one of public-domain-result, developer-release, evidence-package, saved-query, capability-registry, verification-receipt, problem, study, statements, search-results, status` |  |

Responses: `200`, `400`, `404`, `405`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/schemas/developers/study/1.json
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/schemas/developers/study/1.json'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/schema+json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "d91b48000a322ed68e4fdbfdf8540059498f46accb87d5b711899d74d0f06501"
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", <https://spdx.org/licenses/MIT.html>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
```

Body not shown here: 2,920 bytes of `application/schema+json`. Fetch it at [https://layersofthesouth.org/schemas/developers/study/1.json](https://layersofthesouth.org/schemas/developers/study/1.json).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /schemas/developers/lts-context/1.jsonld`

**JSON-LD context of the site's terms**. The JSON-LD 1.1 context that maps the field names of the API records to stable term URLs.

`operationId: get_jsonld_context`

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

### `GET /.well-known/api-catalog`

**API catalogue (RFC 9727)**. A linkset naming the HTTP API, the MCP endpoint and the A2A endpoint, each with its description.

`operationId: get_api_catalog`

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

### `GET /study/{studyId}`

**Resolve a study id**. Redirects a study id to its page, to its Markdown when Accept prefers text/markdown, or to its API record when Accept prefers application/json.

`operationId: resolve_study`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `studyId` | `path` | `string (at most 128 characters)` | Study id such as R013, or the study's route slug. |

Responses: `308`, `404`, `405`, `429`, `500`

### `GET /problems/{code}`

**Meaning and remedy of a problem type**. Every problem type URL resolves here, as Markdown or JSON; a browser is sent to the errors page.

`operationId: get_problem`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `code` | `path` | `string (pattern ^[a-z0-9_]+$)` | The last segment of a problem type URL. |

Responses: `200`, `303`, `404`, `405`, `429`, `500`

003 Studies

## Studies

### `GET /api/v1/catalogue.json`

**List every study**. The study list of the selected snapshot. The compact view gives one short row per study; limit and cursor page through it. view=full restores the 1.x shape.

`operationId: list_studies`

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `limit` | `query` | `integer (1..100; default 20)` | Rows per page. |
| `cursor` | `query` | `string (at most 512 characters)` | nextCursor of the previous page. It is bound to the snapshot and the filters. |
| `view` | `query` | `one of compact, full` | compact (the default) returns a record sized for a model's context: no repeated fields, no build fields, a release reference instead of the descriptor. full returns the 1.x shape. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/catalogue`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/catalogue.json?limit=2
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/catalogue.json?limit=2'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "8a9c40c0b9e4559f0bfe9bd69eb85f8de05c8de8b0544e44dcd45e905eb31288"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </api/v1/catalogue.json?limit=2>; rel="first", </api/v1/catalogue.json?limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiNTVjNmE5YmQyNGQwOWE1ZTZmN2ExOWM0IiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ>; rel="next", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "catalogue",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "108602bf1af799f90abb1e0849589ca9d07070b2a4c5ea39409659c096b0250f",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "self": "https://layersofthesouth.org/api/v1/catalogue.json",
    "schema": "https://layersofthesouth.org/schemas/developers/public-domain-result/1.json",
    "first": "https://layersofthesouth.org/api/v1/catalogue.json?limit=2",
    "next": "https://layersofthesouth.org/api/v1/catalogue.json?limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiNTVjNmE5YmQyNGQwOWE1ZTZmN2ExOWM0IiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "studyCount": 199,
    "totalMatches": 199,
    "limit": 2,
    "offset": 0,
    "nextCursor": "eyJmaWx0ZXJIYXNoIjoiNTVjNmE5YmQyNGQwOWE1ZTZmN2ExOWM0IiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ",
    "cursorVersion": "lts-cursor/1",
    "studies": [
      {
        "id": "LTS-SUP01",
        "title": "Tamil Nadu: no single Iron Age to Early Historic boundary shown",
        "oneLine": "Laboratory dates across Tamil Nadu show that burial, iron, writing and town life must each be dated separately, region by region.",
        "section": "methods",
        "howSureCounts": {
          "established": 1,
          "likely": 1,
          "possible": 1,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/7e1454bda8",
        "markdownUrl": "https://layersofthesouth.org/read/7e1454bda8/index.md",
        "earliestYear": -2762,
        "latestYear": 357
      },
      {
        "id": "LTS-SUP02",
        "title": "Kerala 300–600 CE: sea links changed rather than collapsed",
        "oneLine": "Pattanam pottery, Roman coin hoards and a sixth-century Greek text show Kerala's sea links changed after 300 CE rather than ending.",
        "section": "landscapes",
        "howSureCounts": {
          "established": 2,
          "likely": 1,
          "possible": 0,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/02c65f15ac",
        "markdownUrl": "https://layersofthesouth.org/read/02c65f15ac/index.md",
        "earliestYear": -49,
        "latestYear": 1000
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/search`

**Search studies**. Deterministic search over titles, one-line summaries, In brief text and graded statements. Full study text is not searched, and the response says so. Results page with an opaque cursor that is bound to the snapshot and the filters.

`operationId: search_studies` · Same operation as the tool [`search_studies`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`search-results`](https://layersofthesouth.org/schemas/developers/search-results/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `q` | `query` | `string (at most 2048 characters)` | Words to look for. |
| `site` | `query` | `string (at most 128 characters)` | Keep studies tied to one excavated site. |
| `region` | `query` | `string (at most 128 characters)` | Keep studies whose regions include this text. |
| `section` | `query` | `one of methods, landscapes, everyday, craft, words, connections, memory` | Keep one section of the collection. |
| `year_start` | `query` | `integer (-10000..2100)` | Earliest year of interest, as an astronomical year: 0 is 1 BCE and -299 is 300 BCE. |
| `year_end` | `query` | `integer (-10000..2100)` | Latest year of interest, as an astronomical year: 0 is 1 BCE and -299 is 300 BCE. |
| `limit` | `query` | `integer (1..100; default 20)` | Rows per page. |
| `cursor` | `query` | `string (at most 512 characters)` | nextCursor of the previous page. It is bound to the snapshot and the filters. |
| `view` | `query` | `one of compact, full` | compact (the default) returns a record sized for a model's context: no repeated fields, no build fields, a release reference instead of the descriptor. full returns the 1.x shape. |
| `tier` Deprecated | `query` | `one of all, primary, secondary, contextual` | No study carries a tier in the current data. Use level on /api/v1/statements for the How-sure levels. |
| `yearStart` Deprecated | `query` | `integer (-10000..2100)` | Alias of year\_start. |
| `yearEnd` Deprecated | `query` | `integer (-10000..2100)` | Alias of year\_end. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/search.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/search?q=pattanam&limit=2
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/search?q=pattanam&limit=2'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "bcf04c50179168058295b615bca624d0638c1a7a1d871409d7597c11d8aff484"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </api/v1/search?q=pattanam&limit=2>; rel="first", </api/v1/search?q=pattanam&limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiYWViOTc4MWMwZThkZmJlZDUxNDRmZGEyIiwibGFzdElkIjoiUjAwMiIsIm9mZnNldCI6Miwic25hcHNob3RJZCI6Ijg3MDRiYmI0YTU0ZThhZGFlZGM4MWQ5NjdkOWE5ZDBjYjA4OTdlNmYwMDg0ZGQzOTc4NDI1ZDVjZTRkNGFiNzEiLCJ2IjoibHRzLWN1cnNvci8xIn0>; rel="next", </schemas/developers/search-results/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "search_results",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "e34c299a4cfb5ecc67c34cedd9c7c05a717c6819230a9d4aa99194079dad2833",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "self": "https://layersofthesouth.org/api/v1/search",
    "schema": "https://layersofthesouth.org/schemas/developers/search-results/1.json",
    "first": "https://layersofthesouth.org/api/v1/search?q=pattanam&limit=2",
    "next": "https://layersofthesouth.org/api/v1/search?q=pattanam&limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiYWViOTc4MWMwZThkZmJlZDUxNDRmZGEyIiwibGFzdElkIjoiUjAwMiIsIm9mZnNldCI6Miwic25hcHNob3RJZCI6Ijg3MDRiYmI0YTU0ZThhZGFlZGM4MWQ5NjdkOWE5ZDBjYjA4OTdlNmYwMDg0ZGQzOTc4NDI1ZDVjZTRkNGFiNzEiLCJ2IjoibHRzLWN1cnNvci8xIn0"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "query": "pattanam",
    "filters": {
      "q": "pattanam"
    },
    "retrievalStatus": "matches_found",
    "rankingMethod": "lts-lexical-metadata/3",
    "coverage": {
      "scope": "selected_snapshot_metadata",
      "studyCount": 199,
      "fieldsSearched": [
        "id",
        "routeSlug",
        "title",
        "oneLine",
        "inBrief",
        "howSure.finding",
        "regions"
      ],
      "fullTextSearched": false,
      "statementsAvailable": true
    },
    "retrievalLimitations": "Matches identify relevant records; lexical scores do not establish support for a proposition. Full study text is not searched. No match is not evidence that a historical claim is false.",
    "totalMatches": 49,
    "limit": 2,
    "offset": 0,
    "nextCursor": "eyJmaWx0ZXJIYXNoIjoiYWViOTc4MWMwZThkZmJlZDUxNDRmZGEyIiwibGFzdElkIjoiUjAwMiIsIm9mZnNldCI6Miwic25hcHNob3RJZCI6Ijg3MDRiYmI0YTU0ZThhZGFlZGM4MWQ5NjdkOWE5ZDBjYjA4OTdlNmYwMDg0ZGQzOTc4NDI1ZDVjZTRkNGFiNzEiLCJ2IjoibHRzLWN1cnNvci8xIn0",
    "cursorVersion": "lts-cursor/1",
    "results": [
      {
        "id": "LTS-SUP13",
        "title": "Pattanam finds: wide trade links, unevenly dated and sourced",
        "oneLine": "Pattanam's pottery, beads and other finds show regional and overseas trade, but each type has a different strength of date and source.",
        "section": "connections",
        "howSureCounts": {
          "established": 1,
          "likely": 1,
          "possible": 1,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/f88a9d1c4f",
        "markdownUrl": "https://layersofthesouth.org/read/f88a9d1c4f/index.md",
        "relevanceScore": 57,
        "matchedTerms": [
          "pattanam"
        ],
        "matchedFields": [
          "title",
          "oneLine",
          "inBrief",
          "howSure"
        ],
        "matchedStatements": [
          {
            "level": "established",
            "label": "Well supported",
            "finding": "Imported Mediterranean pottery reached Pattanam around the turn of the era."
          },
          {
            "level": "likely",
            "label": "Likely",
            "finding": "Stone beads were made at Pattanam."
          }
        ]
      },
      {
        "id": "R002",
        "title": "Pattanam is a candidate for ancient Muziris",
        "oneLine": "Pattanam has excavated evidence of long-distance exchange; its identification with Muziris and the exact ancient harbour remain uncertain.",
        "section": "connections",
        "howSureCounts": {
          "established": 1,
          "likely": 1,
          "possible": 1,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/0ae5aae357",
        "markdownUrl": "https://layersofthesouth.org/read/0ae5aae357/index.md",
        "relevanceScore": 57,
        "matchedTerms": [
          "pattanam"
        ],
        "matchedFields": [
          "title",
          "oneLine",
          "inBrief",
          "howSure"
        ],
        "matchedStatements": [
          {
            "level": "established",
            "label": "Well supported",
            "finding": "The ceramic report describes Pattanam as an Early Historic settlement with long-distance connections."
          },
          {
            "level": "likely",
            "label": "Likely",
            "finding": "Pattanam was part of the wider Muziris port landscape on the lower Periyar."
          }
        ]
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/studies/{studyId}`

**Get a study**. One study with its graded statements. The compact view is the default; view=full adds the structured sources, claims and build fields of the 1.x record.

`operationId: get_study` · Same operation as the tool [`get_study`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`study`](https://layersofthesouth.org/schemas/developers/study/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `studyId` | `path` | `string (at most 128 characters)` | Study id such as R013, or the study's route slug. |
| `view` | `query` | `one of compact, full` | compact (the default) returns a record sized for a model's context: no repeated fields, no build fields, a release reference instead of the descriptor. full returns the 1.x shape. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/studies/{studyId}.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/studies/R013
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/studies/R013'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "dfc1c7dcd116d133eae6de6d489d94957f6dc222933caa8e4b43914dea4eb0cf"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/study/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "study_detail",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "6f44e473db5b5376b3d6b752cb2e9a5e2097c0a0937e56c1f8b300336c1cb93b",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org/read/719a4ebbb6",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "html": "https://layersofthesouth.org/read/719a4ebbb6",
    "markdown": "https://layersofthesouth.org/read/719a4ebbb6/index.md",
    "self": "https://layersofthesouth.org/api/v1/studies/R013",
    "evidence": "https://layersofthesouth.org/api/v1/studies/R013/evidence",
    "citations": "https://layersofthesouth.org/api/v1/studies/R013/citations",
    "schema": "https://layersofthesouth.org/schemas/developers/study/1.json"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "id": "R013",
    "publicId": "study.523ef732c0f3",
    "routeSlug": "719a4ebbb6",
    "revision": 6,
    "title": "Pattanam's radiocarbon dates give no single date for its wharf",
    "summary": "Five early radiocarbon samples from Pattanam date pieces of charcoal and wood, not the building of its waterfront, and their ranges are very broad.",
    "section": "landscapes",
    "chronology": {
      "earliestYear": -2499,
      "latestYear": 1300,
      "innerEarliestYear": -2499,
      "innerLatestYear": 1300,
      "midpointYear": -600,
      "spanYears": 3799,
      "basis": "documentary_and_archaeological",
      "uncertainty": "bounded",
      "edtf": "-2498/1300",
      "earliestAstronomicalYear": -2498,
      "latestAstronomicalYear": 1300,
      "earliestHistoricalLabel": "2499 BCE",
      "latestHistoricalLabel": "1300 CE"
    },
    "statementTitle": "Pattanam's radiocarbon dates give no single date for its wharf",
    "oneLine": "Five early radiocarbon samples from Pattanam date pieces of charcoal and wood, not the building of its waterfront, and their ranges are very broad.",
    "inBrief": "In the 2007 season at Pattanam, in central Kerala, the Kerala Council for Historical Research recorded a waterlogged waterfront. It held a wharf-like structure with a brick lining, teak posts and a dugout canoe of Artocarpus hirsutus wood. Five early samples were dated at the Institute of Physics, Bhubaneswar: two charcoal samples, the canoe and two posts. Their calibrated ranges are broad, and two of them each span more than two thousand years. They date the charcoal and wood themselves, not when the wharf was built, used or abandoned. A pooled average of 500 ± 80 BCE should not be read as a wharf date. Later Beta Analytic dates on cremated human bone form a separate line of evidence. Charcoal from the lowest sands supports Iron Age occupation, but not an exact start in 1000 BCE. The original 2009 sample table and its laboratory codes could not be checked.",
    "whyItMatters": "These are the main published dates for Pattanam's waterfront, so knowing what they measure stops broad wood ages becoming a false building date.",
    "howSure": [
      {
        "finding": "A waterlogged waterfront with a canoe, posts and a brick-lined edge was excavated at Pattanam.",
        "label": "Well supported",
        "level": "established",
        "why": "Field reports and Cherian's 2011 paper describe the structure, canoe, posts and pottery layers directly."
      },
      {
        "finding": "The five early samples were dated at the Institute of Physics, Bhubaneswar, not at Oxford.",
        "label": "Well supported",
        "level": "established",
        "why": "The 2008 report of the first results names the laboratory; no inspected source supports Oxford."
      },
      {
        "finding": "People lived at Pattanam in the first half of the first millennium BCE.",
        "label": "Likely",
        "level": "likely",
        "why": "Broad charcoal dates combined with layers and Iron Age pottery; no exact founding date."
      },
      {
        "finding": "When the wharf was built, used, repaired or abandoned.",
        "label": "Not known",
        "level": "not_known",
        "why": "The wood ranges are too broad and date tree growth, not building or use."
      }
    ],
    "howSureCounts": {
      "established": 2,
      "likely": 1,
      "possible": 0,
      "not_known": 1
    },
    "statementsAvailable": true,
    "twoViews": [],
    "howWeKnow": [
      "Radiocarbon results for five samples, reported in 2008 and in Cherian's 2011 paper, compared sample by sample.",
      "Descriptions of the waterfront layers (loci 014 and 014a) from the 2007 excavation report.",
      "Beta Analytic dates on cremated bone from a 2023 genetic study, kept as a separate line.",
      "The 2009 Current Science article was read only as an abstract; its sample table was not checked."
    ],
    "labelCheck": {
      "date": "2026-11-01",
      "kind": "ai_checked_against_study_text"
    },
    "sourceCount": 14,
    "claimCount": 20,
    "bodySha256": "cff64ad8d50857fec8f2acff208fb469ed4b96e76aae4a59e197cd2f4466fc6d",
    "bodyCanonicalization": "lts-markdown-body/2"
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/studies/{studyId}/evidence`

**Get a study's sources and neighbours**. Sources, recorded date range, graded statements and neighbouring studies.

`operationId: get_study_evidence` · Same operation as the tool [`get_study_evidence`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `studyId` | `path` | `string (at most 128 characters)` | Study id such as R013, or the study's route slug. |
| `depth` | `query` | `integer (1..3; default 1)` | How many steps of neighbouring studies to follow. |
| `view` | `query` | `one of compact, full` | compact (the default) returns a record sized for a model's context: no repeated fields, no build fields, a release reference instead of the descriptor. full returns the 1.x shape. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/evidence/{studyId}`, `/api/v1/studies/{studyId}/evidence.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/studies/R013/evidence
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/studies/R013/evidence'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "2765a1b86d87964666697cda24ef0d9a9f972ddb877dff0d748e24f2460c2589"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 8,760 bytes of `application/json`. Fetch it at [https://layersofthesouth.org/api/v1/studies/R013/evidence](https://layersofthesouth.org/api/v1/studies/R013/evidence).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/studies/{studyId}/citations`

**Cite a study**. Citation records for the study and, unless include\_sources is false, its sources. format is one of csl-json, bibtex, ris or bundle; all is an alias of bundle. These records are CC0 1.0.

`operationId: cite_study` · Same operation as the tool [`cite_study`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `studyId` | `path` | `string (at most 128 characters)` | Study id such as R013, or the study's route slug. |
| `format` | `query` | `one of csl-json, bibtex, ris, bundle, all, csl, json, bib` | Citation format. bundle returns all three; all is an alias of bundle, csl is an alias of csl-json, json is an alias of csl-json, bib is an alias of bibtex. |
| `include_sources` | `query` | `boolean (default true)` | Set false to cite the study alone. |
| `raw` | `query` | `boolean (default false)` | With format=bibtex or ris, return the text itself instead of the JSON envelope. |
| `view` | `query` | `one of compact, full` | compact (the default) returns a record sized for a model's context: no repeated fields, no build fields, a release reference instead of the descriptor. full returns the 1.x shape. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

Older addresses: `/api/v1/citations/{studyId}`, `/api/v1/studies/{studyId}/citations.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/studies/R013/citations?include_sources=false
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/studies/R013/citations?include_sources=false'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "5ffcfc42ad50b6115178bde7dc901166c507cb3192b8713f193d46245b06bd04"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/publicdomain/zero/1.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "study_citations",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "65ade24d268f383f75b419e7aac05cc2b621285490d6fdbf369e0ca2ba40df93",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC0-1.0",
    "licenceUrl": "https://creativecommons.org/publicdomain/zero/1.0/",
    "citeAs": "https://layersofthesouth.org/read/719a4ebbb6",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "factual bibliographic citation records; the cited works retain their authors' and publishers' copyright"
  },
  "links": {
    "self": "https://layersofthesouth.org/api/v1/studies/R013/citations",
    "study": "https://layersofthesouth.org/api/v1/studies/R013",
    "html": "https://layersofthesouth.org/read/719a4ebbb6",
    "schema": "https://layersofthesouth.org/schemas/developers/public-domain-result/1.json"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "studyId": "R013",
    "format": "csl-json",
    "count": 1,
    "includeSources": false,
    "citeAs": "https://layersofthesouth.org/read/719a4ebbb6",
    "mediaType": "application/vnd.citationstyles.csl+json; charset=utf-8",
    "cslJson": [
      {
        "id": "lts-R013",
        "type": "report",
        "title": "Pattanam's radiocarbon dates give no single date for its wharf",
        "author": [
          {
            "literal": "Layers of the South"
          }
        ],
        "issued": {
          "date-parts": [
            [
              2026
            ]
          ]
        },
        "publisher": "Layers of the South",
        "collection-title": "landscapes",
        "number": "R013",
        "URL": "https://layersofthesouth.org/read/719a4ebbb6",
        "abstract": "Five early radiocarbon samples from Pattanam date pieces of charcoal and wood, not the building of its waterfront, and their ranges are very broad.",
        "keyword": "",
        "note": "Snapshot 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71. AI-assisted editorial draft; not reviewed by a specialist. Evidence sources: 14. Add the date you accessed it.",
        "version": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
        "edition": "6"
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

004 Statements

## Statements

### `GET /api/v1/statements`

**Search graded statements**. Graded statements across studies. level accepts the four keys only: established, likely, possible, not\_known. Every row carries the label shown to readers and the reason for the level.

`operationId: search_statements` · Same operation as the tool [`search_statements`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`statements`](https://layersofthesouth.org/schemas/developers/statements/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `q` | `query` | `string (at most 2048 characters)` | Words to look for. |
| `level` | `query` | `one of established, likely, possible, not_known` | Keep statements at one How-sure level. |
| `study` | `query` | `string (at most 128 characters)` | Keep the statements of one study. |
| `limit` | `query` | `integer (1..100; default 20)` | Rows per page. |
| `cursor` | `query` | `string (at most 512 characters)` | nextCursor of the previous page. It is bound to the snapshot and the filters. |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `406`, `409`, `410`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/statements?level=not_known&limit=2
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/statements?level=not_known&limit=2'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "dc7ebdb95372ecad33f58809214bb55a2fc50fd7cb7509bfa9e631b42c2bb76b"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </api/v1/statements?level=not_known&limit=2>; rel="first", </api/v1/statements?level=not_known&limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiYWVmY2VhNTRiNDFhYjJkODUwMzBlYjdmIiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ>; rel="next", </schemas/developers/statements/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "statements",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "1f86a061408027fc9f73c988b13058a17d3ccc7c0956d11d3176271247d24935",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "self": "https://layersofthesouth.org/api/v1/statements",
    "schema": "https://layersofthesouth.org/schemas/developers/statements/1.json",
    "first": "https://layersofthesouth.org/api/v1/statements?level=not_known&limit=2",
    "next": "https://layersofthesouth.org/api/v1/statements?level=not_known&limit=2&cursor=eyJmaWx0ZXJIYXNoIjoiYWVmY2VhNTRiNDFhYjJkODUwMzBlYjdmIiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "query": "",
    "filters": {
      "level": "not_known"
    },
    "levels": [
      {
        "definition": "Direct, clear evidence supports this specific statement.",
        "key": "established",
        "label": "Well supported"
      },
      {
        "definition": "The available evidence favours this interpretation, with uncertainty.",
        "key": "likely",
        "label": "Likely"
      },
      {
        "definition": "Plausible, but the evidence is limited or contested.",
        "key": "possible",
        "label": "Possible"
      },
      {
        "definition": "The evidence reviewed here does not settle the question.",
        "key": "not_known",
        "label": "Not known"
      }
    ],
    "coverage": {
      "statementsAvailable": true,
      "studyCount": 199,
      "studiesWithStatements": 199,
      "statementCount": 780
    },
    "countsByLevel": {
      "established": 0,
      "likely": 0,
      "possible": 0,
      "not_known": 236
    },
    "totalMatches": 236,
    "limit": 2,
    "offset": 0,
    "nextCursor": "eyJmaWx0ZXJIYXNoIjoiYWVmY2VhNTRiNDFhYjJkODUwMzBlYjdmIiwibGFzdElkIjoiTFRTLVNVUDAyIiwib2Zmc2V0IjoyLCJzbmFwc2hvdElkIjoiODcwNGJiYjRhNTRlOGFkYWVkYzgxZDk2N2Q5YTlkMGNiMDg5N2U2ZjAwODRkZDM5Nzg0MjVkNWNlNGQ0YWI3MSIsInYiOiJsdHMtY3Vyc29yLzEifQ",
    "cursorVersion": "lts-cursor/1",
    "results": [
      {
        "studyId": "LTS-SUP01",
        "studyTitle": "Tamil Nadu: no single Iron Age to Early Historic boundary shown",
        "position": 4,
        "level": "not_known",
        "label": "Not known",
        "finding": "The sixth century BCE marks the Early Historic start across Tamil Nadu.",
        "why": "Defensible for some western and Vaigai sites, but not a demonstrated universal boundary.",
        "url": "https://layersofthesouth.org/read/7e1454bda8"
      },
      {
        "studyId": "LTS-SUP02",
        "studyTitle": "Kerala 300–600 CE: sea links changed rather than collapsed",
        "position": 4,
        "level": "not_known",
        "label": "Not known",
        "finding": "How much trade there was, and how other Kerala sites fared.",
        "why": "No counted, layer-dated pottery tables or dated sites outside Pattanam were available.",
        "url": "https://layersofthesouth.org/read/02c65f15ac"
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `POST /api/v1/claims`

**Find evidence for a claim**. Returns the studies and graded statements that bear on a claim. It never returns a verdict.

`operationId: find_evidence_for_claim` · Same operation as the tool [`find_evidence_for_claim`](https://layersofthesouth.org/developers/agents#tools) · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

**Recorded request and response**

Request

```
POST https://layersofthesouth.org/api/v1/claims
Accept: application/json
Content-Type: application/json

{
  "claim": "Pattanam was the port of Muziris"
}
```

```
curl --silent --show-error \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"claim":"Pattanam was the port of Muziris"}' \
  'https://layersofthesouth.org/api/v1/claims'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
RateLimit: "instance-read";r=600;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 9,600 bytes of `application/json`. Send the request above to read it.

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

005 Releases

## Releases

### `GET /api/v1/releases`

**List the current and retained snapshots**. Release descriptors and the retention policy.

`operationId: list_releases`

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

Older addresses: `/api/v1/releases.json`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/releases
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/releases'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "e180eb7c9c2397e21ff668826fda16adb04138f9732b00ae56f8f585988f8e6d"
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 46,764 bytes of `application/json`. Fetch it at [https://layersofthesouth.org/api/v1/releases](https://layersofthesouth.org/api/v1/releases).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/releases/{snapshotId}`

**Get one release descriptor**. Use current for the snapshot in service, then pin later calls to the id it returns.

`operationId: get_release` · Response schema: [`developer-release`](https://layersofthesouth.org/schemas/developers/developer-release/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `snapshotId` | `path` | `string (pattern ^(current\|[0-9a-f]{64})$)` | current, or a 64-character snapshot id. |

Responses: `200`, `400`, `404`, `405`, `410`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/releases/current
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/releases/current'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "d1fc05c8ca23d7427b49df2a607c2c6f147c916a689551a82d107741ba2e8da9"
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/developer-release/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "developer-release/1",
  "packageVersion": "2.0.0",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
  "sourceCommit": null,
  "sourceTreeState": null,
  "provenanceUnavailableReason": "The original release's source commit was not recorded. The original release's working-tree state was not recorded. The original release's build time was not recorded.",
  "provenanceEvidence": {
    "fileSha256": "65c0d942fd12feb13ae0ff560c7b901299368e6ed12596b6f744abab9c0ab4cb",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "source": "release.json"
  },
  "inheritedProvenance": null,
  "generatedAt": null,
  "publicationState": "local_review_only",
  "publicationApproved": false,
  "accessMode": "public_anonymous",
  "status": "current",
  "studyCount": 199,
  "routeCount": 7125,
  "reviewSummary": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none",
    "publicationApproved": false
  },
  "rightsSummary": {
    "defaultCorpusLicense": "CC BY-SA 4.0",
    "codeAndExamplesLicense": "MIT",
    "thirdPartyMediaPolicy": "Per-asset rights preserved at /media/rights/; excluded from default packages."
  },
  "digestSchemes": {
    "fileSha256": "lts-raw-file/1",
    "bodySha256": "lts-markdown-body/2",
    "canonicalObjectSha256": "rfc8785-jcs-sha256/1"
  },
  "protocolVersions": {
    "httpApi": "v1",
    "openapiPrimary": "3.2.1",
    "openapiCompatibility": "3.1.2",
    "arazzoWorkflow": "1.1.0",
    "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
    "mcpSupported": [
      "2026-07-28",
      "2025-11-25",
      "2025-06-18"
    ],
    "mcpAppsExtension": "2026-01-26",
    "a2aRelease": "v1.0.1",
    "a2aWireVersion": "1.0",
    "roCrateProfile": "https://w3id.org/ro/crate/1.3",
    "dcatVersion": "3.0",
    "jsonFeedVersion": "https://jsonfeed.org/version/1.1"
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/releases/feed.json`

**JSON Feed 1.1 of editions**. One item per edition from the changelog, with its notes, date and release descriptor.

`operationId: get_release_feed`

#### Parameters

No parameters.

Responses: `200`, `400`, `405`, `429`, `500`

Older addresses: `/releases/feed.json`, `/api/v1/releases/feed`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/releases/feed.json
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/releases/feed.json'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/feed+json; charset=utf-8
Cache-Control: public, max-age=300
ETag: "88564e651345b36c60288bb4401f9160dc350865adb1ceebcd25dcaf0f995a35"
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-read";q=600;w=30
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 7,592 bytes of `application/feed+json`. Fetch it at [https://layersofthesouth.org/api/v1/releases/feed.json](https://layersofthesouth.org/api/v1/releases/feed.json).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/releases/compare`

**Compare two snapshots with a GET**. The same comparison as compare\_releases, addressed by query parameters.

`operationId: get_release_comparison` · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `from` | `query` | `string` | Base snapshot id. |
| `to` | `query` | `string` | Target snapshot id; current when absent. |
| `baseSnapshotId` | `query` | `string` | Alias of from. |
| `targetSnapshotId` | `query` | `string` | Alias of to. |
| `studyId` | `query` | `string (at most 128 characters)` | Limit the comparison to one study. |
| `mode` | `query` | `one of fixture, synthetic` | fixture compares against the labelled synthetic correction fixture. |
| `limit` | `query` | `integer (1..100; default 50)` | Changed studies per page. |
| `offset` | `query` | `integer (0..; default 0)` | Rows to skip. |

Responses: `200`, `400`, `404`, `405`, `410`, `429`, `500`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/releases/compare?mode=fixture
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/releases/compare?mode=fixture'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-agent";q=150;w=30
RateLimit: "instance-agent";r=150;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "release_comparison",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
  "release": {
    "schemaVersion": "developer-release/1",
    "packageVersion": "2.0.0",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
    "sourceCommit": null,
    "sourceTreeState": null,
    "provenanceUnavailableReason": "The original release's source commit was not recorded. The original release's working-tree state was not recorded. The original release's build time was not recorded.",
    "provenanceEvidence": {
      "fileSha256": "65c0d942fd12feb13ae0ff560c7b901299368e6ed12596b6f744abab9c0ab4cb",
      "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
      "source": "release.json"
    },
    "inheritedProvenance": null,
    "generatedAt": null,
    "publicationState": "local_review_only",
    "publicationApproved": false,
    "accessMode": "public_anonymous",
    "status": "current",
    "studyCount": 199,
    "routeCount": 7125,
    "reviewSummary": {
      "editorialStatus": "ai_assisted_editorial_draft",
      "independentSpecialistReview": "none",
      "malayalamNativeSpeakerReview": "none",
      "publicationApproved": false
    },
    "rightsSummary": {
      "defaultCorpusLicense": "CC BY-SA 4.0",
      "codeAndExamplesLicense": "MIT",
      "thirdPartyMediaPolicy": "Per-asset rights preserved at /media/rights/; excluded from default packages."
    },
    "digestSchemes": {
      "fileSha256": "lts-raw-file/1",
      "bodySha256": "lts-markdown-body/2",
      "canonicalObjectSha256": "rfc8785-jcs-sha256/1"
    },
    "protocolVersions": {
      "httpApi": "v1",
      "openapiPrimary": "3.2.1",
      "openapiCompatibility": "3.1.2",
      "arazzoWorkflow": "1.1.0",
      "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
      "mcpSupported": [
        "2026-07-28",
        "2025-11-25",
        "2025-06-18"
      ],
      "mcpAppsExtension": "2026-01-26",
      "a2aRelease": "v1.0.1",
      "a2aWireVersion": "1.0",
      "roCrateProfile": "https://w3id.org/ro/crate/1.3",
      "dcatVersion": "3.0",
      "jsonFeedVersion": "https://jsonfeed.org/version/1.1"
    }
  },
  "canonicalObjectSha256": "cc3074a36d5fcdb7e2c71c0db0d9bdea3f028900b23764a513983899a2337ffc",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "data": {
    "comparisonKind": "synthetic_correction_fixture",
    "isSyntheticFixture": true,
    "syntheticBanner": "SYNTHETIC CORRECTION FIXTURE — ILLUSTRATIVE ONLY (Not an authentic historical release transition)",
    "baseSnapshotId": "synthetic-baseline-000000000000000000000000000000000000000000000000",
    "targetSnapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "summary": {
      "studiesAdded": 0,
      "studiesRemoved": 0,
      "studiesModified": 1,
      "digestCanonicalizationChanged": true,
      "structuredBibliographyAdded": true
    },
    "fieldDiffs": [
      {
        "studyId": "R001",
        "routeSlug": "a124871044",
        "title": "Evidence has layers: observed, stated, inferred and unknown",
        "changedFields": [
          {
            "field": "bodyCanonicalization",
            "before": "legacy-untrimmed-markdown",
            "after": "lts-markdown-body/2",
            "reason": "Unified bodySha256 under lts-markdown-body/2 across index.json, catalogue.json, and index.md."
          },
          {
            "field": "sources[].bibliography",
            "before": "omitted in public export",
            "after": "structured sourceType, creators, issued, containerTitle, accessDetails, rights",
            "reason": "DATA-001 preserved dossier bibliography in public exports."
          },
          {
            "field": "chronology.edtf",
            "before": "-0100/0300",
            "after": "-0578/0300",
            "reason": "TIME-001 astronomical year numbering for BCE intervals."
          }
        ]
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `POST /api/v1/compare`

**Compare two snapshots**. A structured difference between two retained snapshots, or the labelled synthetic fixture.

`operationId: compare_releases` · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

No parameters.

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

**Recorded request and response**

Request

```
POST https://layersofthesouth.org/api/v1/compare
Accept: application/json
Content-Type: application/json

{
  "baseSnapshotId": "synthetic-correction-fixture-v1",
  "targetSnapshotId": "current",
  "includeSyntheticFixture": true
}
```

```
curl --silent --show-error \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"baseSnapshotId":"synthetic-correction-fixture-v1","targetSnapshotId":"current","includeSyntheticFixture":true}' \
  'https://layersofthesouth.org/api/v1/compare'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json", <https://creativecommons.org/licenses/by-sa/4.0/>; rel="license"
RateLimit-Policy: "instance-agent";q=150;w=30
RateLimit: "instance-agent";r=150;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "release_comparison",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
  "release": {
    "schemaVersion": "developer-release/1",
    "packageVersion": "2.0.0",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "contentBundleSha256": "f7ccb22195982831261a24a3cf3fbacfd55d13515ddab24b3d0107db9192bbcb",
    "sourceCommit": null,
    "sourceTreeState": null,
    "provenanceUnavailableReason": "The original release's source commit was not recorded. The original release's working-tree state was not recorded. The original release's build time was not recorded.",
    "provenanceEvidence": {
      "fileSha256": "65c0d942fd12feb13ae0ff560c7b901299368e6ed12596b6f744abab9c0ab4cb",
      "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
      "source": "release.json"
    },
    "inheritedProvenance": null,
    "generatedAt": null,
    "publicationState": "local_review_only",
    "publicationApproved": false,
    "accessMode": "public_anonymous",
    "status": "current",
    "studyCount": 199,
    "routeCount": 7125,
    "reviewSummary": {
      "editorialStatus": "ai_assisted_editorial_draft",
      "independentSpecialistReview": "none",
      "malayalamNativeSpeakerReview": "none",
      "publicationApproved": false
    },
    "rightsSummary": {
      "defaultCorpusLicense": "CC BY-SA 4.0",
      "codeAndExamplesLicense": "MIT",
      "thirdPartyMediaPolicy": "Per-asset rights preserved at /media/rights/; excluded from default packages."
    },
    "digestSchemes": {
      "fileSha256": "lts-raw-file/1",
      "bodySha256": "lts-markdown-body/2",
      "canonicalObjectSha256": "rfc8785-jcs-sha256/1"
    },
    "protocolVersions": {
      "httpApi": "v1",
      "openapiPrimary": "3.2.1",
      "openapiCompatibility": "3.1.2",
      "arazzoWorkflow": "1.1.0",
      "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
      "mcpSupported": [
        "2026-07-28",
        "2025-11-25",
        "2025-06-18"
      ],
      "mcpAppsExtension": "2026-01-26",
      "a2aRelease": "v1.0.1",
      "a2aWireVersion": "1.0",
      "roCrateProfile": "https://w3id.org/ro/crate/1.3",
      "dcatVersion": "3.0",
      "jsonFeedVersion": "https://jsonfeed.org/version/1.1"
    }
  },
  "canonicalObjectSha256": "cc3074a36d5fcdb7e2c71c0db0d9bdea3f028900b23764a513983899a2337ffc",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "data": {
    "comparisonKind": "synthetic_correction_fixture",
    "isSyntheticFixture": true,
    "syntheticBanner": "SYNTHETIC CORRECTION FIXTURE — ILLUSTRATIVE ONLY (Not an authentic historical release transition)",
    "baseSnapshotId": "synthetic-baseline-000000000000000000000000000000000000000000000000",
    "targetSnapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "summary": {
      "studiesAdded": 0,
      "studiesRemoved": 0,
      "studiesModified": 1,
      "digestCanonicalizationChanged": true,
      "structuredBibliographyAdded": true
    },
    "fieldDiffs": [
      {
        "studyId": "R001",
        "routeSlug": "a124871044",
        "title": "Evidence has layers: observed, stated, inferred and unknown",
        "changedFields": [
          {
            "field": "bodyCanonicalization",
            "before": "legacy-untrimmed-markdown",
            "after": "lts-markdown-body/2",
            "reason": "Unified bodySha256 under lts-markdown-body/2 across index.json, catalogue.json, and index.md."
          },
          {
            "field": "sources[].bibliography",
            "before": "omitted in public export",
            "after": "structured sourceType, creators, issued, containerTitle, accessDetails, rights",
            "reason": "DATA-001 preserved dossier bibliography in public exports."
          },
          {
            "field": "chronology.edtf",
            "before": "-0100/0300",
            "after": "-0578/0300",
            "reason": "TIME-001 astronomical year numbering for BCE intervals."
          }
        ]
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

006 Structured reads and replay

## Structured reads and replay

### `QUERY /api/v1/query`

**Run a structured read (HTTP QUERY)**. The same read as run\_query with the HTTP QUERY method (RFC 10008). Use the POST form when an intermediary does not pass QUERY.

`operationId: run_query_with_query_method` · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

**Recorded request and response**

Request

```
QUERY https://layersofthesouth.org/api/v1/query
Accept: application/json
Content-Type: application/json

{
  "schemaVersion": "saved-query/1",
  "operationVersion": "lts-read-operations/3",
  "snapshotId": "current",
  "operation": "search",
  "parameters": {
    "q": "pattanam",
    "limit": 2
  }
}
```

```
curl --silent --show-error \
  --request QUERY \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"schemaVersion":"saved-query/1","operationVersion":"lts-read-operations/3","snapshotId":"current","operation":"search","parameters":{"q":"pattanam","limit":2}}' \
  'https://layersofthesouth.org/api/v1/query'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-agent";q=150;w=30
RateLimit: "instance-agent";r=150;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "search_results",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "e34c299a4cfb5ecc67c34cedd9c7c05a717c6819230a9d4aa99194079dad2833",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "self": "https://layersofthesouth.org/api/v1/search",
    "schema": "https://layersofthesouth.org/schemas/developers/search-results/1.json"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "query": "pattanam",
    "filters": {
      "q": "pattanam"
    },
    "retrievalStatus": "matches_found",
    "rankingMethod": "lts-lexical-metadata/3",
    "coverage": {
      "scope": "selected_snapshot_metadata",
      "studyCount": 199,
      "fieldsSearched": [
        "id",
        "routeSlug",
        "title",
        "oneLine",
        "inBrief",
        "howSure.finding",
        "regions"
      ],
      "fullTextSearched": false,
      "statementsAvailable": true
    },
    "retrievalLimitations": "Matches identify relevant records; lexical scores do not establish support for a proposition. Full study text is not searched. No match is not evidence that a historical claim is false.",
    "totalMatches": 49,
    "limit": 2,
    "offset": 0,
    "nextCursor": "eyJmaWx0ZXJIYXNoIjoiYWViOTc4MWMwZThkZmJlZDUxNDRmZGEyIiwibGFzdElkIjoiUjAwMiIsIm9mZnNldCI6Miwic25hcHNob3RJZCI6Ijg3MDRiYmI0YTU0ZThhZGFlZGM4MWQ5NjdkOWE5ZDBjYjA4OTdlNmYwMDg0ZGQzOTc4NDI1ZDVjZTRkNGFiNzEiLCJ2IjoibHRzLWN1cnNvci8xIn0",
    "cursorVersion": "lts-cursor/1",
    "results": [
      {
        "id": "LTS-SUP13",
        "title": "Pattanam finds: wide trade links, unevenly dated and sourced",
        "oneLine": "Pattanam's pottery, beads and other finds show regional and overseas trade, but each type has a different strength of date and source.",
        "section": "connections",
        "howSureCounts": {
          "established": 1,
          "likely": 1,
          "possible": 1,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/f88a9d1c4f",
        "markdownUrl": "https://layersofthesouth.org/read/f88a9d1c4f/index.md",
        "relevanceScore": 57,
        "matchedTerms": [
          "pattanam"
        ],
        "matchedFields": [
          "title",
          "oneLine",
          "inBrief",
          "howSure"
        ],
        "matchedStatements": [
          {
            "level": "established",
            "label": "Well supported",
            "finding": "Imported Mediterranean pottery reached Pattanam around the turn of the era."
          },
          {
            "level": "likely",
            "label": "Likely",
            "finding": "Stone beads were made at Pattanam."
          }
        ]
      },
      {
        "id": "R002",
        "title": "Pattanam is a candidate for ancient Muziris",
        "oneLine": "Pattanam has excavated evidence of long-distance exchange; its identification with Muziris and the exact ancient harbour remain uncertain.",
        "section": "connections",
        "howSureCounts": {
          "established": 1,
          "likely": 1,
          "possible": 1,
          "not_known": 1
        },
        "url": "https://layersofthesouth.org/read/0ae5aae357",
        "markdownUrl": "https://layersofthesouth.org/read/0ae5aae357/index.md",
        "relevanceScore": 57,
        "matchedTerms": [
          "pattanam"
        ],
        "matchedFields": [
          "title",
          "oneLine",
          "inBrief",
          "howSure"
        ],
        "matchedStatements": [
          {
            "level": "established",
            "label": "Well supported",
            "finding": "The ceramic report describes Pattanam as an Early Historic settlement with long-distance connections."
          },
          {
            "level": "likely",
            "label": "Likely",
            "finding": "Pattanam was part of the wider Muziris port landscape on the lower Periyar."
          }
        ]
      }
    ]
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `POST /api/v1/query`

**Run a structured read (POST)**. A safe, idempotent read with a JSON body: search, a study, its evidence or its citations.

`operationId: run_query` · Response schema: [`public-domain-result`](https://layersofthesouth.org/schemas/developers/public-domain-result/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

**Recorded request and response**

Request

```
POST https://layersofthesouth.org/api/v1/query
Accept: application/json
Content-Type: application/json

{
  "schemaVersion": "saved-query/1",
  "operationVersion": "lts-read-operations/3",
  "snapshotId": "current",
  "operation": "study_detail",
  "parameters": {
    "studyId": "R013"
  }
}
```

```
curl --silent --show-error \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"schemaVersion":"saved-query/1","operationVersion":"lts-read-operations/3","snapshotId":"current","operation":"study_detail","parameters":{"studyId":"R013"}}' \
  'https://layersofthesouth.org/api/v1/query'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/public-domain-result/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-agent";q=150;w=30
RateLimit: "instance-agent";r=150;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

```
{
  "schemaVersion": "public-domain-result/1",
  "kind": "study_detail",
  "view": "compact",
  "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
  "release": {
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "href": "https://layersofthesouth.org/api/v1/releases/8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71"
  },
  "canonicalObjectSha256": "6f44e473db5b5376b3d6b752cb2e9a5e2097c0a0937e56c1f8b300336c1cb93b",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "attribution": {
    "credit": "Layers of the South",
    "licence": "CC-BY-SA-4.0",
    "licenceUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
    "citeAs": "https://layersofthesouth.org/read/719a4ebbb6",
    "snapshotId": "8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71",
    "scope": "project-authored text and metadata; quotations and third-party media keep their own terms"
  },
  "links": {
    "html": "https://layersofthesouth.org/read/719a4ebbb6",
    "markdown": "https://layersofthesouth.org/read/719a4ebbb6/index.md",
    "self": "https://layersofthesouth.org/api/v1/studies/R013",
    "evidence": "https://layersofthesouth.org/api/v1/studies/R013/evidence",
    "citations": "https://layersofthesouth.org/api/v1/studies/R013/citations",
    "schema": "https://layersofthesouth.org/schemas/developers/study/1.json"
  },
  "reviewStatus": {
    "editorialStatus": "ai_assisted_editorial_draft",
    "independentSpecialistReview": "none",
    "malayalamNativeSpeakerReview": "none"
  },
  "publicationApproved": false,
  "data": {
    "id": "R013",
    "publicId": "study.523ef732c0f3",
    "routeSlug": "719a4ebbb6",
    "revision": 6,
    "title": "Pattanam's radiocarbon dates give no single date for its wharf",
    "summary": "Five early radiocarbon samples from Pattanam date pieces of charcoal and wood, not the building of its waterfront, and their ranges are very broad.",
    "section": "landscapes",
    "chronology": {
      "earliestYear": -2499,
      "latestYear": 1300,
      "innerEarliestYear": -2499,
      "innerLatestYear": 1300,
      "midpointYear": -600,
      "spanYears": 3799,
      "basis": "documentary_and_archaeological",
      "uncertainty": "bounded",
      "edtf": "-2498/1300",
      "earliestAstronomicalYear": -2498,
      "latestAstronomicalYear": 1300,
      "earliestHistoricalLabel": "2499 BCE",
      "latestHistoricalLabel": "1300 CE"
    },
    "statementTitle": "Pattanam's radiocarbon dates give no single date for its wharf",
    "oneLine": "Five early radiocarbon samples from Pattanam date pieces of charcoal and wood, not the building of its waterfront, and their ranges are very broad.",
    "inBrief": "In the 2007 season at Pattanam, in central Kerala, the Kerala Council for Historical Research recorded a waterlogged waterfront. It held a wharf-like structure with a brick lining, teak posts and a dugout canoe of Artocarpus hirsutus wood. Five early samples were dated at the Institute of Physics, Bhubaneswar: two charcoal samples, the canoe and two posts. Their calibrated ranges are broad, and two of them each span more than two thousand years. They date the charcoal and wood themselves, not when the wharf was built, used or abandoned. A pooled average of 500 ± 80 BCE should not be read as a wharf date. Later Beta Analytic dates on cremated human bone form a separate line of evidence. Charcoal from the lowest sands supports Iron Age occupation, but not an exact start in 1000 BCE. The original 2009 sample table and its laboratory codes could not be checked.",
    "whyItMatters": "These are the main published dates for Pattanam's waterfront, so knowing what they measure stops broad wood ages becoming a false building date.",
    "howSure": [
      {
        "finding": "A waterlogged waterfront with a canoe, posts and a brick-lined edge was excavated at Pattanam.",
        "label": "Well supported",
        "level": "established",
        "why": "Field reports and Cherian's 2011 paper describe the structure, canoe, posts and pottery layers directly."
      },
      {
        "finding": "The five early samples were dated at the Institute of Physics, Bhubaneswar, not at Oxford.",
        "label": "Well supported",
        "level": "established",
        "why": "The 2008 report of the first results names the laboratory; no inspected source supports Oxford."
      },
      {
        "finding": "People lived at Pattanam in the first half of the first millennium BCE.",
        "label": "Likely",
        "level": "likely",
        "why": "Broad charcoal dates combined with layers and Iron Age pottery; no exact founding date."
      },
      {
        "finding": "When the wharf was built, used, repaired or abandoned.",
        "label": "Not known",
        "level": "not_known",
        "why": "The wood ranges are too broad and date tree growth, not building or use."
      }
    ],
    "howSureCounts": {
      "established": 2,
      "likely": 1,
      "possible": 0,
      "not_known": 1
    },
    "statementsAvailable": true,
    "twoViews": [],
    "howWeKnow": [
      "Radiocarbon results for five samples, reported in 2008 and in Cherian's 2011 paper, compared sample by sample.",
      "Descriptions of the waterfront layers (loci 014 and 014a) from the 2007 excavation report.",
      "Beta Analytic dates on cremated bone from a 2023 genetic study, kept as a separate line.",
      "The 2009 Current Science article was read only as an abstract; its sample table was not checked."
    ],
    "labelCheck": {
      "date": "2026-11-01",
      "kind": "ai_checked_against_study_text"
    },
    "sourceCount": 14,
    "claimCount": 20,
    "bodySha256": "cff64ad8d50857fec8f2acff208fb469ed4b96e76aae4a59e197cd2f4466fc6d",
    "bodyCanonicalization": "lts-markdown-body/2"
  }
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `POST /api/v1/replay`

**Replay a saved query and compare digests**. Runs a saved query against its pinned snapshot and compares the result with the digest the query carries. A read without an expected digest is not a replay.

`operationId: replay_query` · Response schema: [`verification-receipt`](https://layersofthesouth.org/schemas/developers/verification-receipt/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

**Recorded request and response**

Request

```
POST https://layersofthesouth.org/api/v1/replay
Accept: application/json
Content-Type: application/json

{
  "schemaVersion": "saved-query/1",
  "operationVersion": "lts-read-operations/3",
  "snapshotId": "current",
  "operation": "study_detail",
  "parameters": {
    "studyId": "R013"
  },
  "expectedResultSha256": "0000000000000000000000000000000000000000000000000000000000000000"
}
```

```
curl --silent --show-error \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"schemaVersion":"saved-query/1","operationVersion":"lts-read-operations/3","snapshotId":"current","operation":"study_detail","parameters":{"studyId":"R013"},"expectedResultSha256":"0000000000000000000000000000000000000000000000000000000000000000"}' \
  'https://layersofthesouth.org/api/v1/replay'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/verification-receipt/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-agent";q=150;w=30
RateLimit: "instance-agent";r=150;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 6,277 bytes of `application/json`. Send the request above to read it.

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

007 Evidence packages

## Evidence packages

### `POST /api/v1/evidence-packages`

**Build an evidence package**. A deterministic package of up to 25 studies with their Markdown, citations and an offline verifier, as a JSON manifest, a preview or a ZIP.

`operationId: build_evidence_package` · Response schema: [`evidence-package`](https://layersofthesouth.org/schemas/developers/evidence-package/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `415`, `429`, `500`

Older addresses: `/api/v1/evidence-package`, `/api/v1/packages`

**Recorded request and response**

Request

```
POST https://layersofthesouth.org/api/v1/evidence-packages
Accept: application/json
Content-Type: application/json

{
  "studyIds": [
    "R013"
  ],
  "format": "preview"
}
```

```
curl --silent --show-error \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"studyIds":["R013"],"format":"preview"}' \
  'https://layersofthesouth.org/api/v1/evidence-packages'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/evidence-package/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-package";q=30;w=30
RateLimit: "instance-package";r=30;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 12,007 bytes of `application/json`. Send the request above to read it.

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

### `GET /api/v1/evidence-packages`

**Preview an evidence package with a GET**. Shows what a package would contain before it is built, or builds it when a format is given.

`operationId: preview_evidence_package` · Response schema: [`evidence-package`](https://layersofthesouth.org/schemas/developers/evidence-package/1.json)

#### Parameters

| Name | In | Type | Description |
| --- | --- | --- | --- |
| `studyIds` | `query` | `string` | Comma-separated study ids, at most 25. |
| `mode` | `query` | `one of preview, manifest, json, zip` |  |
| `format` | `query` | `one of preview, json, zip` |  |
| `snapshot` | `query` | `string (pattern ^(current\|[0-9a-f]{64})$)` | Snapshot to read: current, or a 64-character snapshot id. A response for a pinned id never changes. |
| `X-LTS-Snapshot` | `header` | `string (pattern ^(current\|[0-9a-f]{64})$)` | The same selector as a header. It must agree with snapshot when both are sent. |

Responses: `200`, `400`, `404`, `405`, `409`, `410`, `413`, `429`, `500`

Older addresses: `/api/v1/evidence-package`, `/api/v1/packages`

**Recorded request and response**

Request

```
GET https://layersofthesouth.org/api/v1/evidence-packages?studyIds=R013
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/evidence-packages?studyIds=R013'
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Vary: X-LTS-Snapshot
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/evidence-package/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-package";q=30;w=30
RateLimit: "instance-package";r=30;t=0
X-LTS-Snapshot: 8704bbb4a54e8adaedc81d967d9a9d0cb0897e6f0084dd3978425d5ce4d4ab71
```

Body not shown here: 12,007 bytes of `application/json`. Fetch it at [https://layersofthesouth.org/api/v1/evidence-packages?studyIds=R013](https://layersofthesouth.org/api/v1/evidence-packages?studyIds=R013).

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

Live response headers appear here after you press Run. Nothing is fabricated before a real call.

008 Static files

## Static files

| Name | Description |
| --- | --- |
| `/api/v1/coverage.json` | Counts of what the collection covers, written by the build |
| `/api/v1/neighbors/{studyId}.json` | Precomputed neighbouring studies of one study |

- [Overview](https://layersofthesouth.org/developers)
- [Quick start](https://layersofthesouth.org/developers/start)
- [HTTP reference](https://layersofthesouth.org/developers/reference)
- [Agents](https://layersofthesouth.org/developers/agents)
- [Workbench](https://layersofthesouth.org/developers/workbench)
- [Schemas](https://layersofthesouth.org/developers/schemas)
- [Data](https://layersofthesouth.org/developers/data)
- [Releases](https://layersofthesouth.org/developers/releases)
- [Standards](https://layersofthesouth.org/developers/interoperability)
- [Reuse](https://layersofthesouth.org/developers/reuse)
- [Guides](https://layersofthesouth.org/developers/guides)
- [Changes](https://layersofthesouth.org/developers/changes)
- [Status](https://layersofthesouth.org/developers/status)
- [Errors](https://layersofthesouth.org/developers/errors)

[This page as Markdown](https://layersofthesouth.org/developers/reference/index.md) · [All developer pages in one Markdown file](https://layersofthesouth.org/developers/docs.md)
