# Config

Funnels and tags configured for the organization.

Funnels and tags configured for the organization.

## Get config funnels

`GET /v1/config/funnels/`

Required scope: `config:read`

### Response (200)

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data` | object[] | Yes |  |
| `data[].id` | string | No | read-only |
| `data[].name` | string | No | read-only |
| `data[].stages` | object[] | No | read-only |
| `data[].stages[].id` | string | No | read-only |
| `data[].stages[].name` | string | No | read-only |
| `data[].stages[].order` | integer | No | read-only |
| `next_cursor` | string \| null | Yes |  |

### Responses

- `200` Success
- `400` The request is invalid.
- `401` Authentication is missing, invalid, or revoked.
- `403` The authenticated identity lacks the required scope or capability.
- `404` The resource is unavailable or not visible to this organization.
- `429` The request-rate budget is exhausted.

```bash
curl -X GET "https://api.themochi.app/v1/config/funnels/" \
  -H "Authorization: Bearer $MOCHI_API_KEY"
```

## Get config tags

`GET /v1/config/tags/`

Required scope: `config:read`

### Response (200)

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data` | object[] | Yes |  |
| `data[].ai_prompt` | string | No | read-only |
| `data[].category` | string | No | read-only |
| `data[].id` | string | No | read-only |
| `data[].is_ai` | boolean | No | read-only |
| `data[].name` | string | No | read-only |
| `next_cursor` | string \| null | Yes |  |

### Responses

- `200` Success
- `400` The request is invalid.
- `401` Authentication is missing, invalid, or revoked.
- `403` The authenticated identity lacks the required scope or capability.
- `404` The resource is unavailable or not visible to this organization.
- `429` The request-rate budget is exhausted.

```bash
curl -X GET "https://api.themochi.app/v1/config/tags/" \
  -H "Authorization: Bearer $MOCHI_API_KEY"
```

