# AI agents & LLMs

The documentation in the formats AI agents read: an `llms.txt` index, every page as Markdown, OpenAPI 3.1 specs and Arazzo workflows. Point your agent, your coding assistant or your codegen at them — or use the [MCP server](https://docs.arenyze.com/mcp) for ready-made tools.

## What is available

| URL | What it is |

| [`llms.txt`](https://docs.arenyze.com/llms.txt) | Index of the docs for LLMs, with the instructions for AI agents. |

| [`llms-full.txt`](https://docs.arenyze.com/llms-full.txt) | The whole documentation in one Markdown file. |

| [`Any page + .md`](https://docs.arenyze.com/thefinals.md) | Every page as Markdown (the introduction is /index.md). |

| [`openapi.json`](https://docs.arenyze.com/openapi.json) | OpenAPI 3.1 of the three games, one document. |

| [`openapi/.json`](https://docs.arenyze.com/openapi/thefinals.json) | One OpenAPI 3.1 per game: r6, thefinals, endfield. |

| [`arazzo.json`](https://docs.arenyze.com/arazzo.json) | Arazzo 1.0.1 workflows: multi-step recipes over the API. |

| [`.well-known/api-catalog`](https://docs.arenyze.com/.well-known/api-catalog) | RFC 9727 catalog pointing at the specs. |

All of them are generated from the same sources as these pages at every docs build, so they never drift from what you read here. They are public and need no key.

## llms.txt

[`/llms.txt`](https://docs.arenyze.com/llms.txt) follows the [llms.txt](https://llmstxt.org) format: a short summary, a section of instructions for AI agents (below), then a link to the Markdown version of every page and to the specs. Give it to an assistant as the starting point; [`/llms-full.txt`](https://docs.arenyze.com/llms-full.txt) is everything in one file when the context window allows it.

```bash
curl https://docs.arenyze.com/llms.txt
```

## Markdown pages

Add `.md` to the address of any page — [`/thefinals.md`](https://docs.arenyze.com/thefinals.md) , [`/webhooks.md`](https://docs.arenyze.com/webhooks.md) , [`/index.md`](https://docs.arenyze.com/index.md) for the introduction. A client that asks for Markdown gets it on the normal address too:

```bash
curl -H "Accept: text/markdown" https://docs.arenyze.com/thefinals
```

On every page the Copy page button at the top copies that Markdown, ready to paste into ChatGPT, Claude or your IDE; its menu also opens the page straight in ChatGPT or Claude.

## OpenAPI 3.1

Every public endpoint with its parameters, the authentication, the error responses and an example response (a trimmed live sample) with its inferred schema. Import it into Postman or Insomnia, generate a typed client, or turn the operations into tools for function calling.

| Spec | Server |

| [`/openapi.json`](https://docs.arenyze.com/openapi.json) — all games | `https://public-api.arenyze.com` |

| [`/openapi/r6.json`](https://docs.arenyze.com/openapi/r6.json) — Rainbow Six Siege | `https://public-api.arenyze.com/r6/api` |

| [`/openapi/thefinals.json`](https://docs.arenyze.com/openapi/thefinals.json) — THE FINALS | `https://public-api.arenyze.com/thefinals/api` |

| [`/openapi/endfield.json`](https://docs.arenyze.com/openapi/endfield.json) — Arknights: Endfield | `https://public-api.arenyze.com/endfield/api` |

```bash
# TypeScript client for THE FINALS
npx @openapitools/openapi-generator-cli generate \
  -i https://docs.arenyze.com/openapi/thefinals.json \
  -g typescript-fetch -o ./arenyze-thefinals
```

```js
// Every OpenAPI operation → a function-calling tool definition
const spec = await fetch("https://docs.arenyze.com/openapi/thefinals.json").then(r => r.json());
const tools = Object.entries(spec.paths).map(([path, { get: op }]) => ({
  name: op.operationId,
  description: `${op.summary}. ${op.description}`.slice(0, 1000),
  input_schema: {
    type: "object",
    properties: Object.fromEntries(op.parameters.map(p => [p.name, { ...p.schema, description: p.description }])),
    required: op.parameters.filter(p => p.required).map(p => p.name),
  },
  path,
}));
```

## Arazzo workflows

[`/arazzo.json`](https://docs.arenyze.com/arazzo.json) uses the [Arazzo](https://spec.openapis.org/arazzo/latest.html) standard of the OpenAPI Initiative to describe tasks that need several calls in a row — which output feeds which parameter, and when a step succeeded. An agent can follow a workflow instead of guessing the order of the endpoints; Arazzo-aware tools can run or test them.

`thefinals-player-report`
THE FINALS: full report on a player from part of a name. Search the name, open the best match, then read its rank history and its standings (percentile, rivals, distance to the next league).

- `thefinalsSearch` — `q` ← `$inputs.query`
- `thefinalsPlayer` — `name` ← `$steps.search.outputs.name`
- `thefinalsPlayerHistory` — `name` ← `$steps.search.outputs.name`, `days` ← `$inputs.days`
- `thefinalsPlayerInsights` — `name` ← `$steps.search.outputs.name`

`thefinals-club-scouting`
THE FINALS: analyse a club (team). Read a club, compare its two best-placed members head to head, then get the standings of the club’s best player.

- `thefinalsClub` — `tag` ← `$inputs.tag`
- `thefinalsCompare` — `a` ← `$steps.club.outputs.first`, `b` ← `$steps.club.outputs.second`
- `thefinalsPlayerInsights` — `name` ← `$steps.club.outputs.best`

`thefinals-head-to-head`
THE FINALS: compare two players and their trend. Compare two players, then read the rank history of both to see who is climbing.

- `thefinalsCompare` — `a` ← `$inputs.a`, `b` ← `$inputs.b`
- `thefinalsPlayerHistory` — `name` ← `$inputs.a`, `days` ← `$inputs.days`
- `thefinalsPlayerHistory` — `name` ← `$inputs.b`, `days` ← `$inputs.days`

`r6-player-report`
Rainbow Six Siege: profile and operators of a player. Load the full profile (rank, RP, K/D, win rate, ban status), then the per-operator stats of the same player.

- `r6V2Profile` — `nameOnPlatform` ← `$inputs.nameOnPlatform`, `platformType` ← `$inputs.platformType`
- `r6V2Operators` — `nameOnPlatform` ← `$inputs.nameOnPlatform`, `platformType` ← `$inputs.platformType`, `seasonYear` ← `$inputs.seasonYear`

`endfield-operator-build`
Arknights: Endfield: find a player and open their first showcased operator. Search a nickname or UID, load the profile, then the full build (skills, weapon, gear) of the first showcased operator.

- `endfieldPlayersSearch` — `q` ← `$inputs.query`
- `endfieldPlayer` — `uid` ← `$steps.search.outputs.uid`
- `endfieldPlayerOperator` — `uid` ← `$steps.search.outputs.uid`, `slug` ← `$steps.profile.outputs.operator`

## Instructions for AI agents

The same list is at the top of `llms.txt`. Put it in your agent's system prompt if it does not read `llms.txt` by itself.

- Base URL: `https://public-api.arenyze.com/<game>/api` with `<game>` = `r6`, `thefinals` or `endfield`. The API is read-only: every endpoint is `GET`.
- Authenticate every request with the header `api-key: <key>` (THE FINALS and Endfield also accept `Authorization: Bearer <key>`). Keys are created in the Workbench: [https://workbench.arenyze.com/#/live/keys](https://workbench.arenyze.com/#/live/keys) . Never put the key in browser or mobile code — call the API from a server and cache the results.
- THE FINALS players are identified by their Embark name with the tag: URL-encode the `#` (`Balise#2431` → `Balise%232431`). If you only have part of a name, call `/thefinals/api/search?q=` first.
- Rainbow Six Siege player endpoints need `nameOnPlatform` and `platformType` (`uplay` for PC, `psn`, `xbl`).
- Arknights: Endfield players are identified by their numeric UID (`/endfield/api/players/{uid}`); find a UID with `/endfield/api/players/search?q=`.
- One monthly quota per key is shared by the three games, plus a per-minute limit per game. On `429` wait the seconds in `Retry-After`; read `X-RateLimit-Remaining`, `X-Quota-Used` and `X-Quota-Limit` to pace yourself.
- Errors are JSON `{"error": "<CODE>", "message": "…"}` with a stable code (https://docs.arenyze.com/errors). `404 PLAYER_NOT_FOUND` means the tracker does not know the player yet — do not retry in a loop.
- To react to changes (rank, league, club, renames, bans) use webhooks or Arenyze Flows instead of polling a player every minute.
- If your client supports the Model Context Protocol, the hosted MCP server [https://mcp.arenyze.com](https://mcp.arenyze.com) exposes the same data as ready-made tools (OAuth sign-in or API key).
- Data comes from the Arenyze trackers (r6.arenyze.com, thefinals.arenyze.com, arknightsendfield.arenyze.com). Arenyze is not affiliated with Ubisoft, Embark Studios or Hypergryph/GRYPHLINE.

## MCP or OpenAPI?

- MCP ( [mcp.arenyze.com](https://docs.arenyze.com/mcp) ) — your assistant (Claude, ChatGPT, Cursor…) gets ready-made tools and signs in with your Arenyze account. Nothing to write.
- OpenAPI + Arazzo — you build your own agent, bot or app and want typed calls, your own tools, or workflows you control.
- Markdown / llms.txt — you want an assistant to write the code for you with the right endpoints and parameters.

---

Source: https://docs.arenyze.com/agents · Markdown: https://docs.arenyze.com/agents.md · All docs for LLMs: https://docs.arenyze.com/llms.txt
