API Dokumentation

Get Assistant History

get/api/v1/chat/{sessionId}/history

Returns ordered messages for a session (user and assistant roles).

Chat

Parameter

sessionId

path · string

Erforderlich

Antworten

  • 200Message array ordered by created time.application/json
    [
      {
        "role": "User",
        "content": "What is Bitcoin doing today?",
        "createdAt": "2026-07-09T14:30:00Z"
      },
      {
        "role": "Assistant",
        "content": "BTCUSD is trading near $63,000…",
        "createdAt": "2026-07-09T14:30:05Z"
      }
    ]
  • 401Not authorized for this session.application/json
    {
      "type": "Deposit",
      "title": "Example",
      "status": 1,
      "detail": "The request could not be completed. Check the values and try again.",
      "instance": "Example"
    }
  • 404Unknown session.application/json
    {
      "type": "Deposit",
      "title": "Example",
      "status": 1,
      "detail": "The request could not be completed. Check the values and try again.",
      "instance": "Example"
    }
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

Starten Sie Ihre Plattform.