Hawkeye Docs

API

Snippets

curl, JavaScript, and Python. No published SDK.

Hawkeye does not publish an SDK. These snippets use the HTTP API. Keep the key in an environment variable.

Message

curl -s https://hawkeye.brownhawke.engineering/api/partner/v1/messages \
  -H "Authorization: Bearer $HAWKEYE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"receptionist","message":{"role":"user","content":"A customer is asking about an MOT tomorrow."}}'

Chat completion

The full request is on Chat completions. Streaming and attachments have their own pages.

Verify a webhook

The check is on Webhooks. Use the raw body bytes.