会話を冪等にインポート
Import one conversation with the flat request fields, or use threads for a batch. Each item accepts parsed messages or conversation markdown_content. Provider and frontmatter identities are preserved; otherwise a stable identity is derived from the immutable conversation prefix. Exact replays succeed as already up to date, while later exports append only missing messages. See the Conversation Markdown format for portable .md files.
リクエストボディ
application/json
TypeScript定義
TypeScriptでrequest body型を使用します。
Import one or more conversation threads (schemas.ThreadImportRequest,
threads_module/schemas.py:490-525). Single mode sets the flat fields;
batch mode uses threads.
レスポンスボディ
application/json
application/json
curl -X POST "https://example.com/threads/import" \ -H "Content-Type: application/json" \ -d '{}'{ "auto_review": null, "failed_count": 0, "imported_count": 0, "results": [ { "canonical_content_committed": true, "canonical_reconciled": true, "compensation_complete": true, "compensation_outcome_uncertain": true, "confirmed_created_thread": true, "confirmed_messages_added": 0, "confirmed_total_messages": 0, "content_ownership_committed": true, "content_ownership_outcome_uncertain": true, "created_thread": true, "graph_move_committed": true, "graph_moved_count": 0, "graph_publication_pending": true, "graph_published": true, "index_repair_pending": true, "move_recovery_pending": true, "moved_count": 0, "partial_success": true, "publication_pending": true, "write_result_uncertain": true, "already_existed": true, "append_mode": "string", "error": "string", "error_code": "string", "message_count": 0, "messages_added": 0, "success": true, "thread_id": "string", "title": "string" } ], "skipped_count": 0, "success": true}