# getPreset

> Part of the MAP Audio Music API docs. Index of every page: https://map.audio/developers/music-api/llms.txt. OpenAPI document: https://map.audio/developers/music-api/openapi.json.

`GET https://api.map.audio/v1/presets/{id}`

Get one preset

One factory preset by its slug (313-disco) or URL-encoded reference: name, tempo, time signature, category, tags and the variation slots it has. Free.

Auth: `Authorization: Bearer` with an API key or a map.audio access token. MCP tool: `get_preset`.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | A factory preset's slug (313-disco) or its URL-encoded reference (pam%3Afactory%2F313-disco). At most 200 characters. |

## Example

```sh
curl -sS "https://api.map.audio/v1/presets/313-disco" \
  -H "Authorization: Bearer $MAP_API_KEY" \
  -H "Map-Version: 2026-11-01"
```

### 200: 313 Disco

```json
{
  "object": "preset",
  "slug": "313-disco",
  "ref": "pam:factory/313-disco",
  "product": "pam",
  "name": "313 Disco",
  "author": "TopograFX",
  "description": "Motor City disco with aquatic funk",
  "bpm": 120,
  "timeSignature": [
    4,
    4
  ],
  "category": "Drums",
  "subcategory": "Disco",
  "tags": [],
  "variations": [
    1
  ],
  "sha256": "3afbf5dea1003b2d17385955017785a57d74c65f77f97b58cf5d7cec9794ca1c",
  "hasSong": false
}
```

### 404: No such preset

```json
{
  "error": {
    "type": "not_found",
    "code": "preset_not_found",
    "message": "No factory preset 313-discoo; list them with GET /v1/presets.",
    "param": "id",
    "retryable": false,
    "jobId": null,
    "docUrl": "https://map.audio/developers/music-api/errors#preset_not_found",
    "requestId": "9a3f7c2e5b1d8f40-LHR"
  }
}
```

## Responses

- `200`: The preset.
- `404`: No such preset
- `default`: Any other error: `error.code` names it, `error.param` the field at fault, and `error.docUrl` its entry in the error catalogue.

## Errors

- [`invalid_request`](https://map.audio/developers/music-api/errors#invalid_request)
- [`preset_not_found`](https://map.audio/developers/music-api/errors#preset_not_found)
- [`preset_not_served`](https://map.audio/developers/music-api/errors#preset_not_served)
