API
API reference
Every partner path, generated from the OpenAPI document.
This table is generated from the OpenAPI document (OpenAPI 3.0.3, info version 1.0.0). Each operation there has a summary and, when a key is required, the scope name. That document does not yet attach a request body to each operation. Field lists on the topic pages are taken from the handlers.
Embed a Hawkeye agent (for example a Receptionist or Garage Front Desk) over text and phone. Keys are deny-by-default. Usage is billed to the key's account with the existing credit meter.
GET /docs/partner is listed there as the quickstart. That address now redirects to /docs/api/quickstart.
| Method | Path | Summary | Scope | Auth |
|---|---|---|---|---|
GET | / | This document. No key required. | — | No |
GET | / | Quickstart page. No key required. | — | No |
GET | / | The key's scopes, agents, rate limit and spend. Any live key. | — | Bearer |
POST | / | Start a conversation. | text | Bearer |
GET | / | Read a conversation. | text | Bearer |
POST | / | Send a message. Attach images and PDFs. | text | Bearer |
POST | / | Same message as SSE. | text | Bearer |
POST | / | Send a message. conversation_id is optional. | text | Bearer |
POST | / | Streaming send. | text | Bearer |
POST | / | Upload an image or PDF. | files | Bearer |
POST | / | Generate an image. | image | Bearer |
POST | / | Start a video. | video | Bearer |
GET | / | Video status. | video | Bearer |
GET | / | Numbers attached to agents. | voice | Bearer |
POST | / | Attach an E.164 number or provision a bridge. | voice | Bearer |
DELETE | / | Detach a number. | voice | Bearer |
POST | / | Place an outbound call. | voice | Bearer |
POST | / | Tell Hawkeye an inbound call arrived. | voice | Bearer |
GET | / | Call transcript and summary. | voice | Bearer |
POST | / | Provider bridge: send one utterance, get the spoken reply. | voice | Bearer |
POST | / | End a call. | voice | Bearer |
GET | / | Websocket bridge. Text frames are utterances. Audio uses the provider session. | voice | Bearer |
GET | / | List projects. | projects | Bearer |
POST | / | Create a project. | projects | Bearer |
GET | / | Queued work. | projects | Bearer |
POST | / | Queue a task. | projects | Bearer |
GET | / | Agents this key may use. | agents | Bearer |
POST | / | Create an agent. The router chooses the model. | admin | Bearer |
GET | / | Tools and skills for an agent. | tools | Bearer |
POST | / | Run one plugin tool. | tools | Bearer |
Attachment schema
Same field as chat and POST /api/v1/chat/completions. data is a base64 data URL. Requires the files (file-upload) scope.
| Field | Type | Required |
|---|---|---|
type | image, pdf | yes |
name | string | yes |
mime | string | yes |
data | string | yes |
Not in this document
POST /api/v1/chat/completions and GET /api/v1/models are the OpenAI-compatible routes. They use the same key and the text scope, and they are not listed in the partner OpenAPI file. See Chat completions.