Skip to main content
POST
/
v1
/
v2
/
conversations
/
{conversation_id}
/
turns
Run one turn of a v2 conversation
curl --request POST \
  --url https://api-sandbox.featherhq.com/v1/v2/conversations/{conversation_id}/turns \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "user_message": "<string>",
  "for_update": false,
  "include_evidence": false,
  "evidence_view": "display"
}
'
{
  "turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "text": "<string>",
  "active_assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "<string>",
  "decision_source": "<string>",
  "message_seqs": [
    123
  ],
  "session_status": "<string>",
  "turn_ttft_ms": 123,
  "ended": false,
  "evidence": {
    "package_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "items": [
      {
        "citation_marker": "<string>",
        "label": "<string>",
        "short_label": "<string>",
        "document_title": "<string>",
        "version_number": 123,
        "section": {
          "path_titles": [
            "<string>"
          ],
          "path_numbers": [
            "<string>"
          ],
          "display_label": "<string>",
          "confidence": "unknown"
        },
        "deep_link": "<string>"
      }
    ],
    "view": "display",
    "schema_version": 1,
    "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

conversation_id
string<uuid>
required

Body

application/json

Drive one turn of a v2 conversation (Phase F1).

user_message
string
required
for_update
boolean
default:false
include_evidence
boolean
default:false
evidence_view
enum<string>
default:display
Available options:
display,
full

Response

Successful Response

The outcome of one driven turn — mirrors driver.TurnResult.

turn_id
string<uuid>
required
conversation_id
string<uuid>
required
text
string
required
active_assistant_id
string<uuid> | null
required
path
string
required
decision_source
string
required
message_seqs
integer[]
required
session_status
string
required
turn_ttft_ms
integer | null
ended
boolean
default:false
evidence
EvidencePackageDisplay · object

End-user serialization view — source cards only, NO audit internals.

A distinct model (not :class:EvidencePackage with a narrower config) so the omitted fields are absent from the schema, and so view yields a clean tagged union. organization_id, agent_id and status_reason are full-only and intentionally not present here.