Audream exposes a REST API and an OpenAPI 3.1 specification that agent frameworks can use to create tools. An agent can search processed notes, retrieve grounded context, upload audio, and run Audream processing workflows.

Agent entry points

OpenAPI specification

Import the complete tool contract, request schemas, and response schemas.

LLM index

Discover the most important human-readable and machine-readable resources.

Complete agent context

Load all Audream guides as a single text document for retrieval or coding agents.

Ask across notes

Answer questions from processed notes and return the supporting note IDs.

Import the OpenAPI contract

Use this URL when an agent platform accepts an OpenAPI document:
Configure bearer authentication with an Audream API key stored in the agent runtime’s secret manager:
The OpenAPI operationId values are stable tool identifiers. Prefer them over generating names from URL paths. Do not expose every mutation to an autonomous agent by default. Start with the smallest tool set required by the workflow.
Require explicit user confirmation immediately before deleteTranscription or deleteNote. Do not treat an earlier general request as deletion approval.

Define a compact Ask tool

Agents that only need knowledge retrieval can expose a single tool instead of the complete API:
The tool executor calls POST /v1/ask and returns the API response without discarding citations:
Preserve the returned note_ids in the final answer so the user can inspect the source notes.

Handle asynchronous tools

Transcription, Insights, and artifact generation can return 202 Accepted. A tool executor must keep the job state outside the language model and poll the corresponding GET operation.
  1. Return a durable note_id from the initial tool call.
  2. Poll at intervals of at least 2 seconds.
  3. Stop on 200 or a documented terminal error.
  4. Apply a bounded deadline and exponential backoff for transient failures.
  5. Never let the agent interpret 202 as a completed result.
See Processing status for response handling and idempotency rules.

Agent execution policy

Use these rules in the agent’s system instructions or tool middleware:

Context and privacy

  • Keep the API key and Audream responses in a trusted server-side agent runtime.
  • Send only the note content needed for the current task to any additional model provider.
  • Prefer askWorkspace when the agent needs an answer rather than complete transcripts.
  • Do not log bearer headers, raw audio, transcripts, or generated artifacts by default.
  • Rotate the key immediately if it appears in a prompt, trace, repository, or client bundle.
Audream currently publishes REST and OpenAPI interfaces. It does not advertise a public MCP endpoint; an MCP host can wrap these REST operations as local tools while preserving the policies above.