Agents
Create or restore an Agent
Changed onCreate a scheduled Agent. If an archived Agent already exists for the same agent type, domain, and App Key, this operation restores it.
post/agent
Request
- Base URLhttps://api.fido.id/1.0
- URLhttps://api.fido.id/1.0/agent
- Authnone declared. Required headers: x-api-key
Headers
content-typestring
acceptstring
x-api-keystring required
Example:[your-api-key]
Request body
Example request
{
"agent_type": "merchant_risk",
"domain": "example.com",
"frequency": "daily",
"start_date": "2026-11-01 09:00:00",
"score_threshold": 451,
"notification_email": "alerts@example.com",
"webhook_url": "https://example.com/agent-alerts"
}Response
Archived Agent restored
Example response
{
"id": "2bb80d537b1da3e38bd30361aa855686bde0ba21c22f0ea224cf9952cfcf46a2",
"agent_type": "merchant_risk",
"domain": "example.com",
"frequency": "daily",
"status": "active",
"start_date": "2026-11-01 09:00:00",
"creation_date": "2026-10-22 11:00:00",
"last_check": "2026-11-01 09:00:00",
"next_check": "2026-11-02 09:00:00",
"checks_done": 1,
"archive_reason": "Insufficient credits.",
"score_threshold": 451,
"last_score": 720,
"notification_email": "alerts@example.com",
"webhook_url": "https://example.com/agent-alerts"
}Changes
- info
endpoint added
- info