Timeline unifiée des événements d'une société (par SIREN)
POST /v1/rpc/tools/get_events
curl -X POST "https://api.insourcia.io/v1/rpc/tools/get_events" \ -H "Authorization: Bearer isk_VOTRE_CLE" \ -H "Content-Type: application/json" \ -d '{}'import requests
r = requests.post( "https://api.insourcia.io/v1/rpc/tools/get_events", headers={"Authorization": "Bearer isk_VOTRE_CLE"}, json={},)print(r.json())const r = await fetch("https://api.insourcia.io/v1/rpc/tools/get_events", { method: "POST", headers: { Authorization: "Bearer isk_VOTRE_CLE", "Content-Type": "application/json", }, body: JSON.stringify({}),});console.log(await r.json());Timeline unifiée des événements d’une société (par SIREN).
Autorisations
Section intitulée « Autorisations »Corps de la requête required
Section intitulée « Corps de la requête required »object
SIREN a 9 chiffres
Plusieurs SIREN en un appel (10 max) au lieu d’un appel par société. Exclusif avec siren. Même coût qu’à l’unité : un lot de N est facturé comme N sociétés servies, seul le nombre de requêtes change.
Filtrer par type(s) d’événement (CSV)
Date min (YYYY-MM-DD)
Date max (YYYY-MM-DD)
Nombre d’evenements (défaut 50, max 200). Sans effet avec sirens : le lot sert 20 evenements par société.
Pagination (défaut 0). Sans effet avec sirens, qui ne pagine pas.
Réponses
Section intitulée « Réponses »Successful tool invocation
object
Tool-specific response payload.
Invalid input (Zod validation failure)
object
Validation issues (only present on 400 from Zod schema parse).
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