Skip to content

Conversations

Conversation Continuity

GhostMind maintains conversation context across multiple requests using conversation IDs.

Starting a New Conversation

Omit the conversation_id parameter in your chat completion request. A new conversation is created automatically.

Continuing a Conversation

Pass the conversation_id from a previous response:

Terminal window
curl https://ghostmind.optdmsa.com/v1/chat/completions \
-H "Authorization: Bearer sk-gm-..." \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"conversation_id": "conv-uuid-from-previous-response",
"messages": [{"role": "user", "content": "Follow-up question"}]
}'

General vs Project Conversations

  • General: No project_id — standard conversation
  • Project: Pass project_id — AI has access to project files from first message

Binding

Conversations are sticky — once started on a specific provider account, they remain on that account. GhostMind does not rebalance mid-conversation.

Next Steps