Skip to content

List organizations

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

List organizations mentioned in an article. Results include organization type, optional linked canonical records, mention nature, and evidence spans.

Use List mentions with entity_type=organization when you need a unified index across entity types. Use this route when you are building an organization-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 — Repeatable mention nature filter (OR across values), such as actor or subject
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": 18,
      "label": "City Council",
      "organization_type": "government",
      "canonical": {
        "id": "660e8400-e29b-41d4-a716-446655440002",
        "slug": "city-council",
        "label": "City Council",
        "stylebook_slug": "default"
      },
      "nature": "actor",
      "role_in_story": null,
      "evidence": {
        "mention_text": "The City Council approved the budget",
        "quote": true,
        "start_char": 0,
        "end_char": 12
      }
    }
  ],
  "pagination": {
    "limit": 25,
    "offset": 0,
    "total": 1
  }
}

Organization fields

Field Type Description
mention_id integer Mention id
label string Display name
organization_type string | null Organization 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/organizations?nature=actor&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