Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.auvy.ai/llms.txt

Use this file to discover all available pages before exploring further.

API Reference

The AUVY API is a REST API layered on a unified resource spine: materialized heads, versions, content for large bodies, and chunks for lexical and hybrid search. /v1/browse, /v1/search, /v1/resources/..., and /v1/assets / /v1/artifacts are the main ways to read and mutate durable workspace data. Neurons, pathways, receptors, and reflexes are the same resources under the hood; many also expose vertical routes (/v1/neurons, /v1/receptors, …) for product-shaped CRUD and invoke. This reference focuses on endpoints you can drive with an API key or share token. All endpoints return JSON, use standard HTTP methods, and follow consistent patterns for authentication, pagination, and error handling. For a step-by-step walkthrough, see Integrate the API.

Spine vs vertical routes

PatternPurpose
Spine / catalogCross-kind browse, symmetric GET /v1/resources/{catalog}/:id, history, soft-delete + restore, vault trees — Resources
Document laneAsset ingest, artifact bodies and patches — Assets and Artifacts
DiscoveryPOST /v1/browse, POST /v1/browse/resource-tree, POST /v1/searchBrowse, Search
VerticalSlug neurons, receptor invoke/share, pathway execute, reflex CRUD — kind-specific references below
Prefer spine operations when you need one consistent id space and soft-delete semantics; use vertical routes when the request/response shape matches your integration (especially invoke and slug resolution).

Base URL and version

The API base URL is https://api.auvy.ai. The current API version is v1 (all paths are under /v1/). The SDK uses this by default; you can override baseUrl for self-hosted or local dev and optionally set apiVersion if a future version is introduced.

Authentication

This reference primarily uses:
CredentialHeaderUse case
API KeyAuthorization: Bearer ak_live_...Server-to-server, CLI, scripts
Share token?t=... or body fieldPublic receptor and trace flows
JWT-only workspace-management routes are intentionally excluded from this API-key-focused reference set.
import { fromApiKey, createAUVYClient } from '@auvy-synapse/client'

// API key (server) — recommended
const auvy = await fromApiKey(process.env.AUVY_API_KEY!)

// JWT (browser); baseUrl optional (default https://api.auvy.ai)
const browser = createAUVYClient({
  publishableKey: 'pk_...',
  getAccessToken: () => getSessionToken(),
})
See Authentication Guide for the full credential matrix.

Request & Response Format

All request bodies and responses use JSON. Set Content-Type: application/json for POST/PATCH/PUT requests. Success response:
{
  "id": "uuid",
  "slug": "my-receptor",
  "type": "neuron",
  "created_at": "2025-01-01T00:00:00Z"
}
Error response:
{
  "message": "Human-readable error message",
  "code": "ERROR_CODE"
}
CodeStatusMeaning
AUTH_REQUIRED401Missing or invalid credentials
FORBIDDEN403Insufficient permissions
NOT_FOUND404Resource does not exist
VALIDATION_ERROR400Invalid request data
RATE_LIMIT429Too many requests (check retryAfter)
See Integration patterns — Error handling for recovery patterns.

Pagination

List endpoints accept limit and offset query parameters:
const page = await auvy.receptors.list({ limit: 20, offset: 0 })

// Auto-paginate
for await (const receptor of auvy.receptors.paginate({ pageSize: 20 })) {
  console.log(receptor.slug)
}
Response includes pagination metadata:
{
  "data": [],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 100,
    "has_more": true
  }
}
See Integration patterns — Pagination.

Rate Limiting

Requests are rate-limited per API key or user. Rate limit headers are included in every response:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200
On 429 responses, back off for retryAfter seconds. The SDK handles this automatically with configurable retry options.

Streaming

Invoke a receptor with stream: true to receive tokens in real time:
const { job_id } = await auvy.receptors.invoke('workspace', 'receptor', {
  message: 'Hello',
  stream: true,
})

for await (const chunk of createStream(auvy, job_id)) {
  if (chunk.type === 'token') process.stdout.write(chunk.token)
  if (chunk.type === 'complete') console.log(chunk.result)
}
See Integration patterns — Streaming.

OpenAPI Specification

Download OpenAPI Spec

OpenAPI 3.1 specification — import into Postman, Insomnia, or code generators.

Endpoints

Health

Liveness plus optional authenticated workspace and brain context.

Config

Active model metadata, embedding settings, and cost estimates.

Neurons

Agents: model config, prompts, memory, scope, and tool access.

Pathways

Visual workflows connecting neurons and execution steps.

Reflexes

Tool collections from integrations and built-in tools.

Receptors

Gateways: invoke neurons and pathways; list, manage, and share.

Public

Public share endpoints for receptors and traces.

Traces

Execution history and conversation contexts.

Jobs

Job status, results, and streaming.

Resources

Spine hub: browse trees, catalog lists/reads, central patch, resource events.

Assets and Artifacts

Immutable ingested assets and mutable versioned artifacts.

Search

Hybrid keyword + semantic search over spine chunks (/v1/search).

Tools

Native tool metadata and input schemas.

Recollections

Memory scopes attached to traces and neurons.

Meetings

Meeting objects, live transcription, and transcript artifacts.

Stakeholders

Stakeholder map snapshots and briefings.

Usage

Usage statistics and analytics.

Activity

Workspace activity feed.