curl --request GET \
--url https://api.example.com/api/v1/graph/{entity_id}{
"nodes": [
{
"id": "<string>",
"label": "<string>",
"type": "<string>",
"document_id": "<string>",
"properties": {},
"sources": [
{}
],
"is_pep": true,
"exposure_tier": "<string>"
}
],
"edges": [
{
"id": "<string>",
"source": "<string>",
"target": "<string>",
"type": "<string>",
"properties": {},
"confidence": 123,
"sources": [
{}
],
"exposure_tier": "<string>"
}
],
"center_id": "<string>"
}Retrieve a subgraph centered on a specific entity, including connected nodes and relationships up to a specified depth.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/World-Open-Graph/br-acc/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> headerENTITY_LOOKUP_ENABLED configuration.
4:abc123:1)personcompanycontractsanctionelectionamendmentfinanceembargohealtheducationconveniolaborstatsentity_types=company,personname, razao_social, cnpj, cpfvalue, date, typeuf, cargo, partidorole, start_date, percentage)curl -X GET "https://api.br-acc.com/api/v1/graph/4:abc123:1?depth=2&entity_types=company,person" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"nodes": [
{
"id": "4:abc123:1",
"label": "Acme Construções LTDA",
"type": "company",
"document_id": "12345678000100",
"properties": {
"razao_social": "Acme Construções LTDA",
"cnpj": "12.345.678/0001-00",
"uf": "SP"
},
"sources": [
{
"database": "receita_federal"
}
],
"is_pep": false,
"exposure_tier": "public_safe"
},
{
"id": "4:def456:2",
"label": "João Silva",
"type": "person",
"document_id": "12345678900",
"properties": {
"name": "João Silva",
"cpf": "123.456.789-00"
},
"sources": [
{
"database": "receita_federal"
}
],
"is_pep": false,
"exposure_tier": "public_safe"
}
],
"edges": [
{
"id": "5:rel123:1",
"source": "4:def456:2",
"target": "4:abc123:1",
"type": "HAS_PARTNER",
"properties": {
"role": "Sócio Administrador",
"start_date": "2020-01-15"
},
"confidence": 1.0,
"sources": [
{
"database": "receita_federal"
}
],
"exposure_tier": "public_safe"
}
],
"center_id": "4:abc123:1"
}
graph.py:108-120:
Before graph expansion, the endpoint checks node degree:
graph.py:69-71:
Only essential properties are included in graph responses:
/entity/{entity_id} endpoint for full property detailsgraph.py:74-94:
Internal system labels are automatically excluded:
-User - Application users-Investigation - Investigation metadata-Annotation - User annotations-Tag - Custom tagsHIDE_PERSON_ENTITIES environment variable is enabled:
HIDE_PERSON_ENTITIES is enabled)graph.py:97-222:
subgraphAll for efficient graph expansioncurl --request GET \
--url https://api.example.com/api/v1/graph/{entity_id}{
"nodes": [
{
"id": "<string>",
"label": "<string>",
"type": "<string>",
"document_id": "<string>",
"properties": {},
"sources": [
{}
],
"is_pep": true,
"exposure_tier": "<string>"
}
],
"edges": [
{
"id": "<string>",
"source": "<string>",
"target": "<string>",
"type": "<string>",
"properties": {},
"confidence": 123,
"sources": [
{}
],
"exposure_tier": "<string>"
}
],
"center_id": "<string>"
}