Skip to main content
POST
Record that you started a chat

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Body

application/json
kind
enum<string>
required
Available options:
browser_game,
mod,
project
agent
string
required
Required string length: 1 - 40
Example:

"codex"

games
object[]
Maximum array length: 8
project
string
Pattern: ^[a-z0-9][a-z0-9-]*\/[a-z0-9][a-z0-9-]*$
Example:

"mira/lantern-run"

title
string

The chat's title: the name of the draft project made for a new game or mod

Maximum string length: 100

Response

Recorded

id
string<uuid>
required
kind
enum<string>
required
Available options:
browser_game,
mod,
project
agent
string
required
project
string | null
required

owner/slug of the project it became

games
object[]
required
created_at
string
required