Developer documentation

Build with the Hardcarrx API

Public API contracts, request examples, and reference material for Hardcarrx routing, memory, caching, models, SDK workflows, and request logs.

REST Quickstart

Send your first request

Configure a workspace and provider, create an API key, and call the supported public REST API.

API Reference

Use raw endpoints

Review the public OpenAPI contract for routing, model catalog, memory, and request log endpoints.

SDK + CLI

Build with SDKs

Use the public REST API, review the private-beta SDK roadmap, send chat requests, write memory, inspect usage, and configure Langfuse export.

Auth & Scoping

Keys and workspaces

How hxv_ keys authenticate and how requests resolve to a workspace.

Streaming

Stream chat completions

Server-sent events, cancellation semantics, and Responses-compat streaming limits.

Error Catalog

One envelope, clear retries

Every public error status, when it happens, and how to respond.

Providers

Connect and name models

Stored provider credentials, one-request BYOK, and provider/model naming.

Memory

Workspace memory

Store, structured query vs semantic retrieval, deletion and recovery windows.

Retries

Retry safely

Which errors to retry, backoff shape, and idempotency notes.

Request Logs

Troubleshoot requests

Filter authenticated request logs and read the signals.

Migration

From OpenAI-compatible code

Base URL/key swap, provider field, Responses phase-1 subset.