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

# OpenAPI specs

> Download the OpenAPI specs of the Maesn Unified API to generate clients or import them into your tools.

The Maesn Unified API publishes its OpenAPI specs. You can download them at any time. They always match the API that is live.

Use them to:

* Generate an API client in your language.
* Import the API into tools like Postman or Insomnia.
* Give an AI agent a full description of the API.

## Spec URLs

| API | Spec URL |
| - | - |
| Accounting V1 | [`https://api.maesn.dev/api-json`](https://api.maesn.dev/api-json) |
| Tenants | [`https://api.maesn.dev/api/tenants-sdk-json`](https://api.maesn.dev/api/tenants-sdk-json) |
| Auth | [`https://api.maesn.dev/api/auth-sdk-json`](https://api.maesn.dev/api/auth-sdk-json) |

All specs use the [base URL](/api-reference/accounting-endpoints/accounting-overview) `https://api.maesn.dev`.

## Download a spec

```bash theme={null}
curl --url 'https://api.maesn.dev/api/v2-json' --output maesn-accounting-v2.json
```

<Note>
  If you use TypeScript, you do not need to generate a client. Use the [TypeScript SDK](/sdk) instead.
</Note>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.