# Living Signals REST API v1

The Living Signals REST API is read-only and returns JSON. It serves Claims
extracted from news reporting, Signals that group the Claims about one
occurrence, and Topics that group related Signals. Data is organized by
country.

- **Base URL:** `https://app.livingsignals.io/api/v1`
- **Methods:** every endpoint is a `GET`.
- **Authentication:** an API key in the `Authorization` header.
- **Responses:** JSON, apart from this reference as Markdown and satellite
  images as PNG. Failures use one [error envelope](#errors).

This reference is also available as [Markdown](/api/v1/docs), as an
[OpenAPI 3.1 document](/api/v1/openapi.json), and as a
[browsable endpoint reference](/reference). To connect an AI assistant through
the MCP server, read the [MCP reference](/docs/mcp).

Use of the API is covered by the [Living Signals Terms of Service](/terms).
Where your organization has a signed agreement with Living Signals, that
agreement comes first.

## Quick start

You need a Living Signals account and an API key. Accounts are set up by Living
Signals. Sign in to the app, open the Access page, and create a key on the API
keys tab (`/access#keys`). The full key is shown once, when you create it.

Put the base URL and your key in two shell variables:

```bash
export LS_API="https://app.livingsignals.io/api/v1"
export LS_API_KEY="ls_live_<token>"
```

**1. See what your key can read.**

```bash
curl -s "$LS_API/countries" -H "Authorization: Bearer $LS_API_KEY"
```

The response lists every country your key can read, with its `code` and the
amount of data it holds.

**2. Read the rubric.** It lists the category and attribute ids that filters
accept. This endpoint needs no key:

```bash
curl -s "$LS_API/rubric"
```

**3. List Signals in one category.** Without a `country` parameter the request
covers every country your key can read:

```bash
curl -s "$LS_API/signals?category=environmental&limit=5" -H "Authorization: Bearer $LS_API_KEY"
```

To read one country, add `&country=<code>` with a `code` from step 1. The list
covers occurrences from the last 90 days. An empty `signals` array means your
countries have no dated Signal in that category and period; remove `category`,
or add `&since=all` to read the whole corpus.

**4. Read one Signal with its Claims.** Replace `<id>` with a Signal `id` from
step 3:

```bash
curl -s "$LS_API/signals/<id>" -H "Authorization: Bearer $LS_API_KEY"
```

Each Claim in the response carries the article and Source it came from.

**5. Read newly ingested Claims.**

```bash
curl -s "$LS_API/claims?since_extracted=24h&limit=5" -H "Authorization: Bearer $LS_API_KEY"
```

`24h` is counted back from the moment of each request, which suits a single
request such as this one. To poll repeatedly, or to read more than one page,
send a timestamp; see the [polling recipe](#polling-recipe).

`GET /api/v1` returns the same five requests as JSON, in `getting_started`.

From here:

- **Filter further.** Filters combine categories, attributes, and annotation
  codes. See [Filters](#filters).
- **Read every page.** List responses carry `nextPage`. Request that URL
  unchanged, with the same header, until it is `null`. See
  [Pagination](#pagination).
- **Handle failures.** Errors return `{"error": {"code": "...", "message": "..."}}`.
  The message names the value at fault. See [Errors](#errors).

## The model

1. A **Claim** is one assertion extracted from one article. It is immutable and
   carries its article and Source.
2. A **Signal** groups the Claims that report the same occurrence, within a
   bounded period. A Signal can hold one Claim from one Source or many Claims
   from several Sources; `claim_count` and `source_count` state which. Signals
   are the main resource to explore.
3. A **Topic** groups related Signals for browsing. Topic ids change between
   processing runs, so store Signal and Claim ids.
4. The **rubric** describes each Signal with attributes that are either true
   or absent. A **category** is a named group of attributes and matches when
   any of its attributes is true. A Signal can have several attributes and
   belong to several categories.
5. **Annotation layers** classify Signals against other vocabularies, such as
   disaster types or humanitarian clusters. Access to each layer is granted
   separately.

Every Claim, Signal, and Topic belongs to one country, and a key's access is
granted per country.

The rubric and the annotation layers describe a Signal after it has formed.
They play no part in deciding which Claims form a Signal or which Signals form
a Topic.

## Authentication and entitlements

Send your API key in either header:

```http
Authorization: Bearer ls_live_<token>
```

```http
X-API-Key: ls_live_<token>
```

Keys begin with `ls_live_`. Keys issued before 2026-07-21 may begin with
`ls_cust_` and behave identically. Create and revoke keys at `/access#keys` in
the app. The REST API accepts API keys only; a sign-in token issued for the
MCP server is answered with `401 invalid_credentials`.

A revoked key stops working on the next request. A key belongs to the
organization. It keeps working when the person who created it changes their
password or leaves the organization, until someone revokes it.

Four endpoints need no key. Every other endpoint needs one.

| Endpoint | Authentication |
| --- | --- |
| `GET /api/v1` | Public |
| `GET /api/v1/rubric` | Public |
| `GET /api/v1/docs` | Public |
| `GET /api/v1/openapi.json` | Public |
| Every other endpoint | API key |

A key reads what its organization has been granted. Three kinds of grant
exist, and each is independent of the others:

| Grant | What it controls | How to see it |
| --- | --- | --- |
| Countries | Which countries' Claims, Signals, Topics, and Sources the key can read. | `countries` in `GET /api/v1/countries` |
| Annotation layers | Which layers appear in `annotations` on Signals and can be used as filters. | `annotation_layers` in `GET /api/v1/countries` |
| Enrichments | Whether Signal detail includes satellite imagery (`geospatial_v1`). | An `imagery` array on Signal detail |

**Countries.** Leave out `country` to read every country your key can access.
If a request names a country outside your grants, the whole request fails with
`403 country_not_entitled`, and the message lists the countries the key can
read. The API never answers with a subset of the countries you asked for. A
Signal or Claim that exists in a country outside your grants also returns
`403 country_not_entitled` when you request it by id.

**Annotation layers.** A Signal's `annotations` object contains only the
layers granted to your key. Filtering by a layer that is not granted fails
with `403 annotation_layer_not_entitled`.

**Enrichments.** The `geospatial_v1` enrichment adds satellite imagery to
Signal detail. It shares its id with the `geospatial_v1` annotation layer, and
the two are granted separately.

Authentication and entitlement failures are listed under [Errors](#errors).
Keys that belong to Living Signals' own organizations behave differently in a
few places; see [Internal keys](#internal-keys).

## Discover your access and the vocabularies

### `GET /api/v1/countries`

Lists the countries and annotation layers your key can read. Call it first.
Countries are ordered by `code`.

| Parameter | Meaning |
| --- | --- |
| None | |

| Field | Meaning |
| --- | --- |
| `countries` | Countries granted to your key. |
| `countries[].code` | ISO 3166-1 alpha-2 country code. This is the value the `country` parameter accepts. |
| `countries[].name` | Country name, or `null` when no country record exists for a granted code. |
| `countries[].status` | `live`, `in_curation`, `pending`, or `archived`; `null` when no country record exists. |
| `countries[].claim_count` | Claims retrievable for the country, across all dates. |
| `countries[].source_count` | Distinct active Sources that cover the country. |
| `countries[].first_claim_at` | Ingestion time of the earliest retrievable Claim, or `null`. |
| `countries[].last_claim_at` | Ingestion time of the latest retrievable Claim, or `null`. |
| `annotation_layers` | Ids of the annotation layers granted to your key. |

Example response:

```json
{
  "countries": [
    {
      "code": "CM",
      "name": "Cameroon",
      "status": "live",
      "claim_count": 18420,
      "source_count": 37,
      "first_claim_at": "2026-05-02T06:14:20.931Z",
      "last_claim_at": "2026-10-20T21:26:42.133Z"
    }
  ],
  "annotation_layers": ["acled_v1", "glide_v1", "iasc_v1"]
}
```

`claim_count` counts every retrievable Claim, whatever its date. It equals the
number of Claims you receive when you read every page of
`GET /api/v1/claims?country=<code>&since=all`. Without `since=all`, `/claims`
covers only the last 90 days and returns fewer. Claims that were rejected or
failed during extraction are not retrievable and are not counted.

A key with no country grant receives an empty `countries` array.

Responses use `Cache-Control: private, max-age=300`.

### `GET /api/v1/rubric`

Returns the rubric: the categories and attributes that the `category`,
`attribute`, and `attribute_any` filters accept and that Signals carry in
`rubric`. The endpoint is public. Ids are case-sensitive.

| Parameter | Meaning |
| --- | --- |
| None | |

| Field | Meaning |
| --- | --- |
| `version` | Rubric version. Signals report the version they were graded with in `rubric.version`. |
| `categories[].id` | Value accepted by `category`. |
| `categories[].label` | Category display label. |
| `categories[].attributes` | Ids of the attributes in the category, in order. |
| `categories[].groups` | Display groups within the category, each with `id`, `label`, and `attributes`. Present only on `women_peace_security`. Group ids are not filter values. |
| `categories[].analysis_version` | Version of the evidence-linked analysis behind the category's attributes. Present only on `women_peace_security`. |
| `categories[].directions` | Direction values that findings carry and the qualified filter form accepts. Present only on `women_peace_security`. |
| `categories[].stages` | Stage values that findings carry and the qualified filter form accepts. Present only on `women_peace_security`. |
| `categories[].filter_syntax` | A one-line reminder of the qualified filter form. Present only on `women_peace_security`. |
| `attributes[].id` | Value accepted by `attribute` and `attribute_any`. |
| `attributes[].label` | Short display label when the attribute belongs to a category; otherwise `null`. |
| `attributes[].description` | Definition used to decide whether the attribute applies. |
| `attributes[].section` | Thematic group the attribute is filed under. It is not a filter value. |
| `attributes[].categories` | Ids of the categories that contain the attribute. An empty array means none. |

The response contains every category and attribute.

Example response, shortened to two of the 11 categories and two of the 104 attributes:

```json
{
  "version": "v1.4",
  "categories": [
    {
      "id": "environmental",
      "label": "Environmental",
      "attributes": [
        "involves_environmental_damage",
        "involves_deforestation",
        "involves_water_contamination",
        "involves_extractive_industry"
      ]
    },
    {
      "id": "women_peace_security",
      "label": "Women, Peace & Security",
      "groups": [
        {
          "id": "gender_based_violence",
          "label": "Gender-based violence (physical/direct)",
          "attributes": ["wps_physical_violence", "wps_verbal_violence", "wps_sexual_violence"]
        },
        {
          "id": "harms_impacting_women",
          "label": "Harms impacting women",
          "attributes": ["wps_infrastructural_harm", "wps_environmental_harm", "wps_social_harm"]
        },
        {
          "id": "gender_economic_security",
          "label": "Gender-based economic security",
          "attributes": ["wps_division_of_labor", "wps_economic_violence", "wps_resource_access"]
        },
        {
          "id": "gender_political_security",
          "label": "Gender-based political security",
          "attributes": ["wps_policy_action", "wps_participation"]
        }
      ],
      "analysis_version": "wps-v1.5",
      "directions": ["improving", "deteriorating", "neutral", "mixed", "unclear"],
      "stages": ["proposed", "committed", "implemented", "outcome", "reported_condition"],
      "filter_syntax": "attribute or attribute_any: id:direction[:stage]; direction and stage match the same finding",
      "attributes": [
        "wps_physical_violence",
        "wps_verbal_violence",
        "wps_sexual_violence",
        "wps_infrastructural_harm",
        "wps_environmental_harm",
        "wps_social_harm",
        "wps_division_of_labor",
        "wps_economic_violence",
        "wps_resource_access",
        "wps_policy_action",
        "wps_participation"
      ]
    }
  ],
  "attributes": [
    {
      "id": "involves_flood",
      "label": "Flooding",
      "description": "Floods, flash floods, river overflow, inundation",
      "section": "harm_type",
      "categories": ["natural_disasters"]
    },
    {
      "id": "involves_air_pollution",
      "label": null,
      "description": "Air quality issues, toxic fumes, emissions, smog, respiratory hazards",
      "section": "harm_type",
      "categories": []
    }
  ]
}
```

The full list of ids is under [Rubric vocabulary](#appendix-rubric-vocabulary).
Responses use `Cache-Control: public, max-age=3600`.

### `GET /api/v1/annotation-layers`

Returns the annotation layers granted to your key, each with its complete code
list. An empty `layers` array means no layer is granted.

| Parameter | Meaning |
| --- | --- |
| None | |

| Field | Meaning |
| --- | --- |
| `layers[].id` | Layer id. It is the name of the filter parameter and the key under `annotations` on a Signal. |
| `layers[].name` | Display name of the vocabulary. |
| `layers[].version` | Version of the layer's vocabulary and grading rules. It can differ from the number in the id. |
| `layers[].attribution.name` | Organization that maintains the vocabulary. |
| `layers[].attribution.url` | Website of the vocabulary. |
| `layers[].directions` | Direction values the layer records for each assigned code, or `null` when the layer records none. |
| `layers[].codes[].code` | Value accepted by the filter and returned in `annotations`. Case-sensitive. |
| `layers[].codes[].canonical` | Name or value of the code in the source vocabulary. |
| `layers[].codes[].meaning` | Definition of the code. |

Example response, shortened to one layer and two of its 8 codes:

```json
{
  "layers": [
    {
      "id": "iep_positive_peace_v1",
      "name": "IEP Positive Peace pillars",
      "version": "2",
      "attribution": {
        "name": "IEP",
        "url": "https://www.visionofhumanity.org/the-eight-pillars-of-positive-peace/"
      },
      "directions": ["strengthening", "eroding", "mixed"],
      "codes": [
        {
          "code": "well_functioning_government",
          "canonical": "Well-Functioning Government",
          "meaning": "Delivery and quality of public services, political stability, rule of law, courts and administration, elections and legitimate transfers of power, public trust and participation in governing institutions."
        },
        {
          "code": "low_levels_of_corruption",
          "canonical": "Low Levels of Corruption",
          "meaning": "Misuse of public office for private gain: bribery, embezzlement and public-sector theft, procurement fraud, entrenched or factionalised elites, and anti-corruption investigations and prosecutions."
        }
      ]
    }
  ]
}
```

In a real response each layer's `codes` array is complete and ordered. Every
layer and code is listed under [Annotation layers](#appendix-annotation-layers).
Responses use `Cache-Control: private, max-age=300`.

## Working with lists

`/signals`, `/topics`, `/claims`, and `/sources` return lists. This section
covers what they share: filters, time windows, pagination, and search.

### Filters

`/signals` and `/topics` accept the same rubric and annotation filters. A
parameter that takes several values accepts them comma-separated or repeated:
`category=environmental,displacement` and
`category=environmental&category=displacement` mean the same.

| Parameter | Several values mean | Example |
| --- | --- | --- |
| `country` | Any of the countries. | `country=<code>,<code>` |
| `category` | Any attribute of any listed category is true. | `category=natural_disasters,displacement` |
| `attribute` | Every listed attribute is true. | `attribute=involves_flood,involves_displacement` |
| `attribute_any` | At least one listed attribute is true. | `attribute_any=involves_flood,involves_drought` |
| An annotation layer id, such as `glide_v1` | The Signal has any of the listed codes in that layer. | `glide_v1=fl,ff` |

Different parameters combine with AND. For example,
`category=natural_disasters&attribute=involves_death&glide_v1=fl` returns
Signals that are in the natural-disasters category, have the
`involves_death` attribute, and carry the GLIDE code `fl`.

An unknown category id, attribute id, or code fails with
`400 invalid_parameter`. Ids and codes are case-sensitive.

**Women, Peace and Security findings.** The 11 `wps_` attributes come from
findings that cite Claims, and each finding has a direction and a stage. A
plain id matches any finding for that attribute. To match on direction, or on
direction and stage, qualify the id:

| Filter value | Matches Signals with |
| --- | --- |
| `attribute=wps_participation` | At least one finding for `wps_participation`. |
| `attribute=wps_participation:improving` | A `wps_participation` finding whose direction is `improving`. |
| `attribute=wps_participation:improving:outcome` | One `wps_participation` finding whose direction is `improving` and whose stage is `outcome`. |

The qualified form works in `attribute` and `attribute_any`. Direction and
stage must hold for the same finding. `GET /api/v1/rubric` lists the accepted
directions and stages on the `women_peace_security` category. A direction or
stage outside those lists fails with `400 invalid_parameter`. A stage cannot
be given without a direction. Findings at the `proposed` or `committed` stage
always have the direction `unclear`. See [`analysis.wps`](#analysis-wps) for
the findings themselves.

**Annotation layers.** Name the layer as the parameter and its codes as the
value. A Signal that has no stored annotation for the layer does not match.
Filters on two layers combine with AND.

On a layer that records directions, a code can carry one:

| Filter value | Matches Signals where |
| --- | --- |
| `iep_positive_peace_v1=low_levels_of_corruption` | The code is assigned, in any direction. |
| `iep_positive_peace_v1=low_levels_of_corruption:eroding` | The code is assigned and its direction is `eroding`. |
| `iep_positive_peace_v1_direction=eroding` | Any code of the layer has the direction `eroding`. |
| `iep_positive_peace_v1=low_levels_of_corruption&iep_positive_peace_v1_direction=eroding` | The code is assigned and its direction is `eroding`. |

A direction written on a code applies to that code alone. When the request
also sends `iep_positive_peace_v1_direction`, that value applies to the codes
that carry no direction of their own. `GET /api/v1/annotation-layers` lists
each layer's `directions`.

**Topics.** On `/topics`, one Signal inside the Topic must satisfy every
filter in the request, including `since`. Two different Signals cannot each
satisfy part of it.

`/claims` has no rubric or annotation filters, because those describe Signals.
To read the Claims behind a filtered set of Signals, list the Signals and read
each one's detail.

### Time windows

Two parameters limit results by time. They measure different things.

| Parameter | Compares | Precision | Available on |
| --- | --- | --- | --- |
| `since` | When the occurrence happened: `signal_end` for a Signal, the `signal_end` of a Signal inside the Topic for a Topic, and `occurred_on` for a Claim. | Calendar date | `/signals`, `/topics`, `/claims` |
| `since_extracted` | When the Claim was ingested: `extracted_at`. | Timestamp | `/claims` |

Both accept the same forms, and both are exclusive bounds:

- A number followed by `h`, `d`, or `w`, for hours, days, or weeks before now:
  `24h`, `7d`, `2w`. The unit letter can be upper or lower case.
- A date, `2026-10-20`, or an RFC 3339 timestamp, `2026-10-20T21:30:00Z`.
  Write timestamps with `Z` or an explicit offset. In a URL, send the `+` of
  an offset as `%2B`: `2026-10-20T21:30:00%2B02:00`. A plain `+` is read as a
  space and the value fails with `400 invalid_parameter`.
- `all`, which sets no bound.

Any other value fails with `400 invalid_parameter`.

**`since` works in whole days.** The API reduces the bound to its UTC calendar
date and returns records dated after that date. An hour or a time of day only
decides which date the bound falls on. For a request made on 2026-10-22 at
15:00 UTC:

| You send | Bound date | Records returned |
| --- | --- | --- |
| `since=7d` | 2026-10-15 | Dated 2026-10-16 or later. |
| `since=24h` | 2026-10-21 | Dated 2026-10-22 or later. |
| `since=1h` | 2026-10-22 | Dated 2026-10-23 or later, which normally means none. |
| `since=2026-10-20` | 2026-10-20 | Dated 2026-10-21 or later. |
| `since=all` | None | Every record, including records with no date. |

To include a given day, send the day before it. Use `since_extracted` when you
need hours or a time of day.

#### The default window

The default window is 90 days. `/signals`, `/topics`, and `/claims` apply
`since=90d` when you send no `since`. Send `since=all` to read the whole
corpus.

The window is measured on the date of the occurrence. An article published
today about a flood two years ago produces a Claim dated two years ago, and
the default window leaves it out. A Claim's date is `occurred_on`. A Signal's
date is `signal_end`, the latest `occurred_on` among its Claims. Records with
no date appear only with `since=all`.

**`since_extracted` turns the default window off.** A request with a bounded
`since_extracted` returns every Claim ingested after the bound, whatever its
`occurred_on`. This is what makes polling complete; see the
[polling recipe](#polling-recipe). `since_extracted=all` sets no bound and
leaves the default window in place.

### Pagination

`/signals`, `/topics`, `/claims`, and `/sources` return one page at a time.
Beside its list, each response carries these two fields:

```json
{
  "nextPage": "https://app.livingsignals.io/api/v1/signals?limit=50&cursor=MjEw",
  "pagination": {
    "limit": 50,
    "count": 50
  }
}
```

| Field | Meaning |
| --- | --- |
| `nextPage` | Absolute URL of the next page, or `null` on the last page. |
| `pagination.limit` | Page size the API applied. |
| `pagination.count` | Number of rows on this page. It is not a total. |

Request `nextPage` unchanged, with your key, until it is `null`. Treat the URL
as opaque: it repeats your parameters as you sent them and adds a `cursor`.

Because `nextPage` repeats your parameters as sent, a relative window such as
`since_extracted=24h` is counted back again from the moment of each page
request. When you read more than one page, send a date or a timestamp, so that
every page uses the same bound.

`limit` sets the page size. The default is 50, or 100 on `/sources`. A value
above 500 is reduced to 500. A value below 1, or one that is not a whole
number, fails with `400 invalid_parameter`.

Lists have a fixed order that exists for paging. `/signals` and `/topics` are
ordered by an internal row number, `/claims` by Claim `id`, and `/sources` by
Source `id` and then `country_code`. No list is sorted by date or by
relevance. To read only recent records, narrow the time window.

Do not build, edit, or reuse a `cursor`. A cursor is not tied to the filters
it was issued for, so a cursor carried into a different query can return a
valid page from an arbitrary position. An empty or malformed cursor fails with
`400 invalid_cursor`.

### Search

`/signals` and `/claims` accept `query` to search by words and by meaning. A
search returns one page of results ranked by relevance.

```http
GET /api/v1/signals?query=flood%20damage%20to%20water%20supply&limit=10
```

| Rule | Detail |
| --- | --- |
| Query text | 2 to 500 characters after trimming, with at least one letter or number. Anything else fails with `400 invalid_parameter`. |
| What is searched | For Claims: the Claim text, its stored context (not returned), and place names. For Signals: the label, the description, and the same three things for each of the Signal's Claims. |
| Filters | Every other parameter of the endpoint still applies, including the 90-day default window and your country grants. |
| Result size | Up to `limit` results; the default is 50 and the maximum is 500. |
| Pages | There is one page. `nextPage` is `null`, and sending `cursor` with `query` fails with `400 invalid_parameter`. |
| Caching | Search responses use `Cache-Control: private, no-store`. |

A search response adds a `search` object beside the list:

| Field | Meaning |
| --- | --- |
| `search.query` | The query as applied, trimmed and with repeated spaces collapsed. |
| `search.mode` | `hybrid` when word matching and semantic similarity were both used. `lexical` when only word matching was used because the embedding service was unavailable. |
| `search.reranked` | Whether a second ranking pass ordered the results. When `false`, results keep the first-pass order. |
| `search.truncated` | `true` when more results matched than `limit` returned. |
| `search.limit` | The maximum number of results for this request. |

The relevant part of a search response:

```json
{
  "search": {
    "query": "flood damage to water supply",
    "reranked": true,
    "mode": "hybrid",
    "truncated": false,
    "limit": 10
  },
  "nextPage": null,
  "pagination": {
    "limit": 10,
    "count": 1
  }
}
```

Search finds the best matches up to `limit`. When `search.truncated` is
`true`, narrow the query or add filters. To read every record, list without
`query` and follow `nextPage`.

An empty result means that no report in the corpus matched the query under
your filters. It says nothing about events that no Source reported.

## Signals and Topics

### `GET /api/v1/signals`

Lists active Signals. See [Filters](#filters), [Time windows](#time-windows),
[Pagination](#pagination), and [Search](#search) for the shared rules.

| Parameter | Meaning |
| --- | --- |
| `query` | Search text, 2 to 500 characters. Returns one relevance-ranked page. Cannot be combined with `cursor`. |
| `country` | ISO-2 country codes, in upper or lower case. Several values mean any of them. Omit it to cover every country your key can read. |
| `category` | Rubric category ids. Matches a Signal with any attribute of any listed category. |
| `attribute` | Rubric attribute ids. Every listed attribute must be true. A `wps_` id accepts the form `id:direction[:stage]`. |
| `attribute_any` | Rubric attribute ids. At least one listed attribute must be true. A `wps_` id accepts the form `id:direction[:stage]`. |
| `glide_v1` | GLIDE codes. Matches a Signal with any listed code. |
| `acled_v1` | ACLED codes. Matches a Signal with any listed code. |
| `iasc_v1` | IASC codes. Matches a Signal with any listed code. |
| `iep_positive_peace_v1` | IEP Positive Peace pillars. Matches a Signal with any listed pillar. A pillar accepts the form `pillar:direction`. |
| `iep_positive_peace_v1_direction` | `strengthening`, `eroding`, or `mixed`. With a pillar filter, applies to the listed pillars that carry no direction of their own. Alone, matches any pillar with that direction. |
| `geospatial_v1` | Geospatial imagery-suitability codes. Matches a Signal with any listed code. |
| `undp_thematic_v1` | UNDP thematic categories. Matches a Signal with any listed category, in either position. |
| `topic` | UUID of the Signal's current Topic. The default 90-day window still applies; add `since=all` to list every Signal of the Topic. A value that is not a UUID fails with `400 invalid_parameter`. |
| `since` | Returns Signals whose `signal_end` is after this bound, compared by calendar date. Defaults to `90d`. |
| `limit` | Page size. Defaults to 50; values above 500 are reduced to 500. |
| `cursor` | Cursor from `nextPage`. Omit it on the first request. |
| `include_annotations` | Has an effect for [internal keys](#internal-keys) only. Accepts `true`, `false`, or an empty value; any other value fails with `400 invalid_parameter`. |

| Field | Meaning |
| --- | --- |
| `id` | Signal UUID. A retired id still resolves on `GET /api/v1/signals/{id}` and on the imagery endpoint; see [Signal lifecycle and id stability](#signal-lifecycle-and-id-stability). The `signal` filter on `/claims` matches the id exactly and does not follow a retired id. |
| `label` | Short name of the occurrence. |
| `description` | Longer description, or `null`. |
| `country_code` | ISO-2 country the Signal belongs to. |
| `signal_start` | First date of the occurrence, as `YYYY-MM-DD`, or `null`. It is the earliest `occurred_on` among the Signal's Claims, except on a Signal curated by hand, where a curator sets it. |
| `signal_end` | Last date of the occurrence, as `YYYY-MM-DD`, or `null`. It is the latest `occurred_on` among the Signal's Claims, with the same exception. `since` filters on this date. |
| `last_claim_at` | Ingestion time of the Signal's most recently ingested Claim, or `null`. |
| `formed_at` | Time the Signal was formed. |
| `claim_count` | Number of Claims in the Signal, of any date, as counted by the latest processing run. |
| `source_count` | Number of distinct Sources behind those Claims, as counted by the latest processing run. |
| `topic` | The Signal's current Topic as `{id, label}`, or `null`. |
| `analysis.wps` | Women, Peace and Security assessment. Present on every Signal; see [`analysis.wps`](#analysis-wps). |
| `rubric.version` | Rubric version the Signal was graded with. A Signal stored without a version reports the current one. |
| `rubric.categories` | Ids of the categories the Signal belongs to, in the order `GET /api/v1/rubric` lists them. |
| `rubric.attributes` | Ids of the attributes that are true for the Signal. |
| `annotations` | Annotations from the layers granted to your key, keyed by layer id. Absent when none are included; see [Annotation layers](#appendix-annotation-layers). |

Example response:

```json
{
  "signals": [
    {
      "id": "28eeab9d-47f6-4a2e-bd28-cafe6ad6ca19",
      "label": "Flooding disrupts homes and water access in Far North",
      "description": "Floodwater entered homes in one community and interrupted access to its water point.",
      "country_code": "CM",
      "signal_start": "2026-10-19",
      "signal_end": "2026-10-19",
      "last_claim_at": "2026-10-20T08:45:00.000Z",
      "formed_at": "2026-10-20T09:10:00.000Z",
      "claim_count": 1,
      "source_count": 1,
      "topic": {
        "id": "18aad58a-73fb-4966-a640-626c79aa7d39",
        "label": "Far North climate and displacement"
      },
      "analysis": {
        "wps": {
          "version": "wps-v1.5",
          "status": "complete",
          "evidence_fingerprint": "6f1ed002ab5595859014ebf0951522d9",
          "assessed_at": "2026-10-20T09:40:00.000Z",
          "model": "<model identifier>",
          "findings": []
        }
      },
      "rubric": {
        "version": "v1.4",
        "categories": ["displacement", "natural_disasters", "environmental"],
        "attributes": [
          "involves_flood",
          "involves_displacement",
          "involves_water_contamination"
        ]
      },
      "annotations": {
        "glide_v1": {
          "codes": ["fl"],
          "rationale": "The Signal describes flooding that entered homes."
        },
        "iasc_v1": {
          "codes": ["wash", "shelter"],
          "rationale": "The reported impacts concern safe water and housing."
        }
      }
    }
  ],
  "nextPage": null,
  "pagination": {
    "limit": 50,
    "count": 1
  }
}
```

Responses use `Cache-Control: private, max-age=60`, or
`private, no-store` for a search.

#### `analysis.wps`

Every Signal carries a Women, Peace and Security (WPS) assessment. It does not
depend on an annotation-layer grant. The assessment is in one of two states:

| `status` | Meaning | Other fields |
| --- | --- | --- |
| `pending` | No assessment is stored for the Signal's current Claims. Pending says nothing about whether a WPS attribute applies. | `version` |
| `complete` | The Signal was assessed. An empty `findings` array means its Claims support no WPS attribute. | `version`, `evidence_fingerprint`, `assessed_at`, `model`, `review_model` (optional), `findings` |

A change to a Signal's Claims returns its assessment to `pending` until it is
assessed again. While it is pending, the Signal has no `wps_` attribute in
`rubric.attributes` and does not match WPS filters.

| Field | Meaning |
| --- | --- |
| `version` | WPS analysis version. Qualified filters match findings at the version `GET /api/v1/rubric` reports as `analysis_version`. |
| `evidence_fingerprint` | Hash of the Claims the assessment read. |
| `assessed_at` | Time of the assessment. |
| `model` | Identifier of the model that produced the assessment. |
| `review_model` | Identifier of the model that reviewed it. Absent when no review ran. |
| `findings[].attribute` | WPS attribute id, such as `wps_participation`. The same id appears in `rubric.attributes`. |
| `findings[].direction` | Effect on the condition the attribute describes: `improving`, `deteriorating`, `neutral`, `mixed`, or `unclear`. |
| `findings[].stage` | How far the development has progressed: `proposed`, `committed`, `implemented`, `outcome`, or `reported_condition`. |
| `findings[].rationale` | Explanation of the finding. |
| `findings[].evidence[].claim_id` | Id of a Claim in the Signal that supports the finding. |
| `findings[].evidence[].field` | Which stored text of that Claim is cited: `claim`, `context`, or `source_quote`. |
| `findings[].evidence[].quote` | The exact stored text of that field. It is a quotation from the article only when `field` is `source_quote`. |

The `analysis` object of a Signal that has not been assessed:

```json
{
  "analysis": {
    "wps": {
      "version": "wps-v1.5",
      "status": "pending"
    }
  }
}
```

A Signal can carry several findings, including more than one for the same
attribute. The `analysis` object of a Signal with one finding:

```json
{
  "analysis": {
    "wps": {
      "version": "wps-v1.5",
      "status": "complete",
      "evidence_fingerprint": "0b0f8a3c6d4e92a17c55e0f3a9d2b671",
      "assessed_at": "2026-10-20T09:40:00.000Z",
      "model": "<model identifier>",
      "findings": [
        {
          "attribute": "wps_participation",
          "direction": "improving",
          "stage": "outcome",
          "rationale": "A women's association led the meeting that agreed the reopening of the market.",
          "evidence": [
            {
              "claim_id": "5311",
              "field": "claim",
              "quote": "A women's association convened traders and local officials, who agreed to reopen the market."
            }
          ]
        }
      ]
    }
  }
}
```

### `GET /api/v1/signals/{id}`

Returns one Signal with all of its retrievable Claims, ordered by Claim `id`.
If the requested id was retired by a merge or a split, the response is the
Signal that replaced it.

| Parameter | Meaning |
| --- | --- |
| `id` | Signal UUID. A value that is not a UUID fails with `400 invalid_parameter`. |
| `include_annotations` | Has an effect for [internal keys](#internal-keys) only, as on the Signal list. |

The `signal` object has every field of a Signal in the list, plus:

| Field | Meaning |
| --- | --- |
| `signal.claims` | Every retrievable Claim in the Signal, in the [Claim shape](#get-api-v1-claims). Each Claim's `signal_id` equals `signal.id`. |
| `signal.imagery` | Attached satellite imagery. Present only when your organization has the `geospatial_v1` enrichment and the Signal has at least one attached image. |
| `resolved_from` | Present only when the requested id was retired and the response is its successor. |

Each `signal.imagery` entry:

| Field | Meaning |
| --- | --- |
| `kind` | What the image shows; see the list below. |
| `provider` | Imagery product the scene comes from. |
| `scene_id` | Provider's identifier for the scene. |
| `scene_datetime` | Time the scene was acquired. |
| `scene_cloud_cover` | Cloud cover of the whole scene as reported by the provider, as a percentage from 0 to 100, or `null`. |
| `aoi_cloud_fraction` | Share of the Signal's area covered by cloud, as a fraction from 0 to 1, or `null`. The two cloud fields use different scales. |
| `bbox` | Bounds of the image as `[west, south, east, north]`. |
| `width`, `height` | Size of the image in pixels. |
| `attribution` | Attribution that must accompany the image. |
| `caption` | Analyst-written explanation of what the image shows, or `null` when none has been written. |
| `url` | Path of the PNG. Request it with your key. |

`kind` is a lowercase identifier. Entries are ordered so that images from
before an event come first and derived maps last. The kinds with a defined
position are, in order: `pre_event`, `radar_pre_event`, `fire_day`,
`storm_day`, `post_event`, `day_after`, `radar_post_event`, `burn_map`,
`change_map`, `flood_map`, `thermal`. Other kinds can appear; they follow in
alphabetical order. Read `caption` to learn what an image shows.

The `imagery` key is absent when the enrichment is not granted and when the
Signal has no attached image.

Example response:

```json
{
  "signal": {
    "id": "28eeab9d-47f6-4a2e-bd28-cafe6ad6ca19",
    "label": "Flooding disrupts homes and water access in Far North",
    "description": "Floodwater entered homes in one community and interrupted access to its water point.",
    "country_code": "CM",
    "signal_start": "2026-10-19",
    "signal_end": "2026-10-19",
    "last_claim_at": "2026-10-20T08:45:00.000Z",
    "formed_at": "2026-10-20T09:10:00.000Z",
    "claim_count": 1,
    "source_count": 1,
    "topic": {
      "id": "18aad58a-73fb-4966-a640-626c79aa7d39",
      "label": "Far North climate and displacement"
    },
    "analysis": {
      "wps": {
        "version": "wps-v1.5",
        "status": "complete",
        "evidence_fingerprint": "6f1ed002ab5595859014ebf0951522d9",
        "assessed_at": "2026-10-20T09:40:00.000Z",
        "model": "<model identifier>",
        "findings": []
      }
    },
    "rubric": {
      "version": "v1.4",
      "categories": ["displacement", "natural_disasters", "environmental"],
      "attributes": [
        "involves_flood",
        "involves_displacement",
        "involves_water_contamination"
      ]
    },
    "annotations": {
      "glide_v1": {
        "codes": ["fl"],
        "rationale": "The Signal describes flooding that entered homes."
      },
      "iasc_v1": {
        "codes": ["wash", "shelter"],
        "rationale": "The reported impacts concern safe water and housing."
      }
    },
    "imagery": [
      {
        "kind": "post_event",
        "provider": "sentinel-2-l2a",
        "scene_id": "S2B_20261023T091029_CM",
        "scene_datetime": "2026-10-23T09:10:29.000Z",
        "scene_cloud_cover": 8.42,
        "aoi_cloud_fraction": 0.0312,
        "bbox": [14.2731, 10.5487, 14.3583, 10.6336],
        "width": 512,
        "height": 512,
        "attribution": "Contains modified Copernicus Sentinel data 2026",
        "caption": null,
        "url": "/api/v1/signals/28eeab9d-47f6-4a2e-bd28-cafe6ad6ca19/imagery/post_event.png"
      }
    ],
    "claims": [
      {
        "id": "5210",
        "claim": "Floodwater entered homes and interrupted access to a community water point.",
        "event_date": "2026-10-19",
        "occurred_on": "2026-10-19",
        "extracted_at": "2026-10-20T08:45:00.000Z",
        "country_code": "CM",
        "geo_scope": "point",
        "place_name": "Mayo Crossing",
        "place_country": "CM",
        "region_code": null,
        "lat": 10.5912,
        "lng": 14.3157,
        "signal_id": "28eeab9d-47f6-4a2e-bd28-cafe6ad6ca19",
        "article": {
          "url": "https://cameroon-observer.example/far-north-flood-update",
          "title": "Communities report flood damage in Far North",
          "published_at": "2026-10-20T07:30:00.000Z"
        },
        "source": {
          "id": "a12e699c-cfa2-4ce9-8c01-bec72963ea91",
          "name": "Cameroon Observer",
          "language": "en",
          "country_code": "CM"
        }
      }
    ]
  }
}
```

**Retired ids.** When the requested id was retired by a merge or a split, the
response carries the successor in `signal` and adds `resolved_from` beside it.
The `resolved_from` part of such a response:

```json
{
  "resolved_from": {
    "requested_id": "831ecb98-66b4-4503-b6f7-b66a7477afc0",
    "relation": "merged",
    "resolved_at_depth": 2,
    "overlap": 0.875
  }
}
```

| Field | Meaning |
| --- | --- |
| `resolved_from.requested_id` | The retired id you requested. |
| `resolved_from.relation` | `merged` or `split`: how the requested id was first replaced. |
| `resolved_from.resolved_at_depth` | Number of replacements followed to reach the returned Signal, from 1 to 10. |
| `resolved_from.overlap` | Stored overlap score of the first replacement, or `null`. |

When you receive `resolved_from`, replace the id you stored with `signal.id`.

If the id existed and following its replacements does not reach an active
Signal, the endpoint returns `410 Gone` with this body, which differs from the
usual error envelope:

```json
{
  "error": "signal_retired",
  "id": "831ecb98-66b4-4503-b6f7-b66a7477afc0",
  "relation": "dissolved",
  "last_seen": "2026-10-20T09:10:00.000Z",
  "successors": []
}
```

`relation` is `merged`, `split`, or `dissolved`. `last_seen` is omitted when
it cannot be derived. `successors` is always empty.

An id that never existed returns `404 not_found`. A Signal in a country
outside your grants returns `403 country_not_entitled`. Responses, including
the `410`, use `Cache-Control: private, max-age=60`.

### `GET /api/v1/signals/{id}/imagery/{kind}.png`

Returns one attached satellite image as a PNG. Use the `url` of an entry in
`signal.imagery` instead of building this path. Your organization needs the
`geospatial_v1` enrichment.

| Parameter | Meaning |
| --- | --- |
| `id` | Signal UUID. A value that is not a UUID fails with `400 invalid_parameter`. A retired id resolves to its successor, as on Signal detail. |
| `kind` | The `kind` of an entry in `signal.imagery`, such as `post_event`. |

The response has `Content-Type: image/png`,
`Cache-Control: private, max-age=86400`, and the required attribution in the
`X-Imagery-Attribution` header.

The endpoint returns `404 not_found` when the Signal does not exist, when it
has no attached image of that kind, and when the enrichment is not granted. A
retired id that leads to no active Signal also returns `404 not_found` here;
Signal detail returns `410 signal_retired` for the same id. A Signal in a
country outside your grants returns `403 country_not_entitled`.

### `GET /api/v1/topics`

Lists Topics. A Topic groups related Signals for browsing.

> **Topic ids are temporary.** They can change between processing runs, and
> old ids are not kept. Store Signal or Claim ids. Use filters to find the
> current Topics.

| Parameter | Meaning |
| --- | --- |
| `country` | ISO-2 country codes, in upper or lower case. Several values mean any of them. Omit it to cover every country your key can read. |
| `category` | Rubric category ids. One Signal in the Topic must have an attribute of any listed category. |
| `attribute` | Rubric attribute ids. One Signal in the Topic must have every listed attribute. A `wps_` id accepts the form `id:direction[:stage]`. |
| `attribute_any` | Rubric attribute ids. One Signal in the Topic must have at least one listed attribute. A `wps_` id accepts the form `id:direction[:stage]`. |
| `glide_v1` | GLIDE codes. One Signal in the Topic must have any listed code. |
| `acled_v1` | ACLED codes. One Signal in the Topic must have any listed code. |
| `iasc_v1` | IASC codes. One Signal in the Topic must have any listed code. |
| `iep_positive_peace_v1` | IEP Positive Peace pillars. One Signal in the Topic must have any listed pillar. A pillar accepts the form `pillar:direction`. |
| `iep_positive_peace_v1_direction` | `strengthening`, `eroding`, or `mixed`, with the same meaning as on `/signals`. |
| `geospatial_v1` | Geospatial imagery-suitability codes. One Signal in the Topic must have any listed code. |
| `undp_thematic_v1` | UNDP thematic categories. One Signal in the Topic must have any listed category. |
| `since` | Returns Topics that contain a Signal whose `signal_end` is after this bound, compared by calendar date. Defaults to `90d`. |
| `limit` | Page size. Defaults to 50; values above 500 are reduced to 500. |
| `cursor` | Cursor from `nextPage`. Omit it on the first request. |

The same Signal must satisfy every rubric filter, every annotation filter,
and `since`. Only active Signals count. See [Filters](#filters).

| Field | Meaning |
| --- | --- |
| `id` | Topic UUID. Temporary; do not store it. |
| `label` | Topic name. |
| `description` | Topic description, or `null`. |
| `country_code` | ISO-2 country the Topic belongs to. |
| `signal_count` | Number of active Signals in the Topic, of any date. It can exceed the number of Signals that `/signals?topic=<id>` lists; see below. |
| `claim_count` | Stored number of Claims the Topic represents. |
| `last_claim_at` | Ingestion time of the Topic's most recently ingested Claim, or `null`. |
| `formed_at` | Time the Topic was formed. |
| `is_fallback` | `true` for the Topic that holds Signals which fit no coherent group. |

Topics carry no `rubric`, `analysis`, or `annotations`.

To read the Signals of a Topic, request
`GET /api/v1/signals?topic=<id>&since=all`. The default 90-day window applies
to this request like any other, so without `since=all` the list holds only the
Signals with an occurrence in the last 90 days. `signal_count` counts the
Topic's active Signals whatever their date, which is why it can be larger than
the list. It also counts Signals that have no label yet, and `/signals` does
not list those.

Example response:

```json
{
  "topics": [
    {
      "id": "18aad58a-73fb-4966-a640-626c79aa7d39",
      "label": "Far North climate and displacement",
      "description": "Reporting on seasonal hazards and their effects on communities.",
      "country_code": "CM",
      "signal_count": 4,
      "claim_count": 18,
      "last_claim_at": "2026-10-20T08:45:00.000Z",
      "formed_at": "2026-10-20T09:00:00.000Z",
      "is_fallback": false
    }
  ],
  "nextPage": null,
  "pagination": {
    "limit": 50,
    "count": 1
  }
}
```

Responses use `Cache-Control: private, max-age=60`.

## Claims and Sources

### `GET /api/v1/claims`

Lists Claims with their article, Source, place, and current Signal. Claims are
ordered by `id`. See [Time windows](#time-windows),
[Pagination](#pagination), and [Search](#search) for the shared rules.

| Parameter | Meaning |
| --- | --- |
| `query` | Search text, 2 to 500 characters. Returns one relevance-ranked page. Cannot be combined with `cursor`. |
| `country` | ISO-2 country codes, in upper or lower case. Several values mean any of them. Omit it to cover every country your key can read. |
| `signal` | UUID of a Signal. Returns the Claims assigned to it. The default 90-day window still applies; add `since=all` to list every Claim of the Signal. Without it the list can be shorter than the Signal's `claim_count`, which counts Claims of any date. A value that is not a UUID fails with `400 invalid_parameter`; a UUID that matches nothing returns an empty list. |
| `since` | Returns Claims whose `occurred_on` is after this bound, compared by calendar date. Defaults to `90d` unless `since_extracted` sets a bound. |
| `since_extracted` | Returns Claims whose `extracted_at` is after this bound, compared as a timestamp. Use it for polling. |
| `limit` | Page size. Defaults to 50; values above 500 are reduced to 500. |
| `cursor` | Cursor from `nextPage`. Omit it on the first request. |

When `since` and `since_extracted` are both sent, a Claim must satisfy both.

| Field | Meaning |
| --- | --- |
| `id` | Claim id. It never changes. It is a string of digits, because the number can exceed the range JSON numbers hold exactly. |
| `claim` | The assertion extracted from the article. |
| `event_date` | Date of the event as the article states it, `YYYY-MM-DD`, or `null`. |
| `occurred_on` | Date the Claim is filed under: `event_date` when the article states one, otherwise the article's publication date. `null` when neither is known. `since` filters on this date. |
| `extracted_at` | Time the Claim was ingested. `since_extracted` filters on this time. |
| `country_code` | Country the Claim was ingested for. Access is checked against this country. |
| `geo_scope` | `point`, `country`, `region`, or `null`. |
| `place_name` | Place named in the Claim, or `null`. |
| `place_country` | ISO-2 country of that place, or `null`. |
| `region_code` | UN M49 region code for a region-scoped Claim, or `null`. |
| `lat`, `lng` | Coordinates. Present only when `geo_scope` is `point` and both are stored; otherwise both are `null`. |
| `signal_id` | UUID of the Signal the Claim is assigned to, or `null` when it has not been assigned yet. |
| `article` | `{url, title, published_at}`, or `null` when the article record is unavailable. `title` and `published_at` can each be `null`. |
| `source` | `{id, name, language, country_code}`, or `null` when the Claim has no Source record. `name`, `language`, and `country_code` can each be `null`. |

Example response:

```json
{
  "claims": [
    {
      "id": "5210",
      "claim": "Floodwater entered homes and interrupted access to a community water point.",
      "event_date": "2026-10-19",
      "occurred_on": "2026-10-19",
      "extracted_at": "2026-10-20T08:45:00.000Z",
      "country_code": "CM",
      "geo_scope": "point",
      "place_name": "Mayo Crossing",
      "place_country": "CM",
      "region_code": null,
      "lat": 10.5912,
      "lng": 14.3157,
      "signal_id": null,
      "article": {
        "url": "https://cameroon-observer.example/far-north-flood-update",
        "title": "Communities report flood damage in Far North",
        "published_at": "2026-10-20T07:30:00.000Z"
      },
      "source": {
        "id": "a12e699c-cfa2-4ce9-8c01-bec72963ea91",
        "name": "Cameroon Observer",
        "language": "en",
        "country_code": "CM"
      }
    }
  ],
  "nextPage": "https://app.livingsignals.io/api/v1/claims?limit=1&cursor=NTIxMA",
  "pagination": {
    "limit": 1,
    "count": 1
  }
}
```

A Claim has four country fields. They answer different questions:

| Field | Meaning |
| --- | --- |
| `country_code` | The country the Claim was ingested for. It controls access and can differ from where the event took place. |
| `place_country` | The country where the described event took place, when known. |
| `region_code` | The UN M49 region, for a Claim about a region, when it was resolved. |
| `source.country_code` | The country where the Source is based. It is often `null` and can differ from the other three. |

`geo_scope` states how precisely the Claim is located:

| Value | Meaning |
| --- | --- |
| `point` | The Claim is about a place. `lat` and `lng` are set when both are stored. |
| `country` | The Claim is about a country as a whole. `place_country` names it. |
| `region` | The Claim is about a region. `region_code` names it when it was resolved. |
| `null` | No precision was assigned. |

Claims with the scope `country` or `region` have no coordinates. Do not draw
them as point markers.

`event_date` is taken from the article's text and can be imprecise.
`article.title` has HTML entities decoded.

Claims that were rejected or failed during extraction are not available
through the API.

**Signal assignment.** Extraction and Signal assignment are separate steps. A
new Claim is listed as soon as it is extracted, with `signal_id: null`, and a
later processing run assigns it to a Signal. To read the assignment later,
request `GET /api/v1/claims/{id}` again.

Responses use `Cache-Control: private, max-age=30`, or `private, no-store` for
a search.

#### Polling recipe

To ingest Claims incrementally:

1. Record the current time immediately before you send a poll.
2. Request `GET /api/v1/claims?since_extracted=<time recorded before the previous poll>`.
   Send the time as an RFC 3339 timestamp such as `2026-10-20T21:30:00Z`. A
   relative value such as `24h` is counted back again on every page. Add
   `country` if you want fewer countries than your key can read.
3. Follow every non-null `nextPage` unchanged. This keeps the same filters and
   the cursor the API issued.
4. Only when `nextPage` is `null`, keep the time from step 1 as the bound for
   the next poll.

Make consecutive windows overlap slightly, and deduplicate by Claim `id`. The
overlap covers Claims ingested at the boundary, retries, and page reads that
were interrupted.

**The first poll** has no earlier time to send. To start from a point in
time, send that time as `since_extracted`. To load every Claim already in the
corpus first, read every page of `GET /api/v1/claims?since=all`, then start
polling from the time you recorded before that read. A request with neither a
bounded `since_extracted` nor `since=all` covers only the last 90 days of
occurrences.

Use `since_extracted` for polling. `since` and `occurred_on` describe when an
event happened, which can be long before the Claim was ingested, and
`occurred_on` can be `null`.

### `GET /api/v1/claims/{id}`

Returns one Claim, in the same shape as a list item, wrapped in
`{"claim": ...}`.

| Parameter | Meaning |
| --- | --- |
| `id` | Claim id. A value that is not a whole number fails with `400 invalid_parameter`. |

Example response:

```json
{
  "claim": {
    "id": "5210",
    "claim": "Floodwater entered homes and interrupted access to a community water point.",
    "event_date": "2026-10-19",
    "occurred_on": "2026-10-19",
    "extracted_at": "2026-10-20T08:45:00.000Z",
    "country_code": "CM",
    "geo_scope": "point",
    "place_name": "Mayo Crossing",
    "place_country": "CM",
    "region_code": null,
    "lat": 10.5912,
    "lng": 14.3157,
    "signal_id": "28eeab9d-47f6-4a2e-bd28-cafe6ad6ca19",
    "article": {
      "url": "https://cameroon-observer.example/far-north-flood-update",
      "title": "Communities report flood damage in Far North",
      "published_at": "2026-10-20T07:30:00.000Z"
    },
    "source": {
      "id": "a12e699c-cfa2-4ce9-8c01-bec72963ea91",
      "name": "Cameroon Observer",
      "language": "en",
      "country_code": "CM"
    }
  }
}
```

A Claim in a country outside your grants returns `403 country_not_entitled`.
An id that does not exist, or that belongs to a Claim rejected or failed
during extraction, returns `404 not_found`. Responses use
`Cache-Control: private, max-age=60`.

### `GET /api/v1/sources`

Lists active Sources and the countries they cover. Each row is one Source in
one country: a Source that covers three countries appears three times. Rows are
ordered by Source `id` and then `country_code`.

| Parameter | Meaning |
| --- | --- |
| `country` | ISO-2 country codes, in upper or lower case. Several values mean any of them. Omit it to cover every country your key can read. |
| `language` | Two- or three-letter language codes, in upper or lower case. Several values mean any of them. Any other value fails with `400 invalid_parameter`. |
| `limit` | Page size. Defaults to 100; values above 500 are reduced to 500. |
| `cursor` | Cursor from `nextPage`. Omit it on the first request. |

`country` and `language` combine with AND.

| Field | Meaning |
| --- | --- |
| `id` | Source UUID. The same id appears as `source.id` on Claims. |
| `name` | Source name. |
| `url` | Source URL. |
| `domain` | Host name of `url` in lower case, without a leading `www.`; `null` when the URL cannot be parsed. |
| `language` | Two- or three-letter language code, or `null`. |
| `country_code` | The country this row covers. It is not necessarily where the Source is based. |
| `type` | Kind of outlet, or `null`; see below. |
| `claim_count_30d` | Number of Claim records ingested from this Source for this country in the previous 30 days. It includes records that were rejected or failed during extraction, so it can exceed the number of Claims `/claims` returns. It does not affect the order of rows. |

Example response:

```json
{
  "sources": [
    {
      "id": "a12e699c-cfa2-4ce9-8c01-bec72963ea91",
      "name": "Cameroon Observer",
      "url": "https://cameroon-observer.example",
      "domain": "cameroon-observer.example",
      "language": "en",
      "country_code": "CM",
      "type": "newspaper_independent",
      "claim_count_30d": 143
    }
  ],
  "nextPage": null,
  "pagination": {
    "limit": 100,
    "count": 1
  }
}
```

`type` is a free-text label. The values assigned when a Source is reviewed are
`newspaper_state`, `newspaper_independent`, `broadcaster`, `news_aggregator`,
`blog`, `wire`, `radio`, `magazine`, and `gov_official`. Other strings can
appear. Keep a value you do not recognize as it is.

Responses use `Cache-Control: private, max-age=300`.

## Errors and limits

### Errors

Errors use one envelope:

```json
{
  "error": {
    "code": "invalid_parameter",
    "message": "Unknown rubric category \"climate\". See GET /api/v1/rubric for valid category ids."
  }
}
```

Branch on `code`. `message` is written for a person and names the value at
fault.

| HTTP | Code | Meaning |
| --- | --- | --- |
| 400 | `invalid_parameter` | A value is malformed, an id or code is not in its vocabulary, or the parameter is not supported by this endpoint. |
| 400 | `invalid_cursor` | The cursor is empty, malformed, or belongs to a different kind of list. |
| 401 | `missing_credentials` | The request has neither an `Authorization: Bearer` header nor an `X-API-Key` header. |
| 401 | `invalid_credentials` | The key is not recognized. |
| 403 | `key_revoked` | The key has been revoked. |
| 403 | `key_expired` | The key has expired. |
| 403 | `customer_inactive` | The organization's access is not active. |
| 403 | `country_not_entitled` | A requested country, or the country of a requested Signal or Claim, is outside the key's grants. |
| 403 | `annotation_layer_not_entitled` | A filter names an annotation layer that is not granted to the key. |
| 404 | `not_found` | The path, or the Signal, Claim, or image requested, does not exist. |
| 405 | `method_not_allowed` | The path exists and the method is not `GET` or `OPTIONS`. |
| 410 | `signal_retired` | The Signal id existed and following its replacements does not reach an active Signal. |
| 429 | `rate_limit_exceeded` | The key sent too many requests. Wait for the number of seconds in `Retry-After`. |
| 500 | `internal_error` | An unexpected error on the server. |
| 503 | `auth_unavailable` | The key could not be checked because a backing service was unreachable. Retry. |
| 503 | `release_in_progress` | A rubric update is being applied across all countries. Retry after the number of seconds in `Retry-After`. |

`410 signal_retired` is the one error with a different body. It is described
under [`GET /api/v1/signals/{id}`](#get-api-v1-signals-id).

### Rate limits

Requests are limited per key, over a sliding window of one minute. The default
limit is 240 requests per minute. Read the limit that applies to you from the
response headers:

| Header | Meaning |
| --- | --- |
| `X-RateLimit-Limit` | Requests allowed per window. |
| `X-RateLimit-Remaining` | Requests left in the current window. |
| `X-RateLimit-Reset` | Seconds until the window frees a request. This is a duration, and it is not a clock time. |

A response to a request with a valid key carries these headers, including an
error response that an endpoint produces, such as `400`, `404`, or
`403 country_not_entitled`. Four kinds of response do not carry them:
responses from the public endpoints, `401` responses, `403` responses about
the key itself (`key_revoked`, `key_expired`, `customer_inactive`), and `503`
responses.

Over the limit, the API returns `429 rate_limit_exceeded` with a
`Retry-After` header in seconds. Requests that the same key makes to the MCP
server count toward the same limit.

### What each request logs

For every request that carries a valid key, Living Signals records one usage
entry with:

- the organization and, for a customer key, the id of the API key;
- the path;
- the query parameters that are codes, ids, dates, limits or cursors, as sent.
  The text of a `query` search is not stored: the entry holds its length in
  characters under `query_chars`. A parameter the API does not define is
  recorded by its length too;
- the size of the response in bytes;
- how long the request took;
- the outcome (`ok`, `error`, or `scope_denied` for a `403`) and, for a
  failure, a short error text such as `HTTP 404`;
- the time of the request.

The key itself and the response body are not stored in the entry. A request
refused by the rate limit is recorded as well. Each request with a valid key
also updates that key's last-used time, which the Access page shows.

A request that fails authentication is recorded too, with no organization and
no key: the path, the query parameters reduced in the same way, the duration,
and the error code.
Requests to the four public endpoints are not recorded.

The Living Signals team reads these entries on its internal usage pages.

When the search services are configured for the server, a `query` search
(see [Search](#search)) sends text to two outside services. The query text goes to a
service that computes its embedding. The query and the text of candidate
results (Signal labels and descriptions, and Claim text, context and place
names) go to a service that ranks them. Neither request carries your key, your
organization, or annotations.

### Parameter validation

| Input | Result |
| --- | --- |
| A supported parameter with a malformed value | `400 invalid_parameter`. |
| A parameter that another endpoint supports and this one does not | `400 invalid_parameter`, with a pointer to `GET /api/v1`. |
| A parameter removed from an earlier version of the API | `400 invalid_parameter`, naming its replacement. See [Changes from the previous contract](#changes-from-the-previous-contract). |
| A parameter name the API has never used | Ignored. |

`GET /api/v1/docs` and `GET /api/v1/openapi.json` return fixed documents and
ignore every query parameter.

The API normalizes input in three ways. Country codes are trimmed and
upper-cased. Language codes are trimmed and lower-cased. A value repeated
within one parameter is used once.

### Methods and unknown paths

Every endpoint answers `OPTIONS` with `204` and `Allow: GET, OPTIONS`, with or
without a key. `POST`, `PUT`, `PATCH`, and `DELETE` return
`405 method_not_allowed` with the same `Allow` header. A path that does not
exist returns `404 not_found` in the error envelope.

On an endpoint that needs a key, the key is checked before the method and the
path. Without a valid key, a `POST` or a request to a path that does not exist
returns `401`.

## Discovery and reference documents

### `GET /api/v1`

Returns a JSON summary of the API for programs and AI agents: the core
concepts, a suggested first five requests, the authentication and pagination
rules, and every endpoint with its parameters. The endpoint is public.

| Parameter | Meaning |
| --- | --- |
| None | |

| Field | Meaning |
| --- | --- |
| `name`, `version` | API name and version. |
| `model` | The core concepts, in three sentences. |
| `getting_started` | Five requests, in order, each with its `purpose`. |
| `documentation`, `documentation_html`, `openapi`, `reference` | Paths of this reference as Markdown and as a page, of the OpenAPI document, and of the browsable reference. |
| `documentation_note` | The same paths in one sentence, with the path of the MCP reference. |
| `auth` | Accepted headers, an example header, where keys are managed, and the entitlement rules. |
| `rate_limit` | The default limit and the headers that report it. |
| `validation` | How parameters, vocabularies, paths, and methods are validated. |
| `pagination` | How to follow `nextPage`. |
| `endpoints` | One entry per endpoint, with `description`, `auth`, and `params`. |

An excerpt of the response:

```json
{
  "name": "Living Signals REST API",
  "version": "v1",
  "getting_started": [
    {
      "step": 1,
      "request": "GET /api/v1/countries",
      "purpose": "Discover your country access, data coverage, and annotation layers."
    }
  ],
  "documentation": "/api/v1/docs",
  "documentation_html": "/docs",
  "openapi": "/api/v1/openapi.json",
  "reference": "/reference",
  "endpoints": {
    "GET /api/v1/claims/{id}": {
      "description": "One extracted Claim.",
      "auth": "API key",
      "params": {
        "id": "Numeric Claim id."
      }
    }
  }
}
```

Responses use `Cache-Control: public, max-age=3600`.

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

Return this reference as Markdown and the OpenAPI 3.1 document. Both are
public and ignore query parameters.

| Parameter | Meaning |
| --- | --- |
| None | |

| Endpoint | Content type | Content |
| --- | --- | --- |
| `GET /api/v1/docs` | `text/markdown; charset=utf-8` | This reference. |
| `GET /api/v1/openapi.json` | JSON | Every endpoint with its parameters, response schemas, and error responses. |

The [browsable endpoint reference](/reference) is drawn from the OpenAPI
document. Responses use `Cache-Control: public, max-age=3600`.

## Signal lifecycle and id stability

Claim ids never change.

Signal ids are durable references. Signals can merge and split between
processing runs. A Signal that continues keeps its id, and the ids that do not
continue are retired. `GET /api/v1/signals/{id}` follows a retired id to the
active Signal that replaced it and returns that Signal with `resolved_from`.
At each step it follows one replacement, the primary one: when several Signals
replaced one, that is the one with the highest stored overlap, and then the
most recent. It follows up to 10 replacements in a row.

Only `GET /api/v1/signals/{id}` and the imagery endpoint follow a retired id.
The `signal` filter on `/claims` matches the id you send exactly.

The Claims in a response always belong to the Signal that is returned. The API
does not combine Claims from earlier ids. When `resolved_from` appears, store
`signal.id` in place of the id you requested.

When an id existed and following its primary replacements does not reach an
active Signal, the endpoint returns `410 signal_retired`. This can happen while
a Signal that took a smaller share of its Claims is still active. An id that
never existed returns `404 not_found`.

A Signal can move to a different Topic without receiving a new Claim. Treat
`signal.topic` as where the Signal is filed today.

**Keeping a copy in sync.** Signals have no `updated_at` field and no
parameter that returns only changed Signals. Polling Claims shows new Claims;
it does not show a changed label, a merge, a new annotation, or a move to
another Topic. To keep a full copy current, also read every page of
`GET /api/v1/signals?since=all` on a schedule and replace what you hold. Add
`country` to read one country at a time.

**Claims under a Topic.** List the Topic's Signals with
`GET /api/v1/signals?topic=<id>&since=all`, then read each Signal's Claims
from `GET /api/v1/signals/{id}`, which returns all of them whatever their
date.

## Appendix: rubric vocabulary

The rubric gives each Signal a set of attributes. An attribute is either true
for a Signal or absent. A category groups attributes, and a Signal belongs to
a category when any attribute in it is true.

Use the ids below in `category`, `attribute`, and `attribute_any`. The same
ids appear on Signals in `rubric.categories` and `rubric.attributes`.
`GET /api/v1/rubric` returns this vocabulary as JSON and needs no key.

The tables below are written from the same code that serves
`GET /api/v1/rubric`.

<!-- generated:rubric:start (written from the API's own vocabulary; do not edit by hand) -->

Rubric version `v1.4` has 11 categories and 104 attributes. 52 attributes belong to a category and 52 do not.

| Category id | Label | Attributes |
| --- | --- | --- |
| [`violence_harm`](#violence-harm-violence-and-harm) | Violence & Harm | 8 |
| [`conflict_intensity`](#conflict-intensity-conflict-and-unrest) | Conflict & Unrest | 5 |
| [`displacement`](#displacement-displacement-and-migration) | Displacement & Migration | 2 |
| [`natural_disasters`](#natural-disasters-natural-disasters) | Natural Disasters | 5 |
| [`health_humanitarian`](#health-humanitarian-health-and-humanitarian) | Health & Humanitarian | 2 |
| [`environmental`](#environmental-environmental) | Environmental | 4 |
| [`actors`](#actors-actors-involved) | Actors Involved | 4 |
| [`affected_populations`](#affected-populations-affected-populations) | Affected Populations | 3 |
| [`women_peace_security`](#women-peace-security-women-peace-and-security) | Women, Peace & Security | 11 |
| [`structural`](#structural-social-harms) | Social Harms | 4 |
| [`positive_signals`](#positive-signals-peace-justice-and-reform) | Peace, Justice & Reform | 4 |

#### `violence_harm` — Violence & Harm

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_death` | Deaths/Fatalities | Any mention of people dying, being killed, fatalities, death toll |
| `involves_physical_injury` | Injuries | Wounds, injuries, hospitalizations due to physical harm |
| `involves_sexual_violence` | Sexual Violence | Rape, sexual assault, gender-based violence of a sexual nature |
| `involves_domestic_violence` | Domestic Violence | Violence within households, intimate partner abuse, family violence |
| `involves_kidnapping` | Kidnapping | Abductions, kidnapping for ransom, hostage situations |
| `involves_detention_arrest` | Detention/Arrest | People being arrested, detained, imprisoned, held in custody |
| `involves_property_destruction` | Property Destruction | Buildings destroyed, infrastructure damaged, property burned |
| `civilians_directly_targeted` | Civilians Targeted | Deliberate targeting of civilian population, intentional civilian harm |

#### `conflict_intensity` — Conflict & Unrest

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_tensions_unrest` | Tensions/Unrest | Social tensions, friction, disputes, contestation, inter-communal hostility, stigmatization |
| `involves_protest_demonstration` | Protests | Protests, rallies, strikes, civil disobedience, demonstrations |
| `involves_low_intensity_violence` | Skirmishes | Skirmishes, clashes, scuffles, petty violence, isolated violent incidents |
| `involves_firearms` | Firearms Used | Guns, shooting, small arms, gunfire, armed attack |
| `involves_explosives` | Explosives/IEDs | Bombs, bombings, IEDs, explosions, grenades, mines |

#### `displacement` — Displacement & Migration

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_displacement` | Displacement | Refugees, IDPs, evacuations, people fleeing, forced relocation |
| `affects_displaced_persons` | Affects Refugees/IDPs | Impacts on refugee camps, IDP settlements, displaced populations |

#### `natural_disasters` — Natural Disasters

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_flood` | Flooding | Floods, flash floods, river overflow, inundation |
| `involves_drought` | Drought | Drought, water scarcity, dry conditions, failed rains |
| `involves_storm` | Storms | Hurricane, cyclone, monsoon, sandstorm, dust storm (haboob), severe weather |
| `involves_earthquake_geological` | Earthquakes | Earthquakes, landslides, volcanic activity, geological hazards |
| `involves_wildfire` | Wildfires | Wildfires, bush fires, scorched earth, fire damage, burning |

#### `health_humanitarian` — Health & Humanitarian

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_disease_outbreak` | Disease Outbreak | Epidemic, outbreak, disease spread, public health emergency |
| `involves_humanitarian_response` | Aid Response | Aid delivery, relief operations, humanitarian access, emergency response |

#### `environmental` — Environmental

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_environmental_damage` | Environmental Damage | General environmental harm, ecosystem damage; proposals, reviews, or risk of future damage do not qualify — damage must have occurred |
| `involves_deforestation` | Deforestation | Forest loss, illegal logging, timber extraction, clearing, burning of forests |
| `involves_water_contamination` | Contamination/Pollution | Water pollution, leaching, compromised water supply, river/groundwater contamination |
| `involves_extractive_industry` | Extractive Industry | Mining (gold, uranium, bauxite, copper), oil/gas extraction, open-pit operations |

#### `actors` — Actors Involved

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_state_military` | State Military | National army, military personnel, defense forces acting |
| `involves_state_police` | Police/Security | Police, gendarmerie, security forces, law enforcement |
| `involves_non_state_armed_group` | Armed Groups | Rebels, militias, insurgents, separatists, armed opposition |
| `involves_criminal_actors` | Criminal Actors | Gangs, cartels, bandits, kidnappers, criminal networks |

#### `affected_populations` — Affected Populations

| Attribute id | Label | Definition |
| --- | --- | --- |
| `affects_women_girls` | Women & Girls | Gender-specific impacts, women/girls as targets or disproportionately affected |
| `affects_children` | Children | Children as victims, child-specific impacts, minors affected; 'youth' or 'young people' alone does not establish minors |
| `affects_marginalized_community` | Marginalized Groups | Indigenous peoples, minorities, economically marginalized, disabled persons |

#### `women_peace_security` — Women, Peace & Security

Analysis version `wps-v1.5`. Directions: `improving`, `deteriorating`, `neutral`, `mixed`, `unclear`. Stages: `proposed`, `committed`, `implemented`, `outcome`, `reported_condition`.

| Attribute id | Label | Group |
| --- | --- | --- |
| `wps_physical_violence` | Physical violence | Gender-based violence (physical/direct) |
| `wps_verbal_violence` | Verbal/speech-based violence | Gender-based violence (physical/direct) |
| `wps_sexual_violence` | Sexual violence | Gender-based violence (physical/direct) |
| `wps_infrastructural_harm` | Infrastructural | Harms impacting women |
| `wps_environmental_harm` | Environmental | Harms impacting women |
| `wps_social_harm` | Social | Harms impacting women |
| `wps_division_of_labor` | Gender/sexual division of labor | Gender-based economic security |
| `wps_economic_violence` | Gender/sexual direct economic violence | Gender-based economic security |
| `wps_resource_access` | Gender-based financial and resource access | Gender-based economic security |
| `wps_policy_action` | Gender-based policies/political action | Gender-based political security |
| `wps_participation` | Women’s participation & representation | Gender-based political security |

Each definition in this category is several sentences long. Read it in `attributes[].description` from `GET /api/v1/rubric`.

#### `structural` — Social Harms

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_discrimination` | Discrimination | Racism, ethnic discrimination, religious discrimination, gender discrimination, second-class treatment; political persecution or detention alone does not qualify unless unequal treatment of a group is described |
| `involves_marginalization` | Marginalization | Social exclusion, disenfranchisement, being pushed to margins, lack of political voice |
| `involves_dispossession` | Dispossession | Land grabbing, resource dispossession, eviction, loss of ancestral lands |
| `involves_chronic_deprivation` | Chronic Deprivation | Long-term poverty, persistent deprivation, structural inequality, chronic underdevelopment |

#### `positive_signals` — Peace, Justice & Reform

| Attribute id | Label | Definition |
| --- | --- | --- |
| `involves_peace_process` | Peace Process | Peace talks, negotiations, ceasefires, peace agreements, diplomatic resolution |
| `involves_mediation_dialogue` | Mediation/Dialogue | Mediation, community dialogue, reconciliation efforts, traditional conflict resolution |
| `involves_accountability_justice` | Justice Mechanism | Trials, truth commissions, investigations, prosecutions, transitional justice |
| `involves_policy_reform` | Institutional Change | Legislation passed, policy adopted, regulatory reform, institutional change, governance improvement; announcements, agendas, proposals, and calls for reform do not qualify — the change must be enacted |

#### Attributes without a category

| Attribute id | Section | Definition |
| --- | --- | --- |
| `involves_harassment_abuse` | `harm_type` | Harassment, threats, intimidation, psychological abuse, coercive control, exploitation; must be affirmatively described — do not infer it from detention, protest, or poor conditions alone |
| `involves_harmful_traditional_practice` | `harm_type` | FGM/C, forced/child marriage, honor-based violence, widow inheritance |
| `involves_forced_immobility` | `harm_type` | Trapped populations, movement restrictions, inability to evacuate, siege conditions |
| `involves_looting_theft` | `harm_type` | Looting, armed robbery, highway robbery, theft, pillaging |
| `involves_economic_loss` | `harm_type` | Business closures, job losses, crop failures, financial losses, fiscal crisis |
| `involves_service_disruption` | `harm_type` | Power outages, water supply cut, healthcare unavailable, schools closed; rights restrictions or bans do not qualify unless a concrete service actually stops |
| `involves_reproductive_health` | `harm_type` | Maternal mortality, reproductive health access, pregnancy complications, family planning barriers |
| `involves_psychological_trauma` | `harm_type` | Trauma, hopelessness, fear, despair, mental health crisis, loneliness epidemic |
| `involves_air_pollution` | `harm_type` | Air quality issues, toxic fumes, emissions, smog, respiratory hazards |
| `involves_soil_contamination` | `harm_type` | Heavy metals, toxic waste, soil poisoning, desertification, erosion |
| `involves_biodiversity_loss` | `harm_type` | Species loss, wildlife deaths, endangered species impacts, ecosystem collapse, bushmeat hunting |
| `involves_extreme_temperature` | `harm_type` | Heat wave, extreme cold, temperature-related deaths or impacts |
| `involves_arson` | `harm_type` | Arson, deliberate burning of buildings/property, fire as weapon |
| `involves_crop_failure` | `harm_type` | Failed harvests, crop destruction, agricultural damage, farm losses |
| `involves_livestock_loss` | `harm_type` | Animal deaths, livestock disease, cattle raiding, herder losses |
| `involves_market_disruption` | `harm_type` | Market closures, supply shortages, price spikes, food scarcity |
| `involves_terrorist_designation` | `actors` | Groups explicitly labeled as terrorist by governments or international bodies |
| `involves_civilian_perpetrators` | `actors` | Mob violence, individual attackers, community violence |
| `involves_foreign_actors` | `actors` | Foreign governments, international forces, cross-border actors |
| `involves_corporate_actors` | `actors` | Companies, extractive industries, private contractors |
| `involves_conservation_actors` | `actors` | Eco-guards, park rangers, conservation officers, environmental police |
| `involves_poachers_illegal_extractors` | `actors` | Poachers, illegal loggers, artisanal/illegal miners, smugglers of natural resources |
| `involves_traditional_authorities` | `actors` | Chiefs, traditional councils, customary leaders, elders |
| `involves_civil_society` | `actors` | NGOs, community organizations, advocacy groups, humanitarian organizations; an organization must be involved — a named individual acting alone (an advocate, lawyer, or public figure) does not qualify |
| `involves_international_organizations` | `actors` | UN agencies, international NGOs, peacekeepers, international monitors; the organization itself must be involved — bilateral action by a single foreign government does not qualify |
| `affects_general_population` | `affected_population` | Broad impact not targeting specific demographics; requires an actual population-wide effect — do not use as a default when no specific group is named, and events affecting only participants, officials, or an institution do not qualify |
| `affects_specific_ethnic_group` | `affected_population` | Ethnic targeting, inter-ethnic violence, ethnic minorities affected |
| `affects_specific_religious_group` | `affected_population` | Religious targeting, sectarian violence, religious minorities affected |
| `affects_elderly` | `affected_population` | Elderly/aged as victims or disproportionately affected |
| `affects_journalists_activists` | `affected_population` | Press freedom, civil society targeting, activist persecution |
| `affects_healthcare_workers` | `affected_population` | Attacks on health workers, hospitals targeted, medical staff affected; aid or humanitarian workers do not qualify unless identified as medical staff |
| `cause_natural` | `causation` | Weather, geological events, natural disasters, disease (natural origin) |
| `cause_intentional_human` | `causation` | Deliberate attack, planned action, intentional harm |
| `cause_unintentional_human` | `causation` | Accidents, negligence, unintended consequences, human error |
| `cause_institutional_systemic` | `causation` | Policy failures, structural issues, systemic neglect, institutional causes |
| `cause_infrastructure_failure` | `causation` | Road collapse, dam failure, building collapse, utility failure |
| `affects_healthcare_system` | `sector` | Hospitals, clinics, health services, medical supplies, healthcare access |
| `affects_education_system` | `sector` | Schools closed, education disrupted, students affected; material changes to education access or operations qualify — a routine donation, ceremony, or event does not |
| `affects_water_sanitation` | `sector` | Water access, clean water, sanitation systems, WASH |
| `affects_food_security` | `sector` | Food access, agriculture, food prices, hunger, nutrition |
| `affects_shelter_housing` | `sector` | Homelessness, housing destruction, shelter needs |
| `affects_transportation` | `sector` | Roads, bridges, airports, transit systems, mobility |
| `affects_communications` | `sector` | Internet, phones, media, communications blackouts |
| `affects_livelihoods` | `sector` | Jobs, businesses, economic activities, income sources |
| `affects_governance` | `sector` | Elections, government function, political institutions, rule of law |
| `involves_bureaucratic_delay` | `causation` | Administrative delays, permit denials, bureaucratic obstruction, slow response |
| `involves_reintegration` | `sector` | DDR programs, ex-combatant reintegration, refugee return, community reintegration |
| `involves_community_resilience` | `sector` | Local coping strategies, community-led response, self-organization, mutual aid |
| `official_source_cited` | `verification` | Government statements, official reports, institutional data; NGO or civil-society monitoring groups are not official sources |
| `multiple_sources_mentioned` | `verification` | Corroboration from multiple sources mentioned in the content |
| `firsthand_account` | `verification` | Direct witness testimony, on-the-ground reports, first-person accounts |
| `numbers_explicitly_estimated` | `verification` | Numbers qualified as estimates, approximations, or uncertain |

<!-- generated:rubric:end -->

## Appendix: annotation layers

An annotation layer classifies Signals against a vocabulary other than the
rubric. Each layer is granted separately, and annotations appear only on
Signals.

On a Signal, `annotations` is keyed by layer id:

```json
{
  "annotations": {
    "glide_v1": {
      "codes": ["fl"],
      "rationale": "The Signal describes flooding that entered homes."
    },
    "iep_positive_peace_v1": {
      "codes": ["low_levels_of_corruption"],
      "directions": { "low_levels_of_corruption": "eroding" },
      "rationale": "The Signal reports that officials diverted funds meant for a public works contract."
    }
  }
}
```

| Field | Meaning |
| --- | --- |
| `codes` | Codes assigned to the Signal from the layer. An empty array means the Signal was graded and no code applies. |
| `rationale` | Explanation of the assignment. |
| `directions` | For each assigned code, which way the evidence points. Present only on layers that record directions, and only when at least one code is assigned. |

Whether a layer key is present tells you the state of that layer for the
Signal:

| Layer granted to your key? | On the Signal | Meaning |
| --- | --- | --- |
| Yes | Layer key with one or more `codes` | Graded. The listed codes apply. |
| Yes | Layer key with `codes: []` | Graded. No code applies. |
| Yes | Layer key absent | Not graded yet. Treat it as pending. |
| No | Layer key absent | The layer is not granted, so nothing is shown. |

When no granted layer has a stored annotation for a Signal, the `annotations`
key itself is absent.

**Directions.** On `iep_positive_peace_v1`, a code names a condition a Signal
is about. It does not say whether that condition is being met: a
prosecution for corruption and an embezzlement scandal both carry
`low_levels_of_corruption`. Read the code together with its direction:

| Direction | Meaning |
| --- | --- |
| `strengthening` | The Signal shows the condition being built up, improved, or upheld. |
| `eroding` | The Signal shows the condition being weakened, damaged, or failing. |
| `mixed` | The Signal shows both, or the evidence does not point either way. |

A direction reports what the evidence shows has happened. It does not report
what a plan or a promise intends.

**What `iep_positive_peace_v1` covers.** The layer uses the 8 pillar names of
the Positive Peace framework and records which condition a Signal is about.
Violent events, natural hazards, and their humanitarian effects have no pillar
and are graded with an empty `codes` array; `glide_v1` and `acled_v1` classify
those. The meanings listed for the pillars are written by Living Signals for
classifying news. No index values or other data from the framework's
publisher are served by this API.

**What `geospatial_v1` covers.** The layer records whether a Signal describes
physical effects that have already happened and that an optical satellite
image at 10 metres per pixel could show. It is separate from the
`geospatial_v1` enrichment, which controls access to the images.

**What `undp_thematic_v1` covers.** The layer records which area of a
country's situation a Signal is about, using fifteen thematic categories from
the UNDP Crisis Bureau: macroeconomy, prices, production, energy,
infrastructure, food, health, population, social conditions, education,
governance, civic space, external relations, security, and environment. The
names and meanings are UNDP's. It reaches economic and public-service
reporting that `glide_v1`, `acled_v1` and `iasc_v1` leave without a code.

A Signal carries at most two categories, and `codes[0]` is its main one. Count
Signals by `codes[0]` for totals that add up; the query parameter matches a
category in either position. Ceremonies, anniversaries, honours, obituaries,
retold history, sport, and arts and culture carry none; almost every other
Signal carries one.

The categories overlap, so the layer applies fixed rules. A Signal is
classified by what it is about, not by who acts or who is blamed: a government
programme about a sector belongs to that sector, and a specific law or decree
carries its sector first and `political_institutions_governance` second. A
domestic condition blamed on sanctions stays in its domestic category, while
statements about the sanctions themselves are `geopolitics_external_relations`,
as is every dealing with a foreign state, official or international body, and
military exercises and defence readiness.
A shortage belongs to the thing that is short. When an outage is reported for
its effect on another service, that service comes first and `energy_fuel`
second.

The layer is graded for Cuba (`CU`) only. Signals in other countries carry no
`undp_thematic_v1` annotation, and filtering them by this layer returns
nothing.

The layer id carries a suffix such as `_v1`. The layer's `version` is a
separate value and changes when the vocabulary or the grading rules change,
so a layer whose id ends in `_v1` can be at a later version. The table below
gives each layer's version. Read codes from `GET /api/v1/annotation-layers`
instead of assuming that two versions share them.

`GET /api/v1/annotation-layers` returns the layers granted to your key. The
tables below list every layer and code, and are written from the same code
that serves that endpoint.

<!-- generated:annotation-layers:start (written from the API's own vocabulary; do not edit by hand) -->

| Layer id | Name | Version | Maintained by | Codes | Directions |
| --- | --- | --- | --- | --- | --- |
| [`glide_v1`](#glide-v1-codes) | GLIDE disaster event types | `1` | [GLIDE](https://glidenumber.net) (GLobal IDEntifier number) | 25 | None |
| [`acled_v1`](#acled-v1-codes) | ACLED conflict event types | `1` | [ACLED](https://acleddata.com) (Armed Conflict Location & Event Data Project) | 25 | None |
| [`iasc_v1`](#iasc-v1-codes) | IASC humanitarian coordination clusters | `1` | [IASC](https://interagencystandingcommittee.org/the-global-cluster-coordination-group) (Inter-Agency Standing Committee) | 11 | None |
| [`iep_positive_peace_v1`](#iep-positive-peace-v1-codes) | IEP Positive Peace pillars | `2` | [IEP](https://www.visionofhumanity.org/the-eight-pillars-of-positive-peace/) (Institute for Economics & Peace) | 8 | `strengthening`, `eroding`, `mixed` |
| [`geospatial_v1`](#geospatial-v1-codes) | Living Signals geospatial imagery suitability | `1` | [Living Signals](https://livingsignals.io) | 3 | None |
| [`undp_thematic_v1`](#undp-thematic-v1-codes) | UNDP thematic categories | `2` | [UNDP](https://www.undp.org/crisis) (United Nations Development Programme, Crisis Bureau) | 15 | None |

#### `glide_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `cw` | CW — Cold Wave | Taxonomy path: natural hazard / cold wave / cold wave. Key phrases: cold wave, cold spell, cold snap, extreme cold, freezing temperatures, severe frost, winter weather, subzero temperatures. |
| `ht` | HT — Heat Wave | Taxonomy path: natural hazard / heat wave / heat wave. Key phrases: heat wave, heatwave, extreme heat, record high temperatures, heat alert, scorching temperatures, prolonged heat, hot spell. |
| `ce` | CE — Complex Emergency | Taxonomy path: natural hazard / complex emergency / complex emergency. Key phrases: complex emergency, humanitarian crisis, multifaceted crisis, protracted crisis, breakdown of authority, conflict-driven emergency, combined shocks, compound emergency. |
| `dr` | DR — Drought | Taxonomy path: natural hazard / drought / drought. Key phrases: drought, prolonged dry spell, rainfall deficit, water scarcity, crop failure, pasture depletion, slow-onset emergency, failed rainy season. |
| `eq` | EQ — Earthquake | Taxonomy path: natural hazard / earthquake / earthquake. Key phrases: earthquake, quake, seismic event, aftershock, tremor, magnitude, epicenter, seismic activity. |
| `ep` | EP — Epidemic | Taxonomy path: epidemic / epidemic / epidemic. Key phrases: epidemic, outbreak, disease outbreak, cholera outbreak, measles outbreak, vector-borne outbreak, rapid transmission, public health emergency. |
| `ec` | EC — Extratropical Cyclone | Taxonomy path: natural hazard / extratropical cyclone / extratropical cyclone. Key phrases: extratropical cyclone, mid-latitude cyclone, temperate cyclone, deep low pressure system, winter cyclone, frontal storm, cyclonic storm, intense low. |
| `fr` | FR — Fire | Taxonomy path: natural hazard / fire / fire. Key phrases: fire, structure fire, urban fire, blaze, building fire, industrial fire, fire incident, fire outbreak. |
| `ff` | FF — Flash Flood | Taxonomy path: natural hazard / flash flood / flash flood. Key phrases: flash flood, sudden flooding, rapid-onset flood, torrential rain flooding, urban flash flood, floodwaters surged, runoff flooding, swept away by flood. |
| `fl` | FL — Flood | Taxonomy path: natural hazard / flood / flood. Key phrases: flood, flooding, river overflow, inundation, overflowing river, waterlogged areas, floodwaters, seasonal flooding. |
| `in` | IN — Insect Infestation | Taxonomy path: natural hazard / insect infestation / insect infestation. Key phrases: insect infestation, locust infestation, desert locust, pest outbreak, crop pest, armyworm, swarm infestation, agricultural pest damage. |
| `sl` | SL — Slide | Taxonomy path: natural hazard / slide / slide. Key phrases: slide, slope slide, ground slide, soil slide, earth slide, terrain movement, slope instability, mass movement. |
| `ls` | LS — Land Slide | Taxonomy path: natural hazard / land slide / land slide. Key phrases: landslide, land slide, slope failure, hillside collapse, debris slide, earth movement, terrain collapse, slope collapse. |
| `ms` | MS — Mud Slide | Taxonomy path: natural hazard / mud slide / mud slide. Key phrases: mudslide, mud slide, mudflow, debris flow, rain-triggered mudslide, slope mud collapse, mud torrent, earth and mud flow. |
| `av` | AV — Snow Avalanche | Taxonomy path: natural hazard / snow avalanche / snow avalanche. Key phrases: snow avalanche, avalanche, snowslide, snow slab release, mountain avalanche, avalanche risk, buried by avalanche, snowpack collapse. |
| `st` | ST — Severe Local Storm | Taxonomy path: natural hazard / severe local storm / severe local storm. Key phrases: severe local storm, severe storm, windstorm, thunderstorm, hailstorm, convective storm, severe weather event, storm damage. |
| `ac` | AC — Technological Disaster | Taxonomy path: technological disaster / technological disaster / technological disaster. Key phrases: technological disaster, industrial accident, chemical spill, oil spill, radiological incident, infrastructure failure, dam failure, hazmat incident. |
| `to` | TO — Tornado | Taxonomy path: natural hazard / tornado / tornado. Key phrases: tornado, twister, funnel cloud, tornadic storm, tornado touchdown, violent vortex, ef scale, storm tornado. |
| `tc` | TC — Tropical Cyclone | Taxonomy path: natural hazard / tropical cyclone / tropical cyclone. Key phrases: tropical cyclone, cyclone, hurricane, typhoon, cyclonic storm, landfall, eye of the storm, tropical storm. |
| `ss` | SS — Storm Surge | Taxonomy path: natural hazard / storm surge / storm surge. Key phrases: storm surge, coastal surge, sea surge, coastal inundation, cyclone surge, surge flooding, high storm tide, seawater intrusion. |
| `ts` | TS — Tsunami | Taxonomy path: natural hazard / tsunami / tsunami. Key phrases: tsunami, seismic sea wave, tidal wave, tsunami warning, coastal wave surge, run-up, tsunami alert, wave inundation. |
| `vo` | VO — Volcano | Taxonomy path: natural hazard / volcano / volcano. Key phrases: volcano, volcanic eruption, ash plume, lava flow, pyroclastic flow, volcanic activity, eruption alert, tephra fall. |
| `wf` | WF — Wild Fire | Taxonomy path: natural hazard / wild fire / wild fire. Key phrases: wildfire, wild fire, forest fire, bushfire, vegetation fire, grassfire, fire front, out-of-control fire. |
| `vw` | VW — Violent Wind | Taxonomy path: natural hazard / violent wind / violent wind. Key phrases: violent wind, damaging winds, high winds, strong gusts, wind damage, gale-force winds, destructive windstorm, severe wind event. |
| `ot` | OT — Other | Taxonomy path: natural hazard / other / other. Key phrases: incident reported, humanitarian situation, emergency situation, security incident, unclassified event. |

#### `acled_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `armed_clash` | Armed clash | Battles / Armed clash |
| `government_regains_territory` | Government regains territory | Battles / Government regains territory |
| `non_state_actor_overtakes_territory` | Non-state actor overtakes territory | Battles / Non-state actor overtakes territory |
| `chemical_weapon` | Chemical weapon | Explosions/Remote violence / Chemical weapon |
| `air_or_drone_strike` | Air/drone strike | Explosions/Remote violence / Air/drone strike |
| `suicide_bomb` | Suicide bomb | Explosions/Remote violence / Suicide bomb |
| `shelling_artillery_missile` | Shelling/artillery/missile attack | Explosions/Remote violence / Shelling/artillery/missile attack |
| `remote_explosive_landmine_ied` | Remote explosive/landmine/IED | Explosions/Remote violence / Remote explosive/landmine/IED |
| `grenade` | Grenade | Explosions/Remote violence / Grenade |
| `sexual_violence` | Sexual violence | Violence against civilians / Sexual violence |
| `attack` | Attack | Violence against civilians / Attack |
| `abduction_forced_disappearance` | Abduction/forced disappearance | Violence against civilians / Abduction/forced disappearance |
| `peaceful_protest` | Peaceful protest | Protests / Peaceful protest |
| `protest_with_intervention` | Protest with intervention | Protests / Protest with intervention |
| `excessive_force_against_protesters` | Excessive force against protesters | Protests / Excessive force against protesters |
| `violent_demonstration` | Violent demonstration | Riots / Violent demonstration |
| `mob_violence` | Mob violence | Riots / Mob violence |
| `agreement` | Agreement | Strategic developments / Agreement |
| `arrests` | Arrests | Strategic developments / Arrests |
| `change_to_group_or_activity` | Change to group/activity | Strategic developments / Change to group/activity |
| `disrupted_weapons_use` | Disrupted weapons use | Strategic developments / Disrupted weapons use |
| `headquarters_or_base_established` | Headquarters or base established | Strategic developments / Headquarters or base established |
| `looting_property_destruction` | Looting/property destruction | Strategic developments / Looting/property destruction |
| `non_violent_transfer_of_territory` | Non-violent transfer of territory | Strategic developments / Non-violent transfer of territory |
| `other_strategic_development` | Other | Strategic developments / Other |

#### `iasc_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `protection` | Protection | Safety, dignity and rights of affected people; child protection, GBV response, mine action, housing/land/property, rule of law. |
| `health` | Health | Disease outbreaks, medical care, health facilities and workers, immunization, mental health. |
| `wash` | Water, Sanitation and Hygiene | Safe water access, sanitation, hygiene, disease-vector control. |
| `shelter` | Shelter and NFI | Emergency shelter, housing, and non-food relief items. |
| `food_security` | Food Security | Food access and availability, agriculture, livelihoods, market disruption to food. |
| `nutrition` | Nutrition | Malnutrition, therapeutic feeding, infant and young-child feeding. |
| `education` | Education | Access to schooling, attacks on education, learning continuity in emergencies. |
| `cccm` | Camp Coordination and Camp Management | Management of displacement sites and camps, site services and population tracking. |
| `logistics` | Logistics | Supply-chain, transport, storage, and access constraints for relief. |
| `early_recovery` | Early Recovery | Restoration of basic services, livelihoods, governance and infrastructure after crisis. |
| `emergency_telecommunications` | Emergency Telecommunications | Communications infrastructure, connectivity and data services for response; telecom/internet blackouts. |

#### `iep_positive_peace_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `well_functioning_government` | Well-Functioning Government | Delivery and quality of public services, political stability, rule of law, courts and administration, elections and legitimate transfers of power, public trust and participation in governing institutions. |
| `sound_business_environment` | Sound Business Environment | Economic conditions and the formal institutions supporting private enterprise: regulation, banking and financial institutions, business competitiveness, productive economic activity. |
| `equitable_distribution_of_resources` | Equitable Distribution of Resources | Fairness of access to health care, education and income across a population, and disputes over how public resources and services are shared between groups or regions. |
| `acceptance_of_the_rights_of_others` | Acceptance of the Rights of Others | Formal rights and freedoms and the informal norms behind them: treatment of minorities, women, migrants and marginalised groups, discrimination, group grievance, and social exclusion. |
| `good_relations_with_neighbours` | Good Relations with Neighbours | Quality of relations with other countries and between ethnic, religious and cultural groups within a country: diplomacy, cross-border cooperation and trade, intercommunal relations and reconciliation. |
| `free_flow_of_information` | Free Flow of Information | Independence and reach of media, press freedom and the treatment of journalists, censorship, internet and telecommunications access, disinformation, and public access to reliable information. |
| `high_levels_of_human_capital` | High Levels of Human Capital | A population's skills and capabilities: education systems and attainment, health and life expectancy, youth employment and training, research and development capacity. |
| `low_levels_of_corruption` | Low Levels of Corruption | Misuse of public office for private gain: bribery, embezzlement and public-sector theft, procurement fraud, entrenched or factionalised elites, and anti-corruption investigations and prosecutions. |

#### `geospatial_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `visible_landscape_change` | Visible landscape change | The event has already physically altered the land surface with a footprint plausibly visible in 10 m/pixel optical satellite imagery, such as flooding extent, a burn scar, a landslide, large-scale destruction, active land clearing, or a mass displacement site. Ceremonies, inaugurations, commissionings, openings, financing approvals, plans, appeals, and statements about physical things do not qualify. |
| `wide_area` | Wide area | The physically affected area spans roughly a hectare or more, such as multiple city blocks, a neighborhood, or a stretch of river or forest. A single building, compound, or vehicle does not qualify. |
| `persistent_trace` | Persistent trace | The visible trace will remain on the ground for two weeks or more, such as a scar, standing floodwater, or destroyed structures. Ephemeral effects such as smoke, crowds, or temporary closures do not qualify. |

#### `undp_thematic_v1` codes

| Code | Canonical value | Meaning |
| --- | --- | --- |
| `macroeconomy_public_finances` | Macroeconomy and Public Finances | Overall economic performance, macroeconomic stability and public financial sustainability. Includes GDP and economic growth, fiscal revenues and expenditure, budget deficits, public debt, monetary and fiscal policy, public investment, trade balances, foreign exchange reserves, sovereign financing and economic stabilization measures. |
| `prices_currency_purchasing_power` | Prices, Currency and Household Purchasing Power | Prices, availability and affordability of goods and services, currency conditions and households' effective purchasing power. Includes inflation, official and informal exchange rates, currency depreciation, price controls, shortages, real wages, pensions, cost of living, household consumption pressures and formal and informal market conditions. |
| `production_business_livelihoods` | Production, Business and Livelihoods | Economic production, enterprise activity, employment and income-generating opportunities. Includes agricultural and industrial production, tourism, state-owned and private enterprises, entrepreneurship, self-employment, business conditions, productive investment, unemployment, underemployment, informal economic activity, productivity and livelihood strategies. |
| `energy_fuel` | Energy and Fuel | Production, importation, supply, distribution, availability and reliability of electricity and fuels. Includes electricity generation and capacity, grid stability, power outages, rationing, fuel imports, petroleum and gas availability, fuel distribution, renewable energy, energy-sector infrastructure, supply-demand gaps and energy-related investments or operational changes. |
| `critical_infrastructure` | Critical Infrastructure | Availability, functioning, reliability and resilience of essential physical and digital infrastructure, excluding energy systems. Includes water, sanitation and waste (water supply, wastewater treatment, sanitation and solid-waste management); transport and logistics (roads, ports, airports, railways, public transport and freight networks); telecommunications and digital connectivity (internet, mobile networks, digital infrastructure and outages); and other essential infrastructure, maintenance, deterioration, investment and restoration. |
| `food_systems_nutrition` | Food Systems and Nutrition | Food production, supply, distribution, availability, access, consumption and nutritional outcomes. Includes agricultural and livestock production, food imports, domestic distribution, supply chains, shortages, rationing, food insecurity, dietary diversity, malnutrition and food-related assistance or adaptation measures. |
| `health_healthcare` | Health and Healthcare | Population health, health risks and the accessibility, quality and functioning of healthcare services. Includes disease outbreaks, epidemiological developments, communicable and noncommunicable diseases, mortality, morbidity, medicine and medical-supply availability, healthcare staffing, hospitals, healthcare infrastructure, service disruptions, preventive healthcare and health-system capacity. |
| `population_migration_displacement` | Population, Migration and Displacement | Population structure, demographic change and movements of people within and beyond the country. Includes population growth and decline, fertility, mortality, aging, household composition, international emigration and immigration, return migration, internal migration, displacement, disaster-related population movements, demographic pressures and migration-related policies or arrangements. |
| `social_conditions_protection_inequality` | Social Conditions, Protection and Inequality | Living standards, socioeconomic vulnerability, social protection, housing and the distribution of welfare across population groups. Includes poverty, deprivation, income inequality, social assistance, safety nets, pensions, social benefits, housing availability and quality, housing insecurity, household vulnerability, social exclusion, unequal access to essential services and socioeconomic disparities affecting vulnerable groups. |
| `education_human_capital` | Education and Human Capital | Education access, quality, continuity and the development and retention of skills and human capital. Includes school enrollment and attendance, attainment, learning outcomes, teacher availability and retention, educational facilities and resources, school closures, tertiary and vocational education, workforce skills, educational inequalities and human-capital development or loss. |
| `political_institutions_governance` | Political Institutions and Governance | Organization, functioning, decision-making, policies and actions of government and formal state institutions. Includes political leadership and appointments, institutional changes, government decisions and official policies, legislative and regulatory developments (introduction, amendment, adoption, implementation or repeal of laws, decrees and regulations), public administration, state capacity, accountability, transparency, corruption, judicial institutions, legal processes, political processes, institutional reforms and government-led initiatives or responses. |
| `public_grievances_civic_space_human_rights` | Public Grievances, Civic Space and Human Rights | Public dissatisfaction, collective demands, civic participation, mobilization, civil liberties, human rights and state–society relations. Includes grievances, protests, demonstrations, strikes, grassroots initiatives, civil-society organizations, freedom of expression, association, assembly and the press; restrictions on civic participation; censorship and surveillance; reported human rights violations; arbitrary detention; due-process concerns; discrimination; repression; and authorities' responses to dissent and civic mobilization. |
| `geopolitics_external_relations` | Geopolitics and External Relations | The country's international political relations, external strategic environment, diplomatic engagement and relationships with foreign governments and international actors. Includes bilateral and multilateral relations, sanctions and embargo-related developments, diplomatic negotiations, international agreements, foreign policy, geopolitical tensions, international cooperation and assistance, international political pressure and foreign strategic partnerships. |
| `security_crime_illicit_economies` | Security, Crime and Illicit Economies | Public security, criminal activity, violence, illicit markets and threats to individual and community safety. Includes criminal violence, homicide, organized crime, drug trafficking, human trafficking, smuggling, illicit trade, illicit financial activities, public-safety incidents, security threats and relevant policing or security operations. |
| `environment_climate_disasters` | Environment, Climate and Disasters | Environmental conditions, climate-related pressures, natural hazards, ecological systems and disaster risks or impacts. Includes hurricanes, tropical storms, floods, droughts, extreme temperatures, wildfires, earthquakes, climate variability and change, environmental degradation, deforestation, biodiversity, coastal erosion, sea-level rise, pollution, disaster exposure, damages and losses, environmental adaptation and disaster-risk reduction measures. |

<!-- generated:annotation-layers:end -->

## Internal keys

Keys that belong to Living Signals' own organizations are called internal
keys. They differ from customer keys in these ways:

| Area | Internal key behaviour |
| --- | --- |
| Countries | Can read every country. `GET /api/v1/countries` lists every country in the catalog. |
| Annotation filters | Can filter by every annotation layer. |
| Annotations in responses | Signals carry no `annotations` unless the request sends `include_annotations=true`, which includes every stored layer. |
| `annotation_layers` in `/countries` | Lists the layer ids that have stored annotations. |
| `GET /api/v1/annotation-layers` | Returns every registered layer. |
| Imagery | Signal detail includes attached imagery without an enrichment grant. |
| Rate limits | Not rate limited. Responses carry no `X-RateLimit-*` headers. |

For a customer key, `include_annotations` changes nothing: annotations always
follow the key's layer grants.

## Changes from the previous contract

> **Changed from the previous contract:** `/clusters`, the `level`, `cluster`,
> and `offset` parameters, the `stable_id`, `rubric_tags`, and
> `topic_stable_id` fields, and the `countries` and `languages` aliases are not
> part of v1. There is no compatibility layer.

Retired parameters are handled explicitly:

| Retired parameter | Replacement |
| --- | --- |
| `countries` | Use `country`, repeated or comma-separated. |
| `languages` | Use `language`, repeated or comma-separated. |
| `offset` | Follow `nextPage`. |
| `level` | Use the separate `/signals` and `/topics` endpoints. |
| `cluster` | Use `signal` on `/claims`, or the `/signals` and `/topics` endpoints. |

Sending a retired parameter returns `400 invalid_parameter` with the
replacement in the message.
