From e791da566f0eb70b73be0a17e31d1270f46047fe Mon Sep 17 00:00:00 2001 From: Accusys Date: Mon, 18 May 2026 01:22:43 +0800 Subject: [PATCH] docs: update universal search response with start_frame/end_frame, limit param --- docs_v1.0/API_WORKSPACE/modules/06_search.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs_v1.0/API_WORKSPACE/modules/06_search.md b/docs_v1.0/API_WORKSPACE/modules/06_search.md index fdcda00..e5b13c3 100644 --- a/docs_v1.0/API_WORKSPACE/modules/06_search.md +++ b/docs_v1.0/API_WORKSPACE/modules/06_search.md @@ -70,6 +70,7 @@ Multi-type BM25 full-text search across chunks, frames, and persons. Uses Postgr | `query` | string | Yes | — | Search text | | `file_uuid` | string | No | — | Restrict to specific file | | `types` | string[] | No | `["chunk","frame","person"]` | Search types | +| `limit` | integer | No | 10 | Max results per type | | `page` | integer | No | 1 | Page number | | `page_size` | integer | No | 20 | Items per page | @@ -89,11 +90,13 @@ curl -s -X POST "$API/api/v1/search/universal" \ "results": [ { "type": "chunk", - "chunk_id": "uuid_1429", + "chunk_id": "bd80fec92b0b6963d177a2c55bf713e2_2", "chunk_type": "story_child", - "start_time": 429.16, - "end_time": 430.5, - "text": "You could have the stamps.", + "start_frame": 5103, + "end_frame": 5127, + "start_time": 212.64, + "end_time": 213.64, + "text": "[213s-214s] Cary Grant: \"Olá!\"", "score": 0.9 } ],