You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`/api/v1/object/upload`|**POST**| ASYNC | Upload a file to MinIO | DONE |
34
-
|`/api/v1/object/ingest`|**POST**| ASYNC | Ingest a specific file from MinIO | DONE |
35
-
|`/api/v1/object/ingest-text`|**POST**| ASYNC | Emedding a raw text | DONE |
36
-
|`/api/v1/object/upload-ingest`|**POST**| ASYNC | Upload to MinIO and trigger ingestion | DONE |
37
-
|`/api/v1/object/search`|**POST**| ASYNC | Search for files based on description | DONE |
38
-
|`/api/v1/object/download`|**POST**| STREAM | Download file from MinIO | DONE |
39
-
40
-
## API reference
41
-
[Content Search API reference](./docs/dev_guide/Content_search_API.md)
42
-
28
+
| Endpoint | Method | Pattern | Description |
29
+
| :--- | :---: | :---: | :--- |
30
+
|`/api/v1/task/query/{task_id}`|**GET**| SYNC |**Task Status Inspection**: Retrieves real-time metadata for a specific job, including current lifecycle state (e.g. PROCESSING, COMPLETED, FAILED), and error logs if applicable. |
31
+
|`/api/v1/task/list`|**GET**| SYNC |**Batch Task Retrieval**: Queries task records. Supports filtering via query parameters (e.g., `?status=PROCESSING`) for monitoring system load and pipeline efficiency. |
32
+
|`/api/v1/object/ingest-text`|**POST**| ASYNC |**Text-Specific Ingestion**: Primarily processes raw text strings passed in the request body for semantic indexing. It also supports fetching content from existing text-based objects in MinIO. |
33
+
|`/api/v1/object/upload-ingest`|**POST**| ASYNC |**Atomic Upload & Ingestion**: A unified workflow that first saves the file to MinIO and then immediately initiates the ingestion pipeline. Features full content indexing and AI-driven Video Summarization for supported video formats. |
34
+
|`/api/v1/object/search`|**POST**| SYNC |**Semantic Content Retrieval**: Executes a similarity search across vector collections using either natural language queries or base64-encoded images. Returns ranked results with associated metadata and MinIO object references. |
35
+
|`/api/v1/object/download`|**POST**| STREAM |**Original File Download**: Securely fetches the raw source file directly from MinIO storage. Utilizes stream-bridging to pipe binary data to the client. |
36
+
37
+
For detailed descriptions and examples of each endpoint, please refer to the: [Content Search API reference](./docs/dev_guide/Content_search_API.md)
38
+
39
+
## Components API reference
43
40
[Ingest and Retrieve](./docs/dev_guide/file_ingest_and_retrieve/API_GUIDE.md)
Primarily processes raw text strings passed in the request body for semantic indexing. It also supports fetching content from existing text-based objects in MinIO.
264
+
265
+
* URL: /api/v1/object/ingest-text
266
+
* Method: POST
267
+
* Pattern: ASYNC
268
+
* Parameters:
269
+
270
+
| Field | Type | Required | Default | Description |
271
+
| :--- | :--- | :--- | :--- | :--- |
272
+
|`text`|`string`|**Yes**| — |**Raw text content** to be segmented, embedded, and stored in the vector database. |
273
+
|`bucket_name`|`string`| No | — | MinIO bucket name (used to logically group the data or build the identifier). |
274
+
|`file_path`|`string`| No | — | Logical path or filename (used as a unique identifier for the text source). |
275
+
|`meta`|`object`| No |`{}`| Extra metadata to store alongside the text (e.g., `course`, `author`, `tags`). |
"text": "Newton'\''s Second Law of Motion states that the force acting on an object is equal to the mass of that object multiplied by its acceleration (F = ma). This relationship describes how the velocity of an object changes when it is subjected to an external force.",
"message": "Text ingestion task created successfully",
298
+
"timestamp": 1775006765
299
+
}
300
+
```
301
+
302
+
#### File upload and ingestion
303
+
A unified workflow that first saves the file to MinIO and then immediately initiates the ingestion pipeline. Features full content indexing and AI-driven Video Summarization for supported video formats.
251
304
252
-
### File upload ana ingestion
253
305
* URL: /api/v1/object/upload-ingest
254
306
* Method: POST
255
307
* Content-Type: multipart/form-data
@@ -263,6 +315,7 @@ Response:
263
315
| chunk_duration | integer | No | Segment duration in seconds (passed as a Form field). |
264
316
| meta | string | No | JSON string of metadata (e.g., '{"course": "CS101"}'). |
Executes a similarity search across vector collections using either natural language queries or base64-encoded images. Returns ranked results with associated metadata and MinIO object references.
341
+
287
342
* URL: /api/v1/object/search
288
343
* Method: POST
289
344
* Content-Type: multipart/form-data
290
-
* Pattern: ASYNC
345
+
* Pattern: SYNC
291
346
* Parameters:
292
347
293
348
| Field | Type | Required | Description |
@@ -297,8 +352,9 @@ Response (200 OK):
297
352
| max_num_results | integer | No | Maximum number of results to return. Defaults to 10. |
0 commit comments