cURL / REST API
Use AIGodfather from any language with plain HTTP requests.
Base URL
https://www.aigodfather.ai/api/v1
Authentication
Pass your API key in the Authorization header: Authorization: Bearer agf_live_xxx
Send an Event
POST /v1/events with a JSON body containing action, severity, message, and metadata.
Response
The API returns a JSON object with success, event_id, rules_matched, blocked, approval_id, and more.
⚡ Check
blocked in the response. If true, your agent should stop the action immediately.