Skip to content
DarkSeek API developer preview. View supported features and launch status

Multi-round conversation

View Markdown ↗

Carry conversation context explicitly between requests.

Messages are the context#

Send the relevant prior user and assistant messages with each chat request. The generation API does not infer a conversation from a previous request id. Saved web chat history is account-owned and saved only through explicit user action.

curl "$DARKSEEK_BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $DARKSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"darkseek-v4.1","messages":[{"role":"user","content":"My name is Ada."},{"role":"assistant","content":"Hello, Ada."},{"role":"user","content":"What is my name?"}],"max_tokens":128}'

Bound context and retention#

Trim or summarize long histories within the configured model limits. Do not replay hidden reasoning as ordinary user text. Unsaved browser chats are tab-only; saving conversation data requires consent.