<commit_before># AIR API

All API requests require authentication (if not stated different). You need to pass a `private_token` parameter by url or header. If passed as header, the header name must be "PRIVATE-TOKEN" (capital and with dash instead of underscore).

If no, or an invalid, `private_token` is provided then an error message will be returned with status code 401:

```json
{
  "message": "401 Unauthorized"
}
```

API requests should be prefixed with `api` and the API version. Current API version is equals to `v1`

Example of a valid API request:

```
GET http://example.com/api/v1/appliance_sets?private_token=<PASSWORD>
```

Example for a valid API request using curl and authentication via header:

```
curl --header "PRIVATE-TOKEN: <PASSWORD>" "http://example.com/api/v1/appliance_sets"
```

## Status codes

`FIXME`

## Contents

+ [Appliance Sets](appliance_sets)<commit_msg>missing link to appliances types documentation<commit_after># AIR API

All API requests require authentication (if not stated different). You need to pass a `private_token` parameter by url or header. If passed as header, the header name must be "PRIVATE-TOKEN" (capital and with dash instead of underscore).

If no, or an invalid, `private_token` is provided then an error message will be returned with status code 401:

```json
{
  "message": "401 Unauthorized"
}
```

API requests should be prefixed with `api` and the API version. Current API version is equals to `v1`

Example of a valid API request:

```
GET http://example.com/api/v1/appliance_sets?private_token=FSGa<PASSWORD>
```

Example for a valid API request using curl and authentication via header:

```
curl --header "PRIVATE-TOKEN: <PASSWORD>" "http://example.com/api/v1/appliance_sets"
```

## Status codes

`FIXME`

## Contents

+ [Appliance Types](appliance_types)
+ [Appliance Sets](appliance_sets)
{'fraction_non_alphanumeric': 0.10246781115879829, 'fraction_numerical': 0.009656652360515022, 'mean_word_length': 4.846394984326019, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7083825', 'n_tokens_mistral': 581, 'n_tokens_neox': 542, 'n_words': 230}