Aller au contenu

Mandats directs d'un dirigeant : toutes les sociétés où il exerce un mandat direct, le dirigeant étant identifie de façon non ambiguë par nom + prénom + date de naissance exacte

POST
/v1/rpc/tools/search_director_companies
Fenêtre de terminal
curl -X POST "https://api.insourcia.io/v1/rpc/tools/search_director_companies" \
-H "Authorization: Bearer isk_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{
"nom": "string",
"prenom": "string",
"date_naissance": "string"
}'

Mandats directs d’un dirigeant : toutes les sociétés où il exerce un mandat direct, le dirigeant étant identifie de façon non ambiguë par nom + prénom + date de naissance exacte.

object
nom
obligatoire

Nom de famille du dirigeant (requis).

string
prenom
obligatoire

Prénom du dirigeant (requis).

string
date_naissance
obligatoire

Date de naissance au format YYYY-MM-DD (requis, désambiguïse les homonymes).

string
limit

Nombre de sociétés à retourner (défaut 50, max 200) ; 0,1 crédit par résultat (voir COÛT).

number

Successful tool invocation

object
success
obligatoire
boolean
data
obligatoire

Tool-specific response payload.

Invalid input (Zod validation failure)

object
success
obligatoire
boolean
error
obligatoire
string
details

Validation issues (only present on 400 from Zod schema parse).

Array<object>
object

Missing or invalid API key

Balance below the call’s maximum cost (insufficient_credits) or the organisation’s spend cap reached (spend_cap_reached). Nothing is debited.

Refused for this account. Nothing is debited.

Unknown tool name or resource not found

Internal error