Skip to content

List people

GET /public/v1/projects/{project_slug}/articles/{article_id}/people

List canonical people mentioned in an article. Results include fields such as title and affiliation, optional linked canonical records, mention nature, and evidence spans.

Use List mentions with entity_type=person when you need a unified index across entity types. Use this route when you are building a people-focused view for one story.

Path parameters

Name Type Description
project_slug string Project slug
article_id integer Article id

Query parameters

Name Type Default Description
nature string Filter to mentions with this editorial nature (exact match), such as subject or official
quote boolean When true, return only mentions whose first evidence span is a quote
limit integer 25 Page size (1–100)
offset integer 0 Offset for pagination

Response 200

{
  "items": [
    {
      "mention_id": 42,
      "label": "Jane Doe",
      "title": "Mayor",
      "affiliation": "City Hall",
      "public_figure": true,
      "person_type": "elected_official",
      "canonical": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "slug": "jane-doe",
        "label": "Jane Doe",
        "stylebook_slug": "default"
      },
      "nature": "subject",
      "role_in_story": null,
      "evidence": {
        "mention_text": "Mayor Jane Doe announced the plan",
        "quote": true,
        "start_char": 120,
        "end_char": 128
      }
    }
  ],
  "pagination": {
    "limit": 25,
    "offset": 0,
    "total": 1
  }
}

Person fields

Field Type Description
mention_id integer Mention id
label string Display name
title string | null Job title or role when set
affiliation string | null Organization or affiliation when set
public_figure boolean Whether the person is flagged as a public figure
person_type string | null Person type when set
canonical object | null Linked canonical record (id, slug, label, stylebook_slug), when available
nature string | null Mention nature when set
role_in_story string | null Role in story when set
evidence object | null First occurrence evidence span

Evidence uses mention_text, quote, start_char, and end_char. mention_text contains quote text when available; otherwise it contains the matched mention text. quote can still be true when the occurrence is labeled as a quote but no separate quote text was stored.

Example

curl "https://api.{organization_slug}.backfield.news/public/v1/projects/general/articles/1/people?nature=subject&quote=true" \
  -H "Authorization: Bearer bfk_your_project_api_key"

Errors

Status When
401 Missing or invalid API key
403 API key not valid for this project
404 Unknown project or article