> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v3/sdk-reference/thread/start-a-new-thread/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # Start a new thread. POST https://api.getzep.com/api/v2/threads Content-Type: application/json Start a new thread. Reference: https://docs-beta.getzep.com/sdk-reference/thread/start-a-new-thread ## Request ### Body (application/json) This endpoint expects a models.CreateThreadRequest. - `thread_id` (string, required) — The unique identifier of the thread. - `user_id` (string, required) — The unique identifier of the user associated with the thread ## Response ### 201 The thread object. - `created_at` (string, optional) - `graph_uuid` (string, optional) — GraphUUID is the graphs.uuid of the owning user's graph (spec-3 section 13.5). - `project_uuid` (string, optional) - `thread_id` (string, optional) - `user_id` (string, optional) - `user_uuid` (string, optional) - `uuid` (string, optional) ## Errors ### 400 Bad Request Error Bad Request - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Examples **Request** ```json { "thread_id": "string", "user_id": "string" } ``` **Response** ```json { "created_at": "string", "graph_uuid": "string", "project_uuid": "string", "thread_id": "string", "user_id": "string", "user_uuid": "string", "uuid": "string" } ```