Human docs
Use the quickstart and migration guidance when you want a curated integration path.
Open docsReference
This page stays close to the live FastAPI implementation: registration, `X-API-Key` auth, async analysis jobs, usage metering, and Stripe lifecycle handling.
Resources
Use the quickstart and migration guidance when you want a curated integration path.
Open docsBest for generated clients, contract tests, SDK experiments, and API tooling.
Download YAMLBest for AI-assisted onboarding, agent prompts, and machine-readable context loading.
Open guideAuth + base URLs
Base URL
https://api.beatlyze.dev
Health check
GET /health
Register
POST /v1/auth/register
Protected routes
X-API-Key: bz_your_api_key
Endpoints
/v1/auth/registerCreate a user, create a Stripe customer, and return a new API key. Returns `201 Created`.
/v1/analyze/uploadAccepts multipart file uploads up to 50 MB. Returns `202 Accepted` with `job_id` and `status`.
/v1/analyze/urlAccepts a public audio URL and optional `webhook_url`, then queues download and analysis.
/v1/analysis/{job_id}Returns summary analysis data. Jobs still in progress continue to return `status: "processing"`.
/v1/analysis/{job_id}/fullReturns the same summary fields plus section-level structure data in the `sections` array.
/v1/batchQueues up to 10 URL-based analysis jobs in one request and returns a list of accepted jobs.
/v1/usageReturns billing-month usage count, tier limit, and paid-tier meter usage when available.
/webhooks/stripeHandles subscription tier changes, payment failures, and customer state transitions from Stripe.
Status codes
Examples
curl -X POST https://api.beatlyze.dev/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]"}'
curl https://api.beatlyze.dev/v1/usage \
-H "X-API-Key: bz_your_api_key"