Local API.
Zap exposes a local REST API on localhost:7432 for integrations, scripting, and automation.
/api/v1/statusCheck if the Zap daemon is running and return current session info.
/api/v1/querySubmit a natural language query against your local knowledge base. Returns ranked context chunks.
/api/v1/transcribeStart a transcription session. Accepts audio stream configuration and returns a session ID.
/api/v1/transcribe/:idRetrieve the current transcript for a given session ID.
/api/v1/documentsIndex a new document into the local knowledge base.
/api/v1/peersList currently discovered peers on the local network.
/api/v1/documents/:idRemove a document from the knowledge base by its ID.
Authentication
The local API is only accessible from localhost and does not require authentication by default. For production integrations, you can enable token-based auth in Zap's settings under Developer → API Access.