---
title: "Freeplay Chat"
method: POST
path: "/freeplay/chat"
tags: ["freeplay"]
---

# Freeplay Chat

`POST /freeplay/chat`

## Request

- Base URL: `https://api.getathly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getathly.com/freeplay/chat`
- Auth: HTTP bearer

## Query parameters

- `diagnostics` boolean

## Request body

- FreeplayChatRequest
  - `athlete_slug` string, required
  - `content` string, required
  - `history` FreeplayHistoryMessage[]
    - `role` 'user' | 'assistant', required
    - `content` string, required
  - `user_info` object

## Response `200`

Successful Response

- FreeplayChatResponse
  - `content` string, required
  - `metadata` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getathly/apis/athly-api.md) - [All operations](https://skmtc.dev/getathly/apis/athly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getathly/apis/athly-api/revisions/6adfdc258d75?raw)
