スレッドを取得
Get a thread with messages. Supports pagination via limit/offset.
パスパラメータ
クエリパラメータ
Max messages to return; 0 returns metadata without messages
Skip first N messages
0 <= value0Optional isolation space guard
Optional canonical Local stored-row URI returned as thread_reference. Selects that exact row within the existing Space lens. It never falls back to thread_id. Hosted Cloud rejects Local stored references.
Local/self-hosted detail-only selector. public resolves the canonical public ID without a storage fallback; storage selects its immutable storage ID. Cannot be combined with thread_reference. An explicit space_id is matched exactly, including blank, whitespace, padded and literal all values.
Value in
- "public"
- "storage"
Request exact identity proof before a mutation. More than one readable public/storage match returns thread_read_identity_ambiguous. A successful proof response includes identity_is_unique=true; older servers without that proof must not authorize an inferred-Space write. Ordinary browsing is unchanged.
falseレスポンスボディ
application/json
application/json
curl -X GET "https://example.com/threads/string"{ "covered_message_ids": [ "string" ], "entities": [ "string" ], "identity_is_unique": true, "identity_namespace": "public", "messages": [ { "content": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "metadata": {}, "node_type": "Thread", "order_index": 0, "role": "string", "timestamp": "2019-08-24T14:15:22Z", "token_count": 0, "updated_at": "2019-08-24T14:15:22Z" } ], "related_memories": [ { "access_count": 0, "appearances": 0, "clicks": 0, "confidence": 0.5, "content": "string", "created_at": "2019-08-24T14:15:22Z", "crystal_title": "string", "decay_score_cached": 1, "embedding": [ 0 ], "event_end": "string", "event_start": "string", "extraction_method": "manual", "id": "string", "importance": 0.5, "is_crystal": false, "is_latest": true, "last_accessed_at": "2019-08-24T14:15:22Z", "last_clicked_at": "2019-08-24T14:15:22Z", "last_evaluated_at": "2019-08-24T14:15:22Z", "last_reindexed_at": "2019-08-24T14:15:22Z", "metadata": {}, "node_type": "Thread", "pagerank_score": 0, "reindex_needed": false, "review_status": "", "semantic_field": "string", "source": "string", "source_range": { "property1": 0, "property2": 0 }, "source_unit_count": 0, "space_id": "default", "temporal_confidence": 0, "temporal_context": "timeless", "temporal_precision": "string", "temporal_type": "string", "title": "string", "total_dwell_time_ms": 0, "unit_type": "fact", "updated_at": "2019-08-24T14:15:22Z", "version": 1 } ], "thread": { "created_at": "2019-08-24T14:15:22Z", "id": "string", "import_date": "2019-08-24T14:15:22Z", "message_count": 0, "metadata": {}, "node_type": "Thread", "participants": [ "string" ], "project": "string", "source": "string", "space_id": "default", "storage_id": "string", "summary": "string", "thread_id": "string", "thread_reference": "string", "title": "string", "tool_version": "string", "updated_at": "2019-08-24T14:15:22Z", "workspace": "string" }, "total_messages": 0, "total_tokens": 0}