Back

Documentation

Get started in minutes

Three ways to connect. Pick the one that fits your workflow.

SDK

Best for developers building custom agents

1. Install the package

npm install @entelog/sdk

2. Initialize and log

import { Entelog } from '@entelog/sdk'

const audit = new Entelog('a0_live_YOUR_API_KEY')

// Log any agent action
await audit.log({
  agent: 'SalesBot',
  action: 'email_sent',
  data: {
    recipient: 'client@example.com',
    subject: 'Follow-up on proposal',
    sentiment: 'positive'
  }
})

That's it. Every logged action appears in your dashboard with AI-generated summaries and risk scores.

Webhook

Best for Zapier, Make.com, n8n — no code needed

Your webhook URL

https://entelog.com/api/webhook/log?key=a0_live_YOUR_API_KEY

Replace a0_live_YOUR_API_KEY with your actual API key from the dashboard.

Send a POST request with any JSON body

curl -X POST "https://entelog.com/api/webhook/log?key=a0_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "agent": "GPT-4 Sales Bot",
    "action": "email_drafted",
    "data": {
      "recipient": "client@example.com",
      "subject": "Follow up on proposal"
    }
  }'

Flexible field names

We auto-detect your field names. Use whichever format your tool sends:

FieldAccepted names
Agent nameagent, agent_name, agentName, name
Actionaction, action_type, actionType, event, type
Datadata, raw_data, rawData, payload, details

Zapier setup (2 minutes)

  1. 1.Create a new Zap. Set your trigger (e.g., "New row in Google Sheets")
  2. 2.Add action → Search "Webhooks by Zapier" → Choose "POST"
  3. 3.Set URL to https://entelog.com/api/webhook/log?key=a0_live_xxx
  4. 4.Set Payload Type to "json" and map your fields
  5. 5.Test & turn on. Done — logs appear in your Entelog dashboard.

REST API

For Python, Go, or any language

POST /api/ingest

curl -X POST https://entelog.com/api/ingest \
  -H "Authorization: Bearer a0_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_name": "SalesBot",
    "action_type": "data_access",
    "raw_data": {
      "query": "SELECT * FROM leads WHERE status = active",
      "rows_returned": 42
    }
  }'

Response

{
  "message": "Log ingested successfully",
  "log": {
    "id": "...",
    "summary": "SalesBot queried 42 active leads from the database",
    "risk_level": "medium",
    "timestamp": "2026-05-01T18:00:00Z"
  }
}

Required fields

FieldTypeDescription
agent_namestringName of the agent
action_typestringWhat the agent did (e.g., email_sent, data_access)
raw_dataobjectAny JSON object with action details
timestampstring?Optional ISO timestamp (defaults to now)

Ready to start?

Create an account, generate an API key, and start logging in under 5 minutes.