Skip to content

List connections

GET /public/v1/projects/{project_slug}/people/{person_id}/connections

Return Stylebook connections where the person is either the from or to endpoint. Labels are resolved from canonical records when available.

Connections describe relationships between canonical entities — for example, a person who works at a location or is affiliated with an organization.

Path parameters

Name Type Description
project_slug string Project slug
person_id string Canonical person UUID

Query parameters

Name Type Default Description
to_entity_type string Filter the entity connected to this person to person, organization, or location
nature string Repeatable connection nature filter (OR across values)
include_closed boolean false Include closed connections
limit integer 25 Page size (1–100)
offset integer 0 Offset for pagination

Response 200

{
  "items": [
    {
      "id": 1,
      "from_entity_type": "person",
      "from_entity_id": "550e8400-e29b-41d4-a716-446655440000",
      "from_label": "Jane Doe",
      "to_entity_type": "location",
      "to_entity_id": "660e8400-e29b-41d4-a716-446655440001",
      "to_label": "City Hall",
      "description": "Jane Doe works from the mayor's office at City Hall.",
      "nature": "works_at",
      "temporal_kind": "dynamic",
      "currentness": "current",
      "currentness_as_of": null,
      "closed_at": null,
      "evidence": [
        {
          "article_id": 42,
          "description": "Jane Doe works from the mayor's office at City Hall.",
          "quote": "Mayor Jane Doe said the work will begin next month.",
          "reason": null,
          "confidence": 0.91,
          "observed_at": "2024-05-14T18:15:18.425000-05:00",
          "asserted_currentness": "current"
        }
      ]
    }
  ],
  "pagination": {
    "limit": 25,
    "offset": 0,
    "total": 1
  }
}

Connections are ordered by the connected entity's label, then entity type and connection id. Despite its name, to_entity_type filters the entity on the other side of the connection regardless of stored direction.

Connection fields

Field Type Description
id integer Connection id
from_entity_type string Source entity type (e.g. person, location, organization)
from_entity_id string Source entity UUID
from_label string Resolved display label for the source
to_entity_type string Target entity type
to_entity_id string Target entity UUID
to_label string Resolved display label for the target
description string | null Human-readable description of the relationship when set
nature string | null Relationship nature when set (e.g. works_at)
temporal_kind string | null static or dynamic when the nature defines temporal behavior
currentness string | null current, former, or unknown when set
currentness_as_of string | null ISO datetime when currentness was last assessed
closed_at string | null ISO datetime when the connection was closed; omitted from default lists
evidence array Supporting article evidence rows (see below)

Evidence fields

Field Type Description
article_id integer | null Article that supports this relationship
description string | null Narrative for this evidence row
quote string | null Supporting passage when available
reason string | null Short rationale when the model supplies one
confidence number | null Confidence score when available
observed_at string | null ISO datetime for when the evidence was observed
asserted_currentness string Currentness asserted for this evidence row

Example

curl "https://api.{organization_slug}.backfield.news/public/v1/projects/general/people/550e8400-e29b-41d4-a716-446655440000/connections?to_entity_type=location&nature=works_at" \
  -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 person