For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search
/
Dashboard
User Guide
Developer Guides
API Reference
Runtype API
Conversations
Create a conversation
Copy page
POST
https://
api.runtype.com
/
v1
/
conversations
Authentication
Authorization
Bearer
API key or Clerk session token
Request
This endpoint expects an object.
title
string
Optional
<=500 characters
Defaults to
New Chat
modelId
string
Optional
<=255 characters
systemPrompt
string
Optional
ownerId
string
Optional
1-255 characters
metadata
map from strings to any
Optional
Defaults to
{}
Response
Conversation created
id
string
title
string
modelId
string or null
systemPrompt
string or null
ownerId
string or null
metadata
map from strings to any
messages
list of maps from strings to any
source
enum
Allowed values:
app
client_token
createdAt
string
updatedAt
string
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error