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)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"
}