audit

Submit behavioral events anonymously (x402-paid)

Submit a batch of behavioral events for an agent without an API key. Payment IS authentication — 0.0001 USDC per batch via x402. Requires agent_id in the request body. Events are appended to the agent's behavioral audit trail.

post/v1/events

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/events
  • Auth: none required

Request body

agent_idstring required

Agent account ID (acc_...) — required for anonymous submission

Example request

{
  "agent_id": "acc_demoid12345",
  "events": [
    {
      "event_id": "evt_001",
      "timestamp": "2026-04-21T00:00:00Z",
      "category": "tool",
      "action": "tool.call",
      "result": "success"
    }
  ]
}

Response

Events accepted

acceptedinteger required
rejectedinteger required
sourcestring required

Example response

{
  "accepted": 1,
  "source": "anonymous"
}

Changes

No recorded changes to this operation across all 1 revision of this API.