# Discovery

The two documents that describe this API, served without credentials.

API reference. Base URL: `https://api.mirabase.dev`

## Read llms.txt

`GET /llms.txt`

Machine-readable guide to this API, served without credentials.

No credentials needed

Guide: [Authentication and API keys](https://mirabase.io/developers/authentication.md#bearer)

### Responses

- `200` `text/plain` `string`

### Error statuses

See [Errors](https://mirabase.io/developers/conventions.md#errors) for the error shape and [Error codes](https://mirabase.io/developers/errors.md) for what each code means.

### Example request

```bash
curl "https://api.mirabase.dev/llms.txt"
```

## Read the OpenAPI document

`GET /v2/openapi.yaml`

This OpenAPI document, served without credentials.

No credentials needed

Guide: [Authentication and API keys](https://mirabase.io/developers/authentication.md#bearer)

### Responses

- `200` `application/yaml` `string`

### Error statuses

`503` See [Errors](https://mirabase.io/developers/conventions.md#errors) for the error shape and [Error codes](https://mirabase.io/developers/errors.md) for what each code means.

### Example request

```bash
curl "https://api.mirabase.dev/v2/openapi.yaml"
```
