API Docs

Everything you need to integrate Day1 Doctor into your workflow.

Quick Start

Install the CLI, authenticate, and make your first API call in under 2 minutes.

curl -fsSL https://get.day1.doctor | sh
d1 login
d1 run "check my system health"

API Reference

OpenAI-compatible REST API. Use your existing SDK — just change the base URL.

curl https://api.day1.doctor/v1/chat/completions \
  -H "Authorization: Bearer d1d_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"model":"dr-bob","messages":[{"role":"user","content":"Hello"}]}'

Authentication

API keys for programmatic access, JWT for dashboard sessions.

Manage API Keys

Credits & Billing

1 DD = $0.01 USD. Prepaid credits deducted per request based on model and token count.

View Credits

Available Models

Browse all available models with pricing, capabilities, and context window info.

Browse Models

Base URLs

API Gateway: https://api.day1.doctor

Dashboard: https://www.day1.doctor