@alien_intelligence/data-api-client 1.16.2 → 1.18.6

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 (294) hide show
  1. package/dist/src/apis/AdminApi.d.ts +1 -1
  2. package/dist/src/apis/AdminApi.js +1 -1
  3. package/dist/src/apis/DatasetsApi.d.ts +5 -5
  4. package/dist/src/apis/DatasetsApi.js +3 -3
  5. package/dist/src/apis/DefaultApi.d.ts +13 -5
  6. package/dist/src/apis/DefaultApi.js +2 -7
  7. package/dist/src/apis/EmbeddingsApi.d.ts +1 -1
  8. package/dist/src/apis/EmbeddingsApi.js +1 -1
  9. package/dist/src/apis/EntriesApi.d.ts +37 -10
  10. package/dist/src/apis/EntriesApi.js +31 -5
  11. package/dist/src/apis/HealthApi.d.ts +1 -1
  12. package/dist/src/apis/HealthApi.js +1 -1
  13. package/dist/src/apis/PipelinesApi.d.ts +1 -1
  14. package/dist/src/apis/PipelinesApi.js +1 -1
  15. package/dist/src/apis/SearchApi.d.ts +1 -1
  16. package/dist/src/apis/SearchApi.js +1 -1
  17. package/dist/src/apis/SyncApi.d.ts +1 -1
  18. package/dist/src/apis/SyncApi.js +1 -1
  19. package/dist/src/apis/WebhooksApi.d.ts +1 -1
  20. package/dist/src/apis/WebhooksApi.js +1 -1
  21. package/dist/src/apis/WeightsApi.d.ts +1 -1
  22. package/dist/src/apis/WeightsApi.js +1 -1
  23. package/dist/src/models/ArtifactInputConfig.d.ts +1 -1
  24. package/dist/src/models/ArtifactInputConfig.js +1 -1
  25. package/dist/src/models/BatchContentRequest.d.ts +1 -1
  26. package/dist/src/models/BatchContentRequest.js +1 -1
  27. package/dist/src/models/BatchContentResponse.d.ts +1 -1
  28. package/dist/src/models/BatchContentResponse.js +1 -1
  29. package/dist/src/models/BatchGetEntriesRequest.d.ts +1 -1
  30. package/dist/src/models/BatchGetEntriesRequest.js +1 -1
  31. package/dist/src/models/BatchGetEntriesResponse.d.ts +1 -1
  32. package/dist/src/models/BatchGetEntriesResponse.js +1 -1
  33. package/dist/src/models/ChunkSearchResponse.d.ts +1 -1
  34. package/dist/src/models/ChunkSearchResponse.js +1 -1
  35. package/dist/src/models/ChunkSearchResult.d.ts +1 -1
  36. package/dist/src/models/ChunkSearchResult.js +1 -1
  37. package/dist/src/models/CollectionInfo.d.ts +1 -1
  38. package/dist/src/models/CollectionInfo.js +1 -1
  39. package/dist/src/models/ComponentArtifact.d.ts +1 -1
  40. package/dist/src/models/ComponentArtifact.js +1 -1
  41. package/dist/src/models/ComponentListResponse.d.ts +1 -1
  42. package/dist/src/models/ComponentListResponse.js +1 -1
  43. package/dist/src/models/ComponentMetadata.d.ts +1 -1
  44. package/dist/src/models/ComponentMetadata.js +1 -1
  45. package/dist/src/models/ComponentParameter.d.ts +1 -1
  46. package/dist/src/models/ComponentParameter.js +1 -1
  47. package/dist/src/models/Dataset.d.ts +1 -1
  48. package/dist/src/models/Dataset.js +1 -1
  49. package/dist/src/models/DatasetCreateRequest.d.ts +1 -1
  50. package/dist/src/models/DatasetCreateRequest.js +1 -1
  51. package/dist/src/models/DatasetListResponse.d.ts +1 -1
  52. package/dist/src/models/DatasetListResponse.js +1 -1
  53. package/dist/src/models/DatasetPipelineConfig.d.ts +1 -1
  54. package/dist/src/models/DatasetPipelineConfig.js +1 -1
  55. package/dist/src/models/DatasetResponse.d.ts +1 -1
  56. package/dist/src/models/DatasetResponse.js +1 -1
  57. package/dist/src/models/DatasetSchemaDefinition.d.ts +1 -1
  58. package/dist/src/models/DatasetSchemaDefinition.js +1 -1
  59. package/dist/src/models/DatasetSchemaDefinitionCreate.d.ts +1 -1
  60. package/dist/src/models/DatasetSchemaDefinitionCreate.js +1 -1
  61. package/dist/src/models/DatasetSchemaOriginal.d.ts +1 -1
  62. package/dist/src/models/DatasetSchemaOriginal.js +1 -1
  63. package/dist/src/models/DatasetSchemaProcessed.d.ts +1 -1
  64. package/dist/src/models/DatasetSchemaProcessed.js +1 -1
  65. package/dist/src/models/DatasetSchemaProcessing.d.ts +1 -1
  66. package/dist/src/models/DatasetSchemaProcessing.js +1 -1
  67. package/dist/src/models/DatasetType.d.ts +1 -1
  68. package/dist/src/models/DatasetType.js +1 -1
  69. package/dist/src/models/DatasetUpdateRequest.d.ts +1 -1
  70. package/dist/src/models/DatasetUpdateRequest.js +1 -1
  71. package/dist/src/models/DatasetUpdateSchemaRequest.d.ts +1 -1
  72. package/dist/src/models/DatasetUpdateSchemaRequest.js +1 -1
  73. package/dist/src/models/Default.d.ts +1 -1
  74. package/dist/src/models/Default.js +1 -1
  75. package/dist/src/models/DeprecationNotice.d.ts +1 -1
  76. package/dist/src/models/DeprecationNotice.js +1 -1
  77. package/dist/src/models/DerivedPageReport.d.ts +1 -1
  78. package/dist/src/models/DerivedPageReport.js +1 -1
  79. package/dist/src/models/EmbeddingProvider.d.ts +1 -1
  80. package/dist/src/models/EmbeddingProvider.js +1 -1
  81. package/dist/src/models/EmbeddingResponse.d.ts +1 -1
  82. package/dist/src/models/EmbeddingResponse.js +1 -1
  83. package/dist/src/models/Entry.d.ts +1 -1
  84. package/dist/src/models/Entry.js +1 -1
  85. package/dist/src/models/EntryContentResponse.d.ts +1 -1
  86. package/dist/src/models/EntryContentResponse.js +1 -1
  87. package/dist/src/models/EntryCreateRequest.d.ts +1 -1
  88. package/dist/src/models/EntryCreateRequest.js +1 -1
  89. package/dist/src/models/EntryCreateResponse.d.ts +1 -1
  90. package/dist/src/models/EntryCreateResponse.js +1 -1
  91. package/dist/src/models/EntryManifest.d.ts +1 -1
  92. package/dist/src/models/EntryManifest.js +1 -1
  93. package/dist/src/models/EntrySearchResponse.d.ts +1 -1
  94. package/dist/src/models/EntrySearchResponse.js +1 -1
  95. package/dist/src/models/EntrySearchResult.d.ts +1 -1
  96. package/dist/src/models/EntrySearchResult.js +1 -1
  97. package/dist/src/models/EntryStatus.d.ts +1 -1
  98. package/dist/src/models/EntryStatus.js +1 -1
  99. package/dist/src/models/EntryUpdateRequest.d.ts +1 -1
  100. package/dist/src/models/EntryUpdateRequest.js +1 -1
  101. package/dist/src/models/EntryWithContent.d.ts +1 -1
  102. package/dist/src/models/EntryWithContent.js +1 -1
  103. package/dist/src/models/FigureImage.d.ts +1 -1
  104. package/dist/src/models/FigureImage.js +1 -1
  105. package/dist/src/models/FileMetadata.d.ts +1 -1
  106. package/dist/src/models/FileMetadata.js +1 -1
  107. package/dist/src/models/GenerateEmbeddingsRequest.d.ts +1 -1
  108. package/dist/src/models/GenerateEmbeddingsRequest.js +1 -1
  109. package/dist/src/models/HTTPValidationError.d.ts +1 -1
  110. package/dist/src/models/HTTPValidationError.js +1 -1
  111. package/dist/src/models/HealthResponse.d.ts +1 -1
  112. package/dist/src/models/HealthResponse.js +1 -1
  113. package/dist/src/models/IngestContractUsageResponse.d.ts +1 -1
  114. package/dist/src/models/IngestContractUsageResponse.js +1 -1
  115. package/dist/src/models/IngestContractUsageRow.d.ts +1 -1
  116. package/dist/src/models/IngestContractUsageRow.js +1 -1
  117. package/dist/src/models/KeywordSearchHit.d.ts +1 -1
  118. package/dist/src/models/KeywordSearchHit.js +1 -1
  119. package/dist/src/models/KeywordSearchRequest.d.ts +1 -1
  120. package/dist/src/models/KeywordSearchRequest.js +1 -1
  121. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
  122. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
  123. package/dist/src/models/KeywordSearchResponse.d.ts +1 -1
  124. package/dist/src/models/KeywordSearchResponse.js +1 -1
  125. package/dist/src/models/MissingPageRange.d.ts +1 -1
  126. package/dist/src/models/MissingPageRange.js +1 -1
  127. package/dist/src/models/ModelInfo.d.ts +1 -1
  128. package/dist/src/models/ModelInfo.js +1 -1
  129. package/dist/src/models/MoveEntryRequest.d.ts +1 -1
  130. package/dist/src/models/MoveEntryRequest.js +1 -1
  131. package/dist/src/models/MoveEntryResponse.d.ts +1 -1
  132. package/dist/src/models/MoveEntryResponse.js +1 -1
  133. package/dist/src/models/OriginalManifest.d.ts +1 -1
  134. package/dist/src/models/OriginalManifest.js +1 -1
  135. package/dist/src/models/PageDimensions.d.ts +1 -1
  136. package/dist/src/models/PageDimensions.js +1 -1
  137. package/dist/src/models/PipelineStepConfig.d.ts +1 -1
  138. package/dist/src/models/PipelineStepConfig.js +1 -1
  139. package/dist/src/models/PresetListResponse.d.ts +1 -1
  140. package/dist/src/models/PresetListResponse.js +1 -1
  141. package/dist/src/models/ProcessedManifest.d.ts +1 -1
  142. package/dist/src/models/ProcessedManifest.js +1 -1
  143. package/dist/src/models/ProcessingManifest.d.ts +1 -1
  144. package/dist/src/models/ProcessingManifest.js +1 -1
  145. package/dist/src/models/ProcessingResetResponse.d.ts +86 -0
  146. package/dist/src/models/ProcessingResetResponse.js +79 -0
  147. package/dist/src/models/ReconcileSchemaFieldsResponse.d.ts +1 -1
  148. package/dist/src/models/ReconcileSchemaFieldsResponse.js +1 -1
  149. package/dist/src/models/RetryFailedWebhooksResponse.d.ts +1 -1
  150. package/dist/src/models/RetryFailedWebhooksResponse.js +1 -1
  151. package/dist/src/models/SaveProcessedContentRequest.d.ts +1 -1
  152. package/dist/src/models/SaveProcessedContentRequest.js +1 -1
  153. package/dist/src/models/SaveProcessedContentResponse.d.ts +1 -1
  154. package/dist/src/models/SaveProcessedContentResponse.js +1 -1
  155. package/dist/src/models/SearchSnippet.d.ts +1 -1
  156. package/dist/src/models/SearchSnippet.js +1 -1
  157. package/dist/src/models/Segment.d.ts +1 -1
  158. package/dist/src/models/Segment.js +1 -1
  159. package/dist/src/models/SnippetContext.d.ts +1 -1
  160. package/dist/src/models/SnippetContext.js +1 -1
  161. package/dist/src/models/Transcription.d.ts +1 -1
  162. package/dist/src/models/Transcription.js +1 -1
  163. package/dist/src/models/TranscriptionDocumentInfo.d.ts +1 -1
  164. package/dist/src/models/TranscriptionDocumentInfo.js +1 -1
  165. package/dist/src/models/TranscriptionPage.d.ts +1 -1
  166. package/dist/src/models/TranscriptionPage.js +1 -1
  167. package/dist/src/models/TranscriptionUsage.d.ts +1 -1
  168. package/dist/src/models/TranscriptionUsage.js +1 -1
  169. package/dist/src/models/TranscriptionWarnings.d.ts +1 -1
  170. package/dist/src/models/TranscriptionWarnings.js +1 -1
  171. package/dist/src/models/UploadFileResponse.d.ts +1 -1
  172. package/dist/src/models/UploadFileResponse.js +1 -1
  173. package/dist/src/models/ValidationError.d.ts +1 -1
  174. package/dist/src/models/ValidationError.js +1 -1
  175. package/dist/src/models/ValidationErrorLocInner.d.ts +1 -1
  176. package/dist/src/models/ValidationErrorLocInner.js +1 -1
  177. package/dist/src/models/VectorSearchRequest.d.ts +1 -1
  178. package/dist/src/models/VectorSearchRequest.js +1 -1
  179. package/dist/src/models/WebhookEndpointCreate.d.ts +1 -1
  180. package/dist/src/models/WebhookEndpointCreate.js +1 -1
  181. package/dist/src/models/WebhookEndpointResponse.d.ts +1 -1
  182. package/dist/src/models/WebhookEndpointResponse.js +1 -1
  183. package/dist/src/models/Weight.d.ts +1 -1
  184. package/dist/src/models/Weight.js +1 -1
  185. package/dist/src/models/WeightListResponse.d.ts +1 -1
  186. package/dist/src/models/WeightListResponse.js +1 -1
  187. package/dist/src/models/WeightResponse.d.ts +1 -1
  188. package/dist/src/models/WeightResponse.js +1 -1
  189. package/dist/src/models/WeightType.d.ts +1 -1
  190. package/dist/src/models/WeightType.js +1 -1
  191. package/dist/src/models/index.d.ts +1 -0
  192. package/dist/src/models/index.js +1 -0
  193. package/dist/src/runtime.d.ts +1 -1
  194. package/dist/src/runtime.js +1 -1
  195. package/package.json +1 -1
  196. package/src/README.md +2 -2
  197. package/src/package.json +1 -1
  198. package/src/src/apis/AdminApi.ts +1 -1
  199. package/src/src/apis/DatasetsApi.ts +5 -5
  200. package/src/src/apis/DefaultApi.ts +6 -10
  201. package/src/src/apis/EmbeddingsApi.ts +1 -1
  202. package/src/src/apis/EntriesApi.ts +67 -9
  203. package/src/src/apis/HealthApi.ts +1 -1
  204. package/src/src/apis/PipelinesApi.ts +1 -1
  205. package/src/src/apis/SearchApi.ts +1 -1
  206. package/src/src/apis/SyncApi.ts +1 -1
  207. package/src/src/apis/WebhooksApi.ts +1 -1
  208. package/src/src/apis/WeightsApi.ts +1 -1
  209. package/src/src/models/ArtifactInputConfig.ts +1 -1
  210. package/src/src/models/BatchContentRequest.ts +1 -1
  211. package/src/src/models/BatchContentResponse.ts +1 -1
  212. package/src/src/models/BatchGetEntriesRequest.ts +1 -1
  213. package/src/src/models/BatchGetEntriesResponse.ts +1 -1
  214. package/src/src/models/ChunkSearchResponse.ts +1 -1
  215. package/src/src/models/ChunkSearchResult.ts +1 -1
  216. package/src/src/models/CollectionInfo.ts +1 -1
  217. package/src/src/models/ComponentArtifact.ts +1 -1
  218. package/src/src/models/ComponentListResponse.ts +1 -1
  219. package/src/src/models/ComponentMetadata.ts +1 -1
  220. package/src/src/models/ComponentParameter.ts +1 -1
  221. package/src/src/models/Dataset.ts +1 -1
  222. package/src/src/models/DatasetCreateRequest.ts +1 -1
  223. package/src/src/models/DatasetListResponse.ts +1 -1
  224. package/src/src/models/DatasetPipelineConfig.ts +1 -1
  225. package/src/src/models/DatasetResponse.ts +1 -1
  226. package/src/src/models/DatasetSchemaDefinition.ts +1 -1
  227. package/src/src/models/DatasetSchemaDefinitionCreate.ts +1 -1
  228. package/src/src/models/DatasetSchemaOriginal.ts +1 -1
  229. package/src/src/models/DatasetSchemaProcessed.ts +1 -1
  230. package/src/src/models/DatasetSchemaProcessing.ts +1 -1
  231. package/src/src/models/DatasetType.ts +1 -1
  232. package/src/src/models/DatasetUpdateRequest.ts +1 -1
  233. package/src/src/models/DatasetUpdateSchemaRequest.ts +1 -1
  234. package/src/src/models/Default.ts +1 -1
  235. package/src/src/models/DeprecationNotice.ts +1 -1
  236. package/src/src/models/DerivedPageReport.ts +1 -1
  237. package/src/src/models/EmbeddingProvider.ts +1 -1
  238. package/src/src/models/EmbeddingResponse.ts +1 -1
  239. package/src/src/models/Entry.ts +1 -1
  240. package/src/src/models/EntryContentResponse.ts +1 -1
  241. package/src/src/models/EntryCreateRequest.ts +1 -1
  242. package/src/src/models/EntryCreateResponse.ts +1 -1
  243. package/src/src/models/EntryManifest.ts +1 -1
  244. package/src/src/models/EntrySearchResponse.ts +1 -1
  245. package/src/src/models/EntrySearchResult.ts +1 -1
  246. package/src/src/models/EntryStatus.ts +1 -1
  247. package/src/src/models/EntryUpdateRequest.ts +1 -1
  248. package/src/src/models/EntryWithContent.ts +1 -1
  249. package/src/src/models/FigureImage.ts +1 -1
  250. package/src/src/models/FileMetadata.ts +1 -1
  251. package/src/src/models/GenerateEmbeddingsRequest.ts +1 -1
  252. package/src/src/models/HTTPValidationError.ts +1 -1
  253. package/src/src/models/HealthResponse.ts +1 -1
  254. package/src/src/models/IngestContractUsageResponse.ts +1 -1
  255. package/src/src/models/IngestContractUsageRow.ts +1 -1
  256. package/src/src/models/KeywordSearchHit.ts +1 -1
  257. package/src/src/models/KeywordSearchRequest.ts +1 -1
  258. package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
  259. package/src/src/models/KeywordSearchResponse.ts +1 -1
  260. package/src/src/models/MissingPageRange.ts +1 -1
  261. package/src/src/models/ModelInfo.ts +1 -1
  262. package/src/src/models/MoveEntryRequest.ts +1 -1
  263. package/src/src/models/MoveEntryResponse.ts +1 -1
  264. package/src/src/models/OriginalManifest.ts +1 -1
  265. package/src/src/models/PageDimensions.ts +1 -1
  266. package/src/src/models/PipelineStepConfig.ts +1 -1
  267. package/src/src/models/PresetListResponse.ts +1 -1
  268. package/src/src/models/ProcessedManifest.ts +1 -1
  269. package/src/src/models/ProcessingManifest.ts +1 -1
  270. package/src/src/models/ProcessingResetResponse.ts +151 -0
  271. package/src/src/models/ReconcileSchemaFieldsResponse.ts +1 -1
  272. package/src/src/models/RetryFailedWebhooksResponse.ts +1 -1
  273. package/src/src/models/SaveProcessedContentRequest.ts +1 -1
  274. package/src/src/models/SaveProcessedContentResponse.ts +1 -1
  275. package/src/src/models/SearchSnippet.ts +1 -1
  276. package/src/src/models/Segment.ts +1 -1
  277. package/src/src/models/SnippetContext.ts +1 -1
  278. package/src/src/models/Transcription.ts +1 -1
  279. package/src/src/models/TranscriptionDocumentInfo.ts +1 -1
  280. package/src/src/models/TranscriptionPage.ts +1 -1
  281. package/src/src/models/TranscriptionUsage.ts +1 -1
  282. package/src/src/models/TranscriptionWarnings.ts +1 -1
  283. package/src/src/models/UploadFileResponse.ts +1 -1
  284. package/src/src/models/ValidationError.ts +1 -1
  285. package/src/src/models/ValidationErrorLocInner.ts +1 -1
  286. package/src/src/models/VectorSearchRequest.ts +1 -1
  287. package/src/src/models/WebhookEndpointCreate.ts +1 -1
  288. package/src/src/models/WebhookEndpointResponse.ts +1 -1
  289. package/src/src/models/Weight.ts +1 -1
  290. package/src/src/models/WeightListResponse.ts +1 -1
  291. package/src/src/models/WeightResponse.ts +1 -1
  292. package/src/src/models/WeightType.ts +1 -1
  293. package/src/src/models/index.ts +1 -0
  294. package/src/src/runtime.ts +1 -1
@@ -5,7 +5,7 @@
5
5
  * Client Data API
6
6
  * Client Cluster Data API - Manifest-based storage service
7
7
  *
8
- * The version of the OpenAPI document: 1.16.2
8
+ * The version of the OpenAPI document: 1.18.6
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien_intelligence/data-api-client",
3
- "version": "1.16.2",
3
+ "version": "1.18.6",
4
4
  "description": "TypeScript client for Data API - Auto-generated from OpenAPI spec",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
package/src/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @alien/data-api-client@1.16.2
1
+ ## @alien/data-api-client@1.18.6
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @alien/data-api-client@1.16.2 --save
39
+ npm install @alien/data-api-client@1.18.6 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/src/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien/data-api-client",
3
- "version": "1.16.2",
3
+ "version": "1.18.6",
4
4
  "description": "OpenAPI client for @alien/data-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -101,7 +101,7 @@ export interface DatasetsApiInterface {
101
101
  createDatasetApiV1DatasetsPost(requestParameters: CreateDatasetApiV1DatasetsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
102
102
 
103
103
  /**
104
- * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True)
104
+ * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True) HTTPException 503: Object storage refused access, or the cascade exceeded its time budget. The dataset is kept in both cases; repeating the request resumes.
105
105
  * @summary Delete Dataset
106
106
  * @param {number} datasetId
107
107
  * @param {boolean} [force] Force deletion even if entries are in error status (may leave orphaned resources)
@@ -112,7 +112,7 @@ export interface DatasetsApiInterface {
112
112
  deleteDatasetApiV1DatasetsDatasetIdDeleteRaw(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
113
113
 
114
114
  /**
115
- * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True)
115
+ * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True) HTTPException 503: Object storage refused access, or the cascade exceeded its time budget. The dataset is kept in both cases; repeating the request resumes.
116
116
  * Delete Dataset
117
117
  */
118
118
  deleteDatasetApiV1DatasetsDatasetIdDelete(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -263,7 +263,7 @@ export class DatasetsApi extends runtime.BaseAPI implements DatasetsApiInterface
263
263
  }
264
264
 
265
265
  /**
266
- * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True)
266
+ * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True) HTTPException 503: Object storage refused access, or the cascade exceeded its time budget. The dataset is kept in both cases; repeating the request resumes.
267
267
  * Delete Dataset
268
268
  */
269
269
  async deleteDatasetApiV1DatasetsDatasetIdDeleteRaw(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -293,7 +293,7 @@ export class DatasetsApi extends runtime.BaseAPI implements DatasetsApiInterface
293
293
  }
294
294
 
295
295
  /**
296
- * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True)
296
+ * Delete dataset and all related resources (entries, weights, files). This performs a cascading deletion: 1. Deletes all weights (with S3 files) 2. Deletes all entries (with MinIO files, Qdrant vectors, Meilisearch docs) 3. Each entry triggers its own deletion webhook 4. Each weight triggers its own deletion webhook 5. Finally deletes the dataset itself If any errors occur during cascade, the dataset is NOT deleted and a detailed error report is returned (unless force=True). **Force Mode**: When force=True, entries in \"error\" status will be deleted from the database even if external cleanup fails. This may leave orphaned resources in MinIO, Qdrant, or Meilisearch. Use only for cleaning up stuck datasets. Args: dataset_id: Dataset ID to delete force: Force deletion of entries in error status (default: False) request: FastAPI request repo: Dataset repository cascade_service: Cascade deletion service Raises: HTTPException 404: Dataset not found HTTPException 409: Cascade deletion failed (with error details, unless force=True) HTTPException 503: Object storage refused access, or the cascade exceeded its time budget. The dataset is kept in both cases; repeating the request resumes.
297
297
  * Delete Dataset
298
298
  */
299
299
  async deleteDatasetApiV1DatasetsDatasetIdDelete(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,13 +29,13 @@ export interface DefaultApiInterface {
29
29
  * @throws {RequiredError}
30
30
  * @memberof DefaultApiInterface
31
31
  */
32
- rootGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
32
+ rootGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: string | null; }>>;
33
33
 
34
34
  /**
35
35
  * Root endpoint
36
36
  * Root
37
37
  */
38
- rootGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
38
+ rootGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: string | null; }>;
39
39
 
40
40
  }
41
41
 
@@ -48,7 +48,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
48
48
  * Root endpoint
49
49
  * Root
50
50
  */
51
- async rootGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>> {
51
+ async rootGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: string | null; }>> {
52
52
  const queryParameters: any = {};
53
53
 
54
54
  const headerParameters: runtime.HTTPHeaders = {};
@@ -60,18 +60,14 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
60
60
  query: queryParameters,
61
61
  }, initOverrides);
62
62
 
63
- if (this.isJsonMime(response.headers.get('content-type'))) {
64
- return new runtime.JSONApiResponse<any>(response);
65
- } else {
66
- return new runtime.TextApiResponse(response) as any;
67
- }
63
+ return new runtime.JSONApiResponse<any>(response);
68
64
  }
69
65
 
70
66
  /**
71
67
  * Root endpoint
72
68
  * Root
73
69
  */
74
- async rootGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
70
+ async rootGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: string | null; }> {
75
71
  const response = await this.rootGetRaw(initOverrides);
76
72
  return await response.value();
77
73
  }
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,6 +27,7 @@ import type {
27
27
  IngestContractUsageResponse,
28
28
  MoveEntryRequest,
29
29
  MoveEntryResponse,
30
+ ProcessingResetResponse,
30
31
  SaveProcessedContentRequest,
31
32
  SaveProcessedContentResponse,
32
33
  UploadFileResponse,
@@ -56,6 +57,8 @@ import {
56
57
  MoveEntryRequestToJSON,
57
58
  MoveEntryResponseFromJSON,
58
59
  MoveEntryResponseToJSON,
60
+ ProcessingResetResponseFromJSON,
61
+ ProcessingResetResponseToJSON,
59
62
  SaveProcessedContentRequestFromJSON,
60
63
  SaveProcessedContentRequestToJSON,
61
64
  SaveProcessedContentResponseFromJSON,
@@ -119,6 +122,10 @@ export interface MoveEntryApiV1EntriesEntryIdMovePostRequest {
119
122
  moveEntryRequest: MoveEntryRequest;
120
123
  }
121
124
 
125
+ export interface ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest {
126
+ entryId: number;
127
+ }
128
+
122
129
  export interface SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest {
123
130
  entryId: number;
124
131
  saveProcessedContentRequest: SaveProcessedContentRequest;
@@ -293,7 +300,7 @@ export interface EntriesApiInterface {
293
300
  getWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGet(requestParameters: GetWorkflowStatusApiV1EntriesEntryIdWorkflowStatusGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
294
301
 
295
302
  /**
296
- * 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.
303
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. A chunk is identified by its entry and its chunk_index. Posting an index again replaces that chunk\'s point, including a point an earlier data-api version stored for it under a random id. Indices the request does not name are kept, so an entry\'s chunks may be sent over several requests, with chunk_index counted across all of them. Points past the last index of a shorter re-run are kept too: reset the entry first (`POST /entries/{entry_id}/processing/reset`) when re-sending all of its chunks. 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.
297
304
  * @summary Index Entry Chunks
298
305
  * @param {number} entryId
299
306
  * @param {{ [key: string]: any; }} requestBody
@@ -304,7 +311,7 @@ export interface EntriesApiInterface {
304
311
  indexEntryChunksApiV1EntriesEntryIdChunksPostRaw(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>>;
305
312
 
306
313
  /**
307
- * 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.
314
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. A chunk is identified by its entry and its chunk_index. Posting an index again replaces that chunk\'s point, including a point an earlier data-api version stored for it under a random id. Indices the request does not name are kept, so an entry\'s chunks may be sent over several requests, with chunk_index counted across all of them. Points past the last index of a shorter re-run are kept too: reset the entry first (`POST /entries/{entry_id}/processing/reset`) when re-sending all of its chunks. 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.
308
315
  * Index Entry Chunks
309
316
  */
310
317
  indexEntryChunksApiV1EntriesEntryIdChunksPost(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
@@ -345,6 +352,22 @@ export interface EntriesApiInterface {
345
352
  */
346
353
  moveEntryApiV1EntriesEntryIdMovePost(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveEntryResponse>;
347
354
 
355
+ /**
356
+ * Remove everything a processing run derived from an entry, so it can be processed again. Called by the backend before it re-drives a processing job whose previous attempt failed on infrastructure (a killed worker, a lost heartbeat). Clears, in order: the entry\'s vector points, its segment documents, its entries-index document, the objects under its `processed/` and `processing/` prefixes plus every key those two manifest sections registered, and finally the two sections themselves. `original` is never touched. **The status is never changed.** The processing pool never writes `processing`, and `uploaded` is already the right status for a queued re-run; a reset that rewrote it would race the backend\'s own status bookkeeping. For the same reason a `processed` entry is refused rather than reset: clearing its output under a status that says it is complete would leave a document claiming content it no longer has. Idempotent: resetting an entry with nothing derived is a 200 with zero counts and `changed=false`, and does not bump the version. A failure at any store is a 503 that leaves the row untouched, and retrying converges.
357
+ * @summary Reset Entry Processing
358
+ * @param {number} entryId
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ * @memberof EntriesApiInterface
362
+ */
363
+ resetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRaw(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProcessingResetResponse>>;
364
+
365
+ /**
366
+ * Remove everything a processing run derived from an entry, so it can be processed again. Called by the backend before it re-drives a processing job whose previous attempt failed on infrastructure (a killed worker, a lost heartbeat). Clears, in order: the entry\'s vector points, its segment documents, its entries-index document, the objects under its `processed/` and `processing/` prefixes plus every key those two manifest sections registered, and finally the two sections themselves. `original` is never touched. **The status is never changed.** The processing pool never writes `processing`, and `uploaded` is already the right status for a queued re-run; a reset that rewrote it would race the backend\'s own status bookkeeping. For the same reason a `processed` entry is refused rather than reset: clearing its output under a status that says it is complete would leave a document claiming content it no longer has. Idempotent: resetting an entry with nothing derived is a 200 with zero counts and `changed=false`, and does not bump the version. A failure at any store is a 503 that leaves the row untouched, and retrying converges.
367
+ * Reset Entry Processing
368
+ */
369
+ resetEntryProcessingApiV1EntriesEntryIdProcessingResetPost(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessingResetResponse>;
370
+
348
371
  /**
349
372
  * Save processed content for an entry. Called by workers/pipelines after processing. Safe to repeat. The whole `processed` section is rewritten, so a re-run replaces the previous segmentation instead of merging with it - a second pass that yields fewer segments leaves none of the first pass\'s behind. That matters beyond tidiness: the backend reaper and this cluster\'s own staleness detection can both fire for the same entry, and re-ingest being idempotent is what makes double-triggering harmless.
350
373
  * @summary Save Processed Content
@@ -363,7 +386,7 @@ export interface EntriesApiInterface {
363
386
  saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveProcessedContentResponse>;
364
387
 
365
388
  /**
366
- * 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
389
+ * 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 - 409: The tenant is processed by the platform (PROCESSING_ENGINE=workers, acknowledged by the platform). The dataset\'s pipeline_config is kept, unused, so switching back to argo restores this - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
367
390
  * @summary Trigger Pipeline
368
391
  * @param {number} entryId
369
392
  * @param {*} [options] Override http request option.
@@ -373,7 +396,7 @@ export interface EntriesApiInterface {
373
396
  triggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRaw(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
374
397
 
375
398
  /**
376
- * 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
399
+ * 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 - 409: The tenant is processed by the platform (PROCESSING_ENGINE=workers, acknowledged by the platform). The dataset\'s pipeline_config is kept, unused, so switching back to argo restores this - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
377
400
  * Trigger Pipeline
378
401
  */
379
402
  triggerPipelineApiV1EntriesEntryIdTriggerPipelinePost(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
@@ -758,7 +781,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
758
781
  }
759
782
 
760
783
  /**
761
- * 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.
784
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. A chunk is identified by its entry and its chunk_index. Posting an index again replaces that chunk\'s point, including a point an earlier data-api version stored for it under a random id. Indices the request does not name are kept, so an entry\'s chunks may be sent over several requests, with chunk_index counted across all of them. Points past the last index of a shorter re-run are kept too: reset the entry first (`POST /entries/{entry_id}/processing/reset`) when re-sending all of its chunks. 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.
762
785
  * Index Entry Chunks
763
786
  */
764
787
  async indexEntryChunksApiV1EntriesEntryIdChunksPostRaw(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>> {
@@ -794,7 +817,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
794
817
  }
795
818
 
796
819
  /**
797
- * 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.
820
+ * Index chunks for an entry into Qdrant vector database. This endpoint is called by processing pipelines after chunking and embedding. A chunk is identified by its entry and its chunk_index. Posting an index again replaces that chunk\'s point, including a point an earlier data-api version stored for it under a random id. Indices the request does not name are kept, so an entry\'s chunks may be sent over several requests, with chunk_index counted across all of them. Points past the last index of a shorter re-run are kept too: reset the entry first (`POST /entries/{entry_id}/processing/reset`) when re-sending all of its chunks. 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.
798
821
  * Index Entry Chunks
799
822
  */
800
823
  async indexEntryChunksApiV1EntriesEntryIdChunksPost(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }> {
@@ -898,6 +921,41 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
898
921
  return await response.value();
899
922
  }
900
923
 
924
+ /**
925
+ * Remove everything a processing run derived from an entry, so it can be processed again. Called by the backend before it re-drives a processing job whose previous attempt failed on infrastructure (a killed worker, a lost heartbeat). Clears, in order: the entry\'s vector points, its segment documents, its entries-index document, the objects under its `processed/` and `processing/` prefixes plus every key those two manifest sections registered, and finally the two sections themselves. `original` is never touched. **The status is never changed.** The processing pool never writes `processing`, and `uploaded` is already the right status for a queued re-run; a reset that rewrote it would race the backend\'s own status bookkeeping. For the same reason a `processed` entry is refused rather than reset: clearing its output under a status that says it is complete would leave a document claiming content it no longer has. Idempotent: resetting an entry with nothing derived is a 200 with zero counts and `changed=false`, and does not bump the version. A failure at any store is a 503 that leaves the row untouched, and retrying converges.
926
+ * Reset Entry Processing
927
+ */
928
+ async resetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRaw(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProcessingResetResponse>> {
929
+ if (requestParameters['entryId'] == null) {
930
+ throw new runtime.RequiredError(
931
+ 'entryId',
932
+ 'Required parameter "entryId" was null or undefined when calling resetEntryProcessingApiV1EntriesEntryIdProcessingResetPost().'
933
+ );
934
+ }
935
+
936
+ const queryParameters: any = {};
937
+
938
+ const headerParameters: runtime.HTTPHeaders = {};
939
+
940
+ const response = await this.request({
941
+ path: `/api/v1/entries/{entry_id}/processing/reset`.replace(`{${"entry_id"}}`, encodeURIComponent(String(requestParameters['entryId']))),
942
+ method: 'POST',
943
+ headers: headerParameters,
944
+ query: queryParameters,
945
+ }, initOverrides);
946
+
947
+ return new runtime.JSONApiResponse(response, (jsonValue) => ProcessingResetResponseFromJSON(jsonValue));
948
+ }
949
+
950
+ /**
951
+ * Remove everything a processing run derived from an entry, so it can be processed again. Called by the backend before it re-drives a processing job whose previous attempt failed on infrastructure (a killed worker, a lost heartbeat). Clears, in order: the entry\'s vector points, its segment documents, its entries-index document, the objects under its `processed/` and `processing/` prefixes plus every key those two manifest sections registered, and finally the two sections themselves. `original` is never touched. **The status is never changed.** The processing pool never writes `processing`, and `uploaded` is already the right status for a queued re-run; a reset that rewrote it would race the backend\'s own status bookkeeping. For the same reason a `processed` entry is refused rather than reset: clearing its output under a status that says it is complete would leave a document claiming content it no longer has. Idempotent: resetting an entry with nothing derived is a 200 with zero counts and `changed=false`, and does not bump the version. A failure at any store is a 503 that leaves the row untouched, and retrying converges.
952
+ * Reset Entry Processing
953
+ */
954
+ async resetEntryProcessingApiV1EntriesEntryIdProcessingResetPost(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessingResetResponse> {
955
+ const response = await this.resetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRaw(requestParameters, initOverrides);
956
+ return await response.value();
957
+ }
958
+
901
959
  /**
902
960
  * Save processed content for an entry. Called by workers/pipelines after processing. Safe to repeat. The whole `processed` section is rewritten, so a re-run replaces the previous segmentation instead of merging with it - a second pass that yields fewer segments leaves none of the first pass\'s behind. That matters beyond tidiness: the backend reaper and this cluster\'s own staleness detection can both fire for the same entry, and re-ingest being idempotent is what makes double-triggering harmless.
903
961
  * Save Processed Content
@@ -944,7 +1002,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
944
1002
  }
945
1003
 
946
1004
  /**
947
- * 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
1005
+ * 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 - 409: The tenant is processed by the platform (PROCESSING_ENGINE=workers, acknowledged by the platform). The dataset\'s pipeline_config is kept, unused, so switching back to argo restores this - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
948
1006
  * Trigger Pipeline
949
1007
  */
950
1008
  async triggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRaw(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>> {
@@ -974,7 +1032,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
974
1032
  }
975
1033
 
976
1034
  /**
977
- * 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
1035
+ * 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 - 409: The tenant is processed by the platform (PROCESSING_ENGINE=workers, acknowledged by the platform). The dataset\'s pipeline_config is kept, unused, so switching back to argo restores this - 400: Invalid entry status, pipeline not configured, or pipeline disabled - 500: Workflow submission failed
978
1036
  * Trigger Pipeline
979
1037
  */
980
1038
  async triggerPipelineApiV1EntriesEntryIdTriggerPipelinePost(requestParameters: TriggerPipelineApiV1EntriesEntryIdTriggerPipelinePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.16.2
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).