Multi-turn AI conversations with memory
Build chatbots and iterative workflows with persistent state. The Threads API lets your crew remember context across messages for natural conversations.
Persistent State
Thread state is stored across messages. Your crew remembers the full conversation context.
Conversation History
Every message and response is stored. Browse the full history in the console or via API.
Thread Management API
Create, list, and delete threads programmatically. Full control over conversation lifecycle.
Browse conversations in the console
View thread history, message details, and conversation flow directly in the Crewship console. Debug and monitor conversations in real-time.
- Full message history with inputs and outputs
- Real-time streaming of thread responses
- Thread metadata and status tracking
Simple API for conversations
Create a thread, then send messages to it. Each message runs your crew with the full conversation history as context. Two API calls to get started.
# Create a thread
curl -X POST https://api.crewship.dev/v1/threads \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "deployment_id": "dep_abc123" }'
# Send a message in the thread
curl -X POST https://api.crewship.dev/v1/threads/thr_xyz/runs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "input": { "message": "Hello" } }'FAQ
Common questions about threads
Ready to deploy your AI crews?
Start with our free tier. No credit card required.