@alien_intelligence/data-api-client 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/README.md +70 -0
  2. package/dist/apis/AdminApi.d.ts +84 -0
  3. package/dist/apis/AdminApi.js +106 -0
  4. package/dist/apis/DatasetsApi.d.ts +221 -0
  5. package/dist/apis/DatasetsApi.js +250 -0
  6. package/dist/apis/DefaultApi.d.ts +48 -0
  7. package/dist/apis/DefaultApi.js +84 -0
  8. package/dist/apis/EmbeddingsApi.d.ts +111 -0
  9. package/dist/apis/EmbeddingsApi.js +134 -0
  10. package/dist/apis/EntriesApi.d.ts +458 -0
  11. package/dist/apis/EntriesApi.js +500 -0
  12. package/dist/apis/HealthApi.d.ts +118 -0
  13. package/dist/apis/HealthApi.js +125 -0
  14. package/dist/apis/PipelinesApi.d.ts +229 -0
  15. package/dist/apis/PipelinesApi.js +242 -0
  16. package/dist/apis/SearchApi.d.ts +109 -0
  17. package/dist/apis/SearchApi.js +144 -0
  18. package/dist/apis/SyncApi.d.ts +80 -0
  19. package/dist/apis/SyncApi.js +103 -0
  20. package/dist/apis/WebhooksApi.d.ts +94 -0
  21. package/dist/apis/WebhooksApi.js +127 -0
  22. package/dist/apis/WeightsApi.d.ts +276 -0
  23. package/dist/apis/WeightsApi.js +328 -0
  24. package/dist/apis/index.d.ts +11 -0
  25. package/dist/apis/index.js +29 -0
  26. package/dist/index.d.ts +3 -0
  27. package/dist/index.js +21 -0
  28. package/dist/models/ArtifactInputConfig.d.ts +46 -0
  29. package/dist/models/ArtifactInputConfig.js +58 -0
  30. package/dist/models/BatchContentRequest.d.ts +32 -0
  31. package/dist/models/BatchContentRequest.js +50 -0
  32. package/dist/models/BatchContentResponse.d.ts +33 -0
  33. package/dist/models/BatchContentResponse.js +51 -0
  34. package/dist/models/BatchGetEntriesRequest.d.ts +56 -0
  35. package/dist/models/BatchGetEntriesRequest.js +58 -0
  36. package/dist/models/BatchGetEntriesResponse.d.ts +39 -0
  37. package/dist/models/BatchGetEntriesResponse.js +55 -0
  38. package/dist/models/ChunkSearchResponse.d.ts +47 -0
  39. package/dist/models/ChunkSearchResponse.js +57 -0
  40. package/dist/models/ChunkSearchResult.d.ts +52 -0
  41. package/dist/models/ChunkSearchResult.js +58 -0
  42. package/dist/models/CollectionInfo.d.ts +50 -0
  43. package/dist/models/CollectionInfo.js +62 -0
  44. package/dist/models/ComponentArtifact.d.ts +46 -0
  45. package/dist/models/ComponentArtifact.js +54 -0
  46. package/dist/models/ComponentListResponse.d.ts +47 -0
  47. package/dist/models/ComponentListResponse.js +57 -0
  48. package/dist/models/ComponentMetadata.d.ts +95 -0
  49. package/dist/models/ComponentMetadata.js +74 -0
  50. package/dist/models/ComponentParameter.d.ts +48 -0
  51. package/dist/models/ComponentParameter.js +55 -0
  52. package/dist/models/CreateCollectionRequest.d.ts +44 -0
  53. package/dist/models/CreateCollectionRequest.js +54 -0
  54. package/dist/models/Dataset.d.ts +117 -0
  55. package/dist/models/Dataset.js +94 -0
  56. package/dist/models/DatasetCreateRequest.d.ts +58 -0
  57. package/dist/models/DatasetCreateRequest.js +68 -0
  58. package/dist/models/DatasetListResponse.d.ts +51 -0
  59. package/dist/models/DatasetListResponse.js +59 -0
  60. package/dist/models/DatasetPipelineConfigInput.d.ts +62 -0
  61. package/dist/models/DatasetPipelineConfigInput.js +65 -0
  62. package/dist/models/DatasetPipelineConfigOutput.d.ts +62 -0
  63. package/dist/models/DatasetPipelineConfigOutput.js +65 -0
  64. package/dist/models/DatasetResponse.d.ts +124 -0
  65. package/dist/models/DatasetResponse.js +100 -0
  66. package/dist/models/DatasetSchemaDefinition.d.ts +65 -0
  67. package/dist/models/DatasetSchemaDefinition.js +71 -0
  68. package/dist/models/DatasetSchemaOriginal.d.ts +46 -0
  69. package/dist/models/DatasetSchemaOriginal.js +52 -0
  70. package/dist/models/DatasetSchemaProcessed.d.ts +46 -0
  71. package/dist/models/DatasetSchemaProcessed.js +52 -0
  72. package/dist/models/DatasetSchemaProcessing.d.ts +38 -0
  73. package/dist/models/DatasetSchemaProcessing.js +50 -0
  74. package/dist/models/DatasetType.d.ts +27 -0
  75. package/dist/models/DatasetType.js +53 -0
  76. package/dist/models/DatasetUpdateSchemaRequest.d.ts +39 -0
  77. package/dist/models/DatasetUpdateSchemaRequest.js +55 -0
  78. package/dist/models/Default.d.ts +26 -0
  79. package/dist/models/Default.js +38 -0
  80. package/dist/models/EmbeddingProvider.d.ts +27 -0
  81. package/dist/models/EmbeddingProvider.js +53 -0
  82. package/dist/models/EmbeddingResponse.d.ts +57 -0
  83. package/dist/models/EmbeddingResponse.js +67 -0
  84. package/dist/models/Entry.d.ts +130 -0
  85. package/dist/models/Entry.js +100 -0
  86. package/dist/models/EntryContentResponse.d.ts +40 -0
  87. package/dist/models/EntryContentResponse.js +54 -0
  88. package/dist/models/EntryCreateRequest.d.ts +58 -0
  89. package/dist/models/EntryCreateRequest.js +62 -0
  90. package/dist/models/EntryCreateResponse.d.ts +39 -0
  91. package/dist/models/EntryCreateResponse.js +53 -0
  92. package/dist/models/EntryManifest.d.ts +71 -0
  93. package/dist/models/EntryManifest.js +65 -0
  94. package/dist/models/EntryPreview.d.ts +56 -0
  95. package/dist/models/EntryPreview.js +54 -0
  96. package/dist/models/EntrySearchResponse.d.ts +47 -0
  97. package/dist/models/EntrySearchResponse.js +57 -0
  98. package/dist/models/EntrySearchResult.d.ts +65 -0
  99. package/dist/models/EntrySearchResult.js +69 -0
  100. package/dist/models/EntryStatus.d.ts +29 -0
  101. package/dist/models/EntryStatus.js +55 -0
  102. package/dist/models/EntryUpdateRequest.d.ts +53 -0
  103. package/dist/models/EntryUpdateRequest.js +55 -0
  104. package/dist/models/EntryWithContent.d.ts +132 -0
  105. package/dist/models/EntryWithContent.js +102 -0
  106. package/dist/models/FileMetadata.d.ts +62 -0
  107. package/dist/models/FileMetadata.js +64 -0
  108. package/dist/models/GenerateEmbeddingsRequest.d.ts +44 -0
  109. package/dist/models/GenerateEmbeddingsRequest.js +54 -0
  110. package/dist/models/HTTPValidationError.d.ts +33 -0
  111. package/dist/models/HTTPValidationError.js +49 -0
  112. package/dist/models/HealthResponse.d.ts +50 -0
  113. package/dist/models/HealthResponse.js +62 -0
  114. package/dist/models/KeywordSearchHit.d.ts +96 -0
  115. package/dist/models/KeywordSearchHit.js +82 -0
  116. package/dist/models/KeywordSearchRequest.d.ts +102 -0
  117. package/dist/models/KeywordSearchRequest.js +80 -0
  118. package/dist/models/KeywordSearchResponse.d.ts +47 -0
  119. package/dist/models/KeywordSearchResponse.js +57 -0
  120. package/dist/models/ModelInfo.d.ts +51 -0
  121. package/dist/models/ModelInfo.js +63 -0
  122. package/dist/models/OriginalManifest.d.ts +41 -0
  123. package/dist/models/OriginalManifest.js +51 -0
  124. package/dist/models/PipelineStepConfig.d.ts +80 -0
  125. package/dist/models/PipelineStepConfig.js +69 -0
  126. package/dist/models/PresetListResponse.d.ts +42 -0
  127. package/dist/models/PresetListResponse.js +54 -0
  128. package/dist/models/ProcessedManifest.d.ts +59 -0
  129. package/dist/models/ProcessedManifest.js +57 -0
  130. package/dist/models/ProcessingManifest.d.ts +39 -0
  131. package/dist/models/ProcessingManifest.js +51 -0
  132. package/dist/models/RetryFailedWebhooksResponse.d.ts +44 -0
  133. package/dist/models/RetryFailedWebhooksResponse.js +58 -0
  134. package/dist/models/SaveProcessedContentRequest.d.ts +42 -0
  135. package/dist/models/SaveProcessedContentRequest.js +52 -0
  136. package/dist/models/SaveProcessedContentResponse.d.ts +45 -0
  137. package/dist/models/SaveProcessedContentResponse.js +57 -0
  138. package/dist/models/SearchSnippet.d.ts +57 -0
  139. package/dist/models/SearchSnippet.js +65 -0
  140. package/dist/models/SnippetContext.d.ts +68 -0
  141. package/dist/models/SnippetContext.js +75 -0
  142. package/dist/models/UploadFileResponse.d.ts +63 -0
  143. package/dist/models/UploadFileResponse.js +69 -0
  144. package/dist/models/ValidationError.d.ts +45 -0
  145. package/dist/models/ValidationError.js +59 -0
  146. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  147. package/dist/models/ValidationErrorLocInner.js +38 -0
  148. package/dist/models/VectorSearchRequest.d.ts +71 -0
  149. package/dist/models/VectorSearchRequest.js +60 -0
  150. package/dist/models/WebhookEndpointCreate.d.ts +32 -0
  151. package/dist/models/WebhookEndpointCreate.js +50 -0
  152. package/dist/models/WebhookEndpointResponse.d.ts +50 -0
  153. package/dist/models/WebhookEndpointResponse.js +62 -0
  154. package/dist/models/Weight.d.ts +101 -0
  155. package/dist/models/Weight.js +85 -0
  156. package/dist/models/WeightListResponse.d.ts +51 -0
  157. package/dist/models/WeightListResponse.js +59 -0
  158. package/dist/models/WeightResponse.d.ts +107 -0
  159. package/dist/models/WeightResponse.js +87 -0
  160. package/dist/models/WeightType.d.ts +26 -0
  161. package/dist/models/WeightType.js +52 -0
  162. package/dist/models/index.d.ts +66 -0
  163. package/dist/models/index.js +84 -0
  164. package/dist/runtime.d.ts +182 -0
  165. package/dist/runtime.js +334 -0
  166. package/package.json +38 -0
  167. package/src/apis/AdminApi.ts +140 -0
  168. package/src/apis/DatasetsApi.ts +461 -0
  169. package/src/apis/DefaultApi.ts +79 -0
  170. package/src/apis/EmbeddingsApi.ts +204 -0
  171. package/src/apis/EntriesApi.ts +969 -0
  172. package/src/apis/HealthApi.ts +161 -0
  173. package/src/apis/PipelinesApi.ts +432 -0
  174. package/src/apis/SearchApi.ts +234 -0
  175. package/src/apis/SyncApi.ts +125 -0
  176. package/src/apis/WebhooksApi.ts +191 -0
  177. package/src/apis/WeightsApi.ts +600 -0
  178. package/src/apis/index.ts +13 -0
  179. package/src/index.ts +5 -0
  180. package/src/models/ArtifactInputConfig.ts +86 -0
  181. package/src/models/BatchContentRequest.ts +66 -0
  182. package/src/models/BatchContentResponse.ts +74 -0
  183. package/src/models/BatchGetEntriesRequest.ts +98 -0
  184. package/src/models/BatchGetEntriesResponse.ts +83 -0
  185. package/src/models/ChunkSearchResponse.ts +91 -0
  186. package/src/models/ChunkSearchResult.ts +91 -0
  187. package/src/models/CollectionInfo.ts +93 -0
  188. package/src/models/ComponentArtifact.ts +84 -0
  189. package/src/models/ComponentListResponse.ts +93 -0
  190. package/src/models/ComponentMetadata.ts +158 -0
  191. package/src/models/ComponentParameter.ts +93 -0
  192. package/src/models/CreateCollectionRequest.ts +82 -0
  193. package/src/models/Dataset.ts +200 -0
  194. package/src/models/DatasetCreateRequest.ts +119 -0
  195. package/src/models/DatasetListResponse.ts +99 -0
  196. package/src/models/DatasetPipelineConfigInput.ts +112 -0
  197. package/src/models/DatasetPipelineConfigOutput.ts +112 -0
  198. package/src/models/DatasetResponse.ts +212 -0
  199. package/src/models/DatasetSchemaDefinition.ts +132 -0
  200. package/src/models/DatasetSchemaOriginal.ts +81 -0
  201. package/src/models/DatasetSchemaProcessed.ts +81 -0
  202. package/src/models/DatasetSchemaProcessing.ts +73 -0
  203. package/src/models/DatasetType.ts +55 -0
  204. package/src/models/DatasetUpdateSchemaRequest.ts +83 -0
  205. package/src/models/Default.ts +46 -0
  206. package/src/models/EmbeddingProvider.ts +55 -0
  207. package/src/models/EmbeddingResponse.ts +112 -0
  208. package/src/models/Entry.ts +218 -0
  209. package/src/models/EntryContentResponse.ts +75 -0
  210. package/src/models/EntryCreateRequest.ts +100 -0
  211. package/src/models/EntryCreateResponse.ts +82 -0
  212. package/src/models/EntryManifest.ts +135 -0
  213. package/src/models/EntryPreview.ts +89 -0
  214. package/src/models/EntrySearchResponse.ts +91 -0
  215. package/src/models/EntrySearchResult.ts +118 -0
  216. package/src/models/EntryStatus.ts +57 -0
  217. package/src/models/EntryUpdateRequest.ts +99 -0
  218. package/src/models/EntryWithContent.ts +220 -0
  219. package/src/models/FileMetadata.ts +108 -0
  220. package/src/models/GenerateEmbeddingsRequest.ts +82 -0
  221. package/src/models/HTTPValidationError.ts +73 -0
  222. package/src/models/HealthResponse.ts +93 -0
  223. package/src/models/KeywordSearchHit.ts +166 -0
  224. package/src/models/KeywordSearchRequest.ts +159 -0
  225. package/src/models/KeywordSearchResponse.ts +91 -0
  226. package/src/models/ModelInfo.ts +103 -0
  227. package/src/models/OriginalManifest.ts +81 -0
  228. package/src/models/PipelineStepConfig.ts +135 -0
  229. package/src/models/PresetListResponse.ts +77 -0
  230. package/src/models/ProcessedManifest.ts +105 -0
  231. package/src/models/ProcessingManifest.ts +81 -0
  232. package/src/models/RetryFailedWebhooksResponse.ts +84 -0
  233. package/src/models/SaveProcessedContentRequest.ts +74 -0
  234. package/src/models/SaveProcessedContentResponse.ts +91 -0
  235. package/src/models/SearchSnippet.ts +109 -0
  236. package/src/models/SnippetContext.ts +113 -0
  237. package/src/models/UploadFileResponse.ts +118 -0
  238. package/src/models/ValidationError.ts +92 -0
  239. package/src/models/ValidationErrorLocInner.ts +46 -0
  240. package/src/models/VectorSearchRequest.ts +116 -0
  241. package/src/models/WebhookEndpointCreate.ts +66 -0
  242. package/src/models/WebhookEndpointResponse.ts +93 -0
  243. package/src/models/Weight.ts +170 -0
  244. package/src/models/WeightListResponse.ts +99 -0
  245. package/src/models/WeightResponse.ts +178 -0
  246. package/src/models/WeightType.ts +54 -0
  247. package/src/models/index.ts +68 -0
  248. package/src/runtime.ts +431 -0
@@ -0,0 +1,458 @@
1
+ /**
2
+ * Client Data API
3
+ * Client Cluster Data API - Manifest-based storage service
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { BatchContentRequest, BatchContentResponse, BatchGetEntriesRequest, BatchGetEntriesResponse, Entry, EntryCreateRequest, EntryCreateResponse, EntryUpdateRequest, SaveProcessedContentRequest, SaveProcessedContentResponse, UploadFileResponse } from '../models/index';
14
+ export interface BatchGetContentApiV1EntriesBatchContentPostRequest {
15
+ batchContentRequest: BatchContentRequest;
16
+ }
17
+ export interface BatchGetEntriesApiV1EntriesBatchPostRequest {
18
+ batchGetEntriesRequest: BatchGetEntriesRequest;
19
+ }
20
+ export interface CreateEntryApiV1EntriesPostRequest {
21
+ entryCreateRequest: EntryCreateRequest;
22
+ }
23
+ export interface DeleteEntryApiV1EntriesEntryIdDeleteRequest {
24
+ entryId: number;
25
+ }
26
+ export interface DownloadFileApiV1EntriesEntryIdDownloadGetRequest {
27
+ entryId: number;
28
+ filename?: string | null;
29
+ fileType?: string;
30
+ }
31
+ export interface GetEntryApiV1EntriesEntryIdGetRequest {
32
+ entryId: number;
33
+ }
34
+ export interface GetEntryContentApiV1EntriesEntryIdContentGetRequest {
35
+ entryId: number;
36
+ }
37
+ export interface GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest {
38
+ entryId: number;
39
+ }
40
+ export interface IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest {
41
+ entryId: number;
42
+ requestBody: {
43
+ [key: string]: any;
44
+ };
45
+ }
46
+ export interface ListEntriesApiV1EntriesGetRequest {
47
+ datasetId: number;
48
+ page?: number;
49
+ limit?: number;
50
+ statusFilter?: string | null;
51
+ }
52
+ export interface SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest {
53
+ entryId: number;
54
+ saveProcessedContentRequest: SaveProcessedContentRequest;
55
+ }
56
+ export interface TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest {
57
+ entryId: number;
58
+ }
59
+ export interface UpdateEntryApiV1EntriesEntryIdPatchRequest {
60
+ entryId: number;
61
+ entryUpdateRequest: EntryUpdateRequest;
62
+ }
63
+ export interface UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest {
64
+ entryId: number;
65
+ file: Blob;
66
+ fileType?: string;
67
+ }
68
+ /**
69
+ * EntriesApi - interface
70
+ *
71
+ * @export
72
+ * @interface EntriesApiInterface
73
+ */
74
+ export interface EntriesApiInterface {
75
+ /**
76
+ * Get processed content for multiple entries in parallel. THIS IS THE MAGIC endpoint for fast vector search results! - Fetches 50+ entries in ~250ms (vs 25 seconds with Parquet)
77
+ * @summary Batch Get Content
78
+ * @param {BatchContentRequest} batchContentRequest
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ * @memberof EntriesApiInterface
82
+ */
83
+ batchGetContentApiV1EntriesBatchContentPostRaw(requestParameters: BatchGetContentApiV1EntriesBatchContentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchContentResponse>>;
84
+ /**
85
+ * Get processed content for multiple entries in parallel. THIS IS THE MAGIC endpoint for fast vector search results! - Fetches 50+ entries in ~250ms (vs 25 seconds with Parquet)
86
+ * Batch Get Content
87
+ */
88
+ batchGetContentApiV1EntriesBatchContentPost(requestParameters: BatchGetContentApiV1EntriesBatchContentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchContentResponse>;
89
+ /**
90
+ * Get multiple entries in batch (with optional content). This is optimized for performance: - Parallel database queries - Parallel S3 content fetching - Efficient for RAG/vector search results
91
+ * @summary Batch Get Entries
92
+ * @param {BatchGetEntriesRequest} batchGetEntriesRequest
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ * @memberof EntriesApiInterface
96
+ */
97
+ batchGetEntriesApiV1EntriesBatchPostRaw(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchGetEntriesResponse>>;
98
+ /**
99
+ * Get multiple entries in batch (with optional content). This is optimized for performance: - Parallel database queries - Parallel S3 content fetching - Efficient for RAG/vector search results
100
+ * Batch Get Entries
101
+ */
102
+ batchGetEntriesApiV1EntriesBatchPost(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchGetEntriesResponse>;
103
+ /**
104
+ * Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
105
+ * @summary Create Entry
106
+ * @param {EntryCreateRequest} entryCreateRequest
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ * @memberof EntriesApiInterface
110
+ */
111
+ createEntryApiV1EntriesPostRaw(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EntryCreateResponse>>;
112
+ /**
113
+ * Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
114
+ * Create Entry
115
+ */
116
+ createEntryApiV1EntriesPost(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EntryCreateResponse>;
117
+ /**
118
+ * Delete entry and all its files. Warning: This permanently deletes all files from storage. Also deletes associated chunks from Qdrant if they exist. Returns: Dict with deletion status: { \"message\": \"Entry deleted successfully\", \"cleanup_status\": { \"database\": bool, \"webhook\": bool, \"minio\": bool, \"qdrant\": bool, \"meilisearch\": bool }, \"warnings\": [\"component1\", \"component2\"] (optional, if any cleanups failed) }
119
+ * @summary Delete Entry
120
+ * @param {number} entryId
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ * @memberof EntriesApiInterface
124
+ */
125
+ deleteEntryApiV1EntriesEntryIdDeleteRaw(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
126
+ [key: string]: any;
127
+ }>>;
128
+ /**
129
+ * Delete entry and all its files. Warning: This permanently deletes all files from storage. Also deletes associated chunks from Qdrant if they exist. Returns: Dict with deletion status: { \"message\": \"Entry deleted successfully\", \"cleanup_status\": { \"database\": bool, \"webhook\": bool, \"minio\": bool, \"qdrant\": bool, \"meilisearch\": bool }, \"warnings\": [\"component1\", \"component2\"] (optional, if any cleanups failed) }
130
+ * Delete Entry
131
+ */
132
+ deleteEntryApiV1EntriesEntryIdDelete(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
133
+ [key: string]: any;
134
+ }>;
135
+ /**
136
+ * Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section — ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
137
+ * @summary Download File
138
+ * @param {number} entryId
139
+ * @param {string} [filename]
140
+ * @param {string} [fileType]
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ * @memberof EntriesApiInterface
144
+ */
145
+ downloadFileApiV1EntriesEntryIdDownloadGetRaw(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
146
+ /**
147
+ * Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section — ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
148
+ * Download File
149
+ */
150
+ downloadFileApiV1EntriesEntryIdDownloadGet(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
151
+ /**
152
+ * Get entry by ID
153
+ * @summary Get Entry
154
+ * @param {number} entryId
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ * @memberof EntriesApiInterface
158
+ */
159
+ getEntryApiV1EntriesEntryIdGetRaw(requestParameters: GetEntryApiV1EntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Entry>>;
160
+ /**
161
+ * Get entry by ID
162
+ * Get Entry
163
+ */
164
+ getEntryApiV1EntriesEntryIdGet(requestParameters: GetEntryApiV1EntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
165
+ /**
166
+ * Get processed content for a single entry
167
+ * @summary Get Entry Content
168
+ * @param {number} entryId
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ * @memberof EntriesApiInterface
172
+ */
173
+ getEntryContentApiV1EntriesEntryIdContentGetRaw(requestParameters: GetEntryContentApiV1EntriesEntryIdContentGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
174
+ [key: string]: any;
175
+ }>>;
176
+ /**
177
+ * Get processed content for a single entry
178
+ * Get Entry Content
179
+ */
180
+ getEntryContentApiV1EntriesEntryIdContentGet(requestParameters: GetEntryContentApiV1EntriesEntryIdContentGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
181
+ [key: string]: any;
182
+ }>;
183
+ /**
184
+ * Get workflow status for an entry. Queries Argo Workflows API to get the current status of the pipeline workflow for this entry, including individual task statuses. **Note**: This endpoint queries the Argo API directly. If the workflow is not found or Argo is unavailable, it will return Unknown status. **Returns**: - entry_id: Entry ID - workflow_name: Argo workflow name (if found) - workflow_status: Overall status (Pending, Running, Succeeded, Failed, Error, Unknown) - workflow_phase: Argo workflow phase - start_time: When workflow started - finish_time: When workflow completed (if finished) - tasks: List of individual task statuses - message: Status message or error details **Error Responses**: - 404: Entry not found - 503: Argo Workflows unavailable
185
+ * @summary Get Workflow Status
186
+ * @param {number} entryId
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ * @memberof EntriesApiInterface
190
+ */
191
+ getWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRaw(requestParameters: GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
192
+ /**
193
+ * Get workflow status for an entry. Queries Argo Workflows API to get the current status of the pipeline workflow for this entry, including individual task statuses. **Note**: This endpoint queries the Argo API directly. If the workflow is not found or Argo is unavailable, it will return Unknown status. **Returns**: - entry_id: Entry ID - workflow_name: Argo workflow name (if found) - workflow_status: Overall status (Pending, Running, Succeeded, Failed, Error, Unknown) - workflow_phase: Argo workflow phase - start_time: When workflow started - finish_time: When workflow completed (if finished) - tasks: List of individual task statuses - message: Status message or error details **Error Responses**: - 404: Entry not found - 503: Argo Workflows unavailable
194
+ * Get Workflow Status
195
+ */
196
+ getWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGet(requestParameters: GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
197
+ /**
198
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. Request body: { \"chunks\": [ { \"chunk_text\": \"...\", \"chunk_index\": 0, \"embedding\": [0.1, 0.2, ...], \"metadata\": {\"page_number\": 1, ...} } ] } Note: Collection name is always determined by the tenant\'s QDRANT_COLLECTION_NAME configuration.
199
+ * @summary Index Entry Chunks
200
+ * @param {number} entryId
201
+ * @param {{ [key: string]: any; }} requestBody
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ * @memberof EntriesApiInterface
205
+ */
206
+ indexEntryChunksApiV1EntriesEntryIdChunksPostRaw(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
207
+ [key: string]: any;
208
+ }>>;
209
+ /**
210
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. Request body: { \"chunks\": [ { \"chunk_text\": \"...\", \"chunk_index\": 0, \"embedding\": [0.1, 0.2, ...], \"metadata\": {\"page_number\": 1, ...} } ] } Note: Collection name is always determined by the tenant\'s QDRANT_COLLECTION_NAME configuration.
211
+ * Index Entry Chunks
212
+ */
213
+ indexEntryChunksApiV1EntriesEntryIdChunksPost(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
214
+ [key: string]: any;
215
+ }>;
216
+ /**
217
+ * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
218
+ * @summary List Entries
219
+ * @param {number} datasetId
220
+ * @param {number} [page]
221
+ * @param {number} [limit]
222
+ * @param {string} [statusFilter]
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ * @memberof EntriesApiInterface
226
+ */
227
+ listEntriesApiV1EntriesGetRaw(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
228
+ [key: string]: any;
229
+ }>>;
230
+ /**
231
+ * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
232
+ * List Entries
233
+ */
234
+ listEntriesApiV1EntriesGet(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
235
+ [key: string]: any;
236
+ }>;
237
+ /**
238
+ * Save processed content for an entry. Called by workers/pipelines after processing.
239
+ * @summary Save Processed Content
240
+ * @param {number} entryId
241
+ * @param {SaveProcessedContentRequest} saveProcessedContentRequest
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ * @memberof EntriesApiInterface
245
+ */
246
+ saveProcessedContentApiV1EntriesEntryIdProcessedPostRaw(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveProcessedContentResponse>>;
247
+ /**
248
+ * Save processed content for an entry. Called by workers/pipelines after processing.
249
+ * Save Processed Content
250
+ */
251
+ saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveProcessedContentResponse>;
252
+ /**
253
+ * Trigger pipeline workflow for an entry. This endpoint: 1. Validates entry exists and is in a triggerable state 2. Validates dataset has a pipeline configured and enabled 3. Builds Argo Workflow from pipeline config using PipelineBuilder 4. Updates entry status to \'processing\' 5. Submits workflow to Argo Workflows 6. Returns workflow metadata **Valid Entry Statuses**: uploaded, error **Requirements**: Dataset must have pipeline_config with enabled=true **Error Responses**: - 404: Entry not found - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
254
+ * @summary Trigger Pipeline
255
+ * @param {number} entryId
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ * @memberof EntriesApiInterface
259
+ */
260
+ triggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRaw(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
261
+ /**
262
+ * Trigger pipeline workflow for an entry. This endpoint: 1. Validates entry exists and is in a triggerable state 2. Validates dataset has a pipeline configured and enabled 3. Builds Argo Workflow from pipeline config using PipelineBuilder 4. Updates entry status to \'processing\' 5. Submits workflow to Argo Workflows 6. Returns workflow metadata **Valid Entry Statuses**: uploaded, error **Requirements**: Dataset must have pipeline_config with enabled=true **Error Responses**: - 404: Entry not found - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
263
+ * Trigger Pipeline
264
+ */
265
+ triggerPipelineApiV1EntriesEntryIdTriggerPipelinePost(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
266
+ /**
267
+ * Update entry metadata. Allows updating name, description, status, and metadata fields.
268
+ * @summary Update Entry
269
+ * @param {number} entryId
270
+ * @param {EntryUpdateRequest} entryUpdateRequest
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ * @memberof EntriesApiInterface
274
+ */
275
+ updateEntryApiV1EntriesEntryIdPatchRaw(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Entry>>;
276
+ /**
277
+ * Update entry metadata. Allows updating name, description, status, and metadata fields.
278
+ * Update Entry
279
+ */
280
+ updateEntryApiV1EntriesEntryIdPatch(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
281
+ /**
282
+ * Upload a file to an existing entry. This saves the file to MinIO and updates the entry manifest in the appropriate section. **File Types**: - `original`: Original uploaded files (default) - stored in manifest.original.files - `processing`: Intermediate processing artifacts - stored in manifest.processing.files - `processed`: Final processed outputs - stored in manifest.processed.additional_files Can be called multiple times to upload additional files of any type.
283
+ * @summary Upload File To Entry
284
+ * @param {number} entryId
285
+ * @param {Blob} file File to upload
286
+ * @param {string} [fileType] File type: original|processing|processed
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ * @memberof EntriesApiInterface
290
+ */
291
+ uploadFileToEntryApiV1EntriesEntryIdUploadPostRaw(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadFileResponse>>;
292
+ /**
293
+ * Upload a file to an existing entry. This saves the file to MinIO and updates the entry manifest in the appropriate section. **File Types**: - `original`: Original uploaded files (default) - stored in manifest.original.files - `processing`: Intermediate processing artifacts - stored in manifest.processing.files - `processed`: Final processed outputs - stored in manifest.processed.additional_files Can be called multiple times to upload additional files of any type.
294
+ * Upload File To Entry
295
+ */
296
+ uploadFileToEntryApiV1EntriesEntryIdUploadPost(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadFileResponse>;
297
+ }
298
+ /**
299
+ *
300
+ */
301
+ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
302
+ /**
303
+ * Get processed content for multiple entries in parallel. THIS IS THE MAGIC endpoint for fast vector search results! - Fetches 50+ entries in ~250ms (vs 25 seconds with Parquet)
304
+ * Batch Get Content
305
+ */
306
+ batchGetContentApiV1EntriesBatchContentPostRaw(requestParameters: BatchGetContentApiV1EntriesBatchContentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchContentResponse>>;
307
+ /**
308
+ * Get processed content for multiple entries in parallel. THIS IS THE MAGIC endpoint for fast vector search results! - Fetches 50+ entries in ~250ms (vs 25 seconds with Parquet)
309
+ * Batch Get Content
310
+ */
311
+ batchGetContentApiV1EntriesBatchContentPost(requestParameters: BatchGetContentApiV1EntriesBatchContentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchContentResponse>;
312
+ /**
313
+ * Get multiple entries in batch (with optional content). This is optimized for performance: - Parallel database queries - Parallel S3 content fetching - Efficient for RAG/vector search results
314
+ * Batch Get Entries
315
+ */
316
+ batchGetEntriesApiV1EntriesBatchPostRaw(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchGetEntriesResponse>>;
317
+ /**
318
+ * Get multiple entries in batch (with optional content). This is optimized for performance: - Parallel database queries - Parallel S3 content fetching - Efficient for RAG/vector search results
319
+ * Batch Get Entries
320
+ */
321
+ batchGetEntriesApiV1EntriesBatchPost(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchGetEntriesResponse>;
322
+ /**
323
+ * Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
324
+ * Create Entry
325
+ */
326
+ createEntryApiV1EntriesPostRaw(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EntryCreateResponse>>;
327
+ /**
328
+ * Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
329
+ * Create Entry
330
+ */
331
+ createEntryApiV1EntriesPost(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EntryCreateResponse>;
332
+ /**
333
+ * Delete entry and all its files. Warning: This permanently deletes all files from storage. Also deletes associated chunks from Qdrant if they exist. Returns: Dict with deletion status: { \"message\": \"Entry deleted successfully\", \"cleanup_status\": { \"database\": bool, \"webhook\": bool, \"minio\": bool, \"qdrant\": bool, \"meilisearch\": bool }, \"warnings\": [\"component1\", \"component2\"] (optional, if any cleanups failed) }
334
+ * Delete Entry
335
+ */
336
+ deleteEntryApiV1EntriesEntryIdDeleteRaw(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
337
+ [key: string]: any;
338
+ }>>;
339
+ /**
340
+ * Delete entry and all its files. Warning: This permanently deletes all files from storage. Also deletes associated chunks from Qdrant if they exist. Returns: Dict with deletion status: { \"message\": \"Entry deleted successfully\", \"cleanup_status\": { \"database\": bool, \"webhook\": bool, \"minio\": bool, \"qdrant\": bool, \"meilisearch\": bool }, \"warnings\": [\"component1\", \"component2\"] (optional, if any cleanups failed) }
341
+ * Delete Entry
342
+ */
343
+ deleteEntryApiV1EntriesEntryIdDelete(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
344
+ [key: string]: any;
345
+ }>;
346
+ /**
347
+ * Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section — ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
348
+ * Download File
349
+ */
350
+ downloadFileApiV1EntriesEntryIdDownloadGetRaw(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
351
+ /**
352
+ * Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section — ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
353
+ * Download File
354
+ */
355
+ downloadFileApiV1EntriesEntryIdDownloadGet(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
356
+ /**
357
+ * Get entry by ID
358
+ * Get Entry
359
+ */
360
+ getEntryApiV1EntriesEntryIdGetRaw(requestParameters: GetEntryApiV1EntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Entry>>;
361
+ /**
362
+ * Get entry by ID
363
+ * Get Entry
364
+ */
365
+ getEntryApiV1EntriesEntryIdGet(requestParameters: GetEntryApiV1EntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
366
+ /**
367
+ * Get processed content for a single entry
368
+ * Get Entry Content
369
+ */
370
+ getEntryContentApiV1EntriesEntryIdContentGetRaw(requestParameters: GetEntryContentApiV1EntriesEntryIdContentGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
371
+ [key: string]: any;
372
+ }>>;
373
+ /**
374
+ * Get processed content for a single entry
375
+ * Get Entry Content
376
+ */
377
+ getEntryContentApiV1EntriesEntryIdContentGet(requestParameters: GetEntryContentApiV1EntriesEntryIdContentGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
378
+ [key: string]: any;
379
+ }>;
380
+ /**
381
+ * Get workflow status for an entry. Queries Argo Workflows API to get the current status of the pipeline workflow for this entry, including individual task statuses. **Note**: This endpoint queries the Argo API directly. If the workflow is not found or Argo is unavailable, it will return Unknown status. **Returns**: - entry_id: Entry ID - workflow_name: Argo workflow name (if found) - workflow_status: Overall status (Pending, Running, Succeeded, Failed, Error, Unknown) - workflow_phase: Argo workflow phase - start_time: When workflow started - finish_time: When workflow completed (if finished) - tasks: List of individual task statuses - message: Status message or error details **Error Responses**: - 404: Entry not found - 503: Argo Workflows unavailable
382
+ * Get Workflow Status
383
+ */
384
+ getWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRaw(requestParameters: GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
385
+ /**
386
+ * Get workflow status for an entry. Queries Argo Workflows API to get the current status of the pipeline workflow for this entry, including individual task statuses. **Note**: This endpoint queries the Argo API directly. If the workflow is not found or Argo is unavailable, it will return Unknown status. **Returns**: - entry_id: Entry ID - workflow_name: Argo workflow name (if found) - workflow_status: Overall status (Pending, Running, Succeeded, Failed, Error, Unknown) - workflow_phase: Argo workflow phase - start_time: When workflow started - finish_time: When workflow completed (if finished) - tasks: List of individual task statuses - message: Status message or error details **Error Responses**: - 404: Entry not found - 503: Argo Workflows unavailable
387
+ * Get Workflow Status
388
+ */
389
+ getWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGet(requestParameters: GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
390
+ /**
391
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. Request body: { \"chunks\": [ { \"chunk_text\": \"...\", \"chunk_index\": 0, \"embedding\": [0.1, 0.2, ...], \"metadata\": {\"page_number\": 1, ...} } ] } Note: Collection name is always determined by the tenant\'s QDRANT_COLLECTION_NAME configuration.
392
+ * Index Entry Chunks
393
+ */
394
+ indexEntryChunksApiV1EntriesEntryIdChunksPostRaw(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
395
+ [key: string]: any;
396
+ }>>;
397
+ /**
398
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. Request body: { \"chunks\": [ { \"chunk_text\": \"...\", \"chunk_index\": 0, \"embedding\": [0.1, 0.2, ...], \"metadata\": {\"page_number\": 1, ...} } ] } Note: Collection name is always determined by the tenant\'s QDRANT_COLLECTION_NAME configuration.
399
+ * Index Entry Chunks
400
+ */
401
+ indexEntryChunksApiV1EntriesEntryIdChunksPost(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
402
+ [key: string]: any;
403
+ }>;
404
+ /**
405
+ * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
406
+ * List Entries
407
+ */
408
+ listEntriesApiV1EntriesGetRaw(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
409
+ [key: string]: any;
410
+ }>>;
411
+ /**
412
+ * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
413
+ * List Entries
414
+ */
415
+ listEntriesApiV1EntriesGet(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
416
+ [key: string]: any;
417
+ }>;
418
+ /**
419
+ * Save processed content for an entry. Called by workers/pipelines after processing.
420
+ * Save Processed Content
421
+ */
422
+ saveProcessedContentApiV1EntriesEntryIdProcessedPostRaw(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveProcessedContentResponse>>;
423
+ /**
424
+ * Save processed content for an entry. Called by workers/pipelines after processing.
425
+ * Save Processed Content
426
+ */
427
+ saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveProcessedContentResponse>;
428
+ /**
429
+ * Trigger pipeline workflow for an entry. This endpoint: 1. Validates entry exists and is in a triggerable state 2. Validates dataset has a pipeline configured and enabled 3. Builds Argo Workflow from pipeline config using PipelineBuilder 4. Updates entry status to \'processing\' 5. Submits workflow to Argo Workflows 6. Returns workflow metadata **Valid Entry Statuses**: uploaded, error **Requirements**: Dataset must have pipeline_config with enabled=true **Error Responses**: - 404: Entry not found - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
430
+ * Trigger Pipeline
431
+ */
432
+ triggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRaw(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
433
+ /**
434
+ * Trigger pipeline workflow for an entry. This endpoint: 1. Validates entry exists and is in a triggerable state 2. Validates dataset has a pipeline configured and enabled 3. Builds Argo Workflow from pipeline config using PipelineBuilder 4. Updates entry status to \'processing\' 5. Submits workflow to Argo Workflows 6. Returns workflow metadata **Valid Entry Statuses**: uploaded, error **Requirements**: Dataset must have pipeline_config with enabled=true **Error Responses**: - 404: Entry not found - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
435
+ * Trigger Pipeline
436
+ */
437
+ triggerPipelineApiV1EntriesEntryIdTriggerPipelinePost(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
438
+ /**
439
+ * Update entry metadata. Allows updating name, description, status, and metadata fields.
440
+ * Update Entry
441
+ */
442
+ updateEntryApiV1EntriesEntryIdPatchRaw(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Entry>>;
443
+ /**
444
+ * Update entry metadata. Allows updating name, description, status, and metadata fields.
445
+ * Update Entry
446
+ */
447
+ updateEntryApiV1EntriesEntryIdPatch(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
448
+ /**
449
+ * Upload a file to an existing entry. This saves the file to MinIO and updates the entry manifest in the appropriate section. **File Types**: - `original`: Original uploaded files (default) - stored in manifest.original.files - `processing`: Intermediate processing artifacts - stored in manifest.processing.files - `processed`: Final processed outputs - stored in manifest.processed.additional_files Can be called multiple times to upload additional files of any type.
450
+ * Upload File To Entry
451
+ */
452
+ uploadFileToEntryApiV1EntriesEntryIdUploadPostRaw(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadFileResponse>>;
453
+ /**
454
+ * Upload a file to an existing entry. This saves the file to MinIO and updates the entry manifest in the appropriate section. **File Types**: - `original`: Original uploaded files (default) - stored in manifest.original.files - `processing`: Intermediate processing artifacts - stored in manifest.processing.files - `processed`: Final processed outputs - stored in manifest.processed.additional_files Can be called multiple times to upload additional files of any type.
455
+ * Upload File To Entry
456
+ */
457
+ uploadFileToEntryApiV1EntriesEntryIdUploadPost(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadFileResponse>;
458
+ }