> ## Documentation Index
> Fetch the complete documentation index at: https://darwin.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAPI Specification

> Use Darwin’s generated public v2 contract as the source of truth.

Darwin's API Reference is generated from the public `/api/v2` OpenAPI contract.

<CardGroup cols={2}>
  <Card title="Browse API Reference" icon="braces" href="/docs/reference/search">Read schemas, examples, and response models.</Card>
  <Card title="Download OpenAPI" icon="download" href="/docs/openapi-v2.json">Download the current JSON specification.</Card>
</CardGroup>

## Generate clients

Use the specification to generate internal clients, request validation, or API tooling. Prefer Darwin's official [TypeScript and Python SDKs](/docs/sdks/quickstart) when you do not need custom generation.

## Contract policy

The generated specification is authoritative for public request fields, response fields, authentication, and validation limits. Guide pages explain how to use that contract safely; they do not override it.
