Entity hierarchy
Submit entity hierarchy research request
POST
/v1/entity/{entity_id}/hierarchy Submit a corporate hierarchy research request for an entity. Research typically takes 10-20 minutes.
If research is already in progress for this entity, the existing request is returned instead of creating a duplicate.
After submission, poll the GET endpoint every 5-10 seconds until status is completed.
Path parameters
entity_idstring requiredThe SIQ entity ID to research (e.g., "siq_303bOyvScnpCchGvOckDr")
Responses
202 Accepted - Research request submitted
entity_idstring requiredThe SIQ entity ID that was researchedstatusstring (enum) requirednot_startedin_progresscompletedfailedCurrent status of the researchdataoneOf<object | null>Hierarchy data (null if not completed)Show 9 nested fieldsHide nested fields
entitiesarray<object>All entities in the corporate structureShow 6 nested fieldsHide nested fields
idstringInternal entity identifier used in relationshipsnamestringLegal entity namecountry_codestringISO 3166-1 alpha-2 country codejurisdictionstringFull jurisdiction nameorganization_typestring (enum)businessgovernmentnonprofitindividualType of organizationis_publicly_tradedbooleanWhether the entity is publicly traded
relationshipsarray<object>All relationships between entitiesShow 6 nested fieldsHide nested fields
idstringRelationship identifierfromstringID of the parent/controlling entitytostringID of the subsidiary/controlled entityrelationship_typestring (enum)ownsmajority_ownsminority_ownsholding_companygovernment_ownsparent_ofsubsidiary_ofType of relationshipownership_percentagenumberOwnership percentage if knownestablished_datestringDate the relationship was established, as a partial ISO 8601 date — "YYYY", "YYYY-MM", or "YYYY-MM-DD", as precisely as the sources evidence it.
ownership_chainarray<object>Direct ownership path from target entity to ultimate parentShow 4 nested fieldsHide nested fields
entity_idstringEntity ID at this levelparent_idstringParent entity IDrelationship_typestringType of relationship to parentownership_percentagenumberOwnership percentage if known
evidencearray<string>URLs of evidence sources used in researchsummary_shortstringBrief summary of the ownership structure (1-2 sentences)summary_longstringDetailed summary of the ownership structure and corporate historymermaid_diagramstringMermaid diagram code for visualizing the hierarchytarget_entityobjectThe entity that was researchedShow 2 nested fieldsHide nested fields
idstringnamestring
ultimate_parentobjectThe ultimate controlling entity (null if none found)Show 2 nested fieldsHide nested fields
idstringnamestring
last_researched_atstringISO 8601 timestamp of when research was completedrequest_idstringRequest ID for trackingmessagestringOptional message with additional context
400 Bad Request - Invalid entity ID format
errorobjectAn error object.Show 2 nested fieldsHide nested fields
messagestringThe error messagetypestringThe error code
401 Unauthorized
messagestringThe error object.request_idstringThe request ID for the error.
500 Internal Server Error
errorobjectAn error object.Show 2 nested fieldsHide nested fields
messagestringThe error messagetypestringThe error code
Example request
cURL
curl --request POST \
--url 'https://api.savvyiq.ai/v1/entity/siq_303bOyvScnpCchGvOckDr/hierarchy' \
--header 'apikey: YOUR_API_KEY' Example response
New research request submitted202
{
"entity_id": "siq_303bOyvScnpCchGvOckDr",
"status": "in_progress",
"data": null,
"last_researched_at": null,
"request_id": "req_31ktmKZbyd9zqFCNxlwhc",
"message": "Research submitted. Expected completion in 10-20 minutes."
}Research already in progress (deduplication)
{
"entity_id": "siq_303bOyvScnpCchGvOckDr",
"status": "in_progress",
"data": null,
"last_researched_at": null,
"request_id": "req_31ktmKZbyd9zqFCNxlwhc",
"message": "Research already in progress"
}