Skip to main content
POST
/
v3
/
workspaces
/
{workspace_id}
/
peers
/
{peer_id}
/
chat
Chat
curl --request POST \
  --url https://api.honcho.dev/v3/workspaces/{workspace_id}/peers/{peer_id}/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "session_id": "<string>",
  "target": "<string>",
  "stream": false,
  "reasoning_level": "low"
}
'
{
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required
peer_id
string
required

Body

application/json
query
string
required

Dialectic API Prompt

Required string length: 1 - 10000
session_id
string | null

ID of the session to scope the representation to

target
string | null

Optional peer to get the representation for, from the perspective of this peer

stream
boolean
default:false
reasoning_level
enum<string>
default:low

Level of reasoning to apply: minimal, low, medium, high, or max

Available options:
minimal,
low,
medium,
high,
max

Response

Successful Response

content
string | null
required