@alien_intelligence/data-api-client 1.22.0 → 2.1.0
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.
- package/dist/src/apis/AdminApi.d.ts +1 -1
- package/dist/src/apis/AdminApi.js +1 -1
- package/dist/src/apis/DatasetsApi.d.ts +5 -5
- package/dist/src/apis/DatasetsApi.js +3 -3
- package/dist/src/apis/DefaultApi.d.ts +1 -1
- package/dist/src/apis/DefaultApi.js +1 -1
- package/dist/src/apis/EmbeddingsApi.d.ts +1 -1
- package/dist/src/apis/EmbeddingsApi.js +1 -1
- package/dist/src/apis/EntriesApi.d.ts +17 -17
- package/dist/src/apis/EntriesApi.js +9 -9
- package/dist/src/apis/HealthApi.d.ts +1 -1
- package/dist/src/apis/HealthApi.js +1 -1
- package/dist/src/apis/PipelinesApi.d.ts +1 -1
- package/dist/src/apis/PipelinesApi.js +1 -1
- package/dist/src/apis/SearchApi.d.ts +1 -1
- package/dist/src/apis/SearchApi.js +1 -1
- package/dist/src/apis/SyncApi.d.ts +1 -1
- package/dist/src/apis/SyncApi.js +1 -1
- package/dist/src/apis/WebhooksApi.d.ts +1 -1
- package/dist/src/apis/WebhooksApi.js +1 -1
- package/dist/src/apis/WeightsApi.d.ts +1 -1
- package/dist/src/apis/WeightsApi.js +1 -1
- package/dist/src/models/AdmissionLaneHealth.d.ts +1 -1
- package/dist/src/models/AdmissionLaneHealth.js +1 -1
- package/dist/src/models/ArtifactInputConfig.d.ts +1 -1
- package/dist/src/models/ArtifactInputConfig.js +1 -1
- package/dist/src/models/BatchContentRequest.d.ts +1 -1
- package/dist/src/models/BatchContentRequest.js +1 -1
- package/dist/src/models/BatchContentResponse.d.ts +1 -1
- package/dist/src/models/BatchContentResponse.js +1 -1
- package/dist/src/models/BatchGetEntriesRequest.d.ts +1 -1
- package/dist/src/models/BatchGetEntriesRequest.js +1 -1
- package/dist/src/models/BatchGetEntriesResponse.d.ts +1 -1
- package/dist/src/models/BatchGetEntriesResponse.js +1 -1
- package/dist/src/models/ChunkSearchResponse.d.ts +1 -1
- package/dist/src/models/ChunkSearchResponse.js +1 -1
- package/dist/src/models/ChunkSearchResult.d.ts +1 -1
- package/dist/src/models/ChunkSearchResult.js +1 -1
- package/dist/src/models/CollectionInfo.d.ts +1 -1
- package/dist/src/models/CollectionInfo.js +1 -1
- package/dist/src/models/ComponentArtifact.d.ts +1 -1
- package/dist/src/models/ComponentArtifact.js +1 -1
- package/dist/src/models/ComponentListResponse.d.ts +1 -1
- package/dist/src/models/ComponentListResponse.js +1 -1
- package/dist/src/models/ComponentMetadata.d.ts +1 -1
- package/dist/src/models/ComponentMetadata.js +1 -1
- package/dist/src/models/ComponentParameter.d.ts +1 -1
- package/dist/src/models/ComponentParameter.js +1 -1
- package/dist/src/models/Dataset.d.ts +2 -2
- package/dist/src/models/Dataset.js +1 -1
- package/dist/src/models/DatasetCreateRequest.d.ts +1 -1
- package/dist/src/models/DatasetCreateRequest.js +1 -1
- package/dist/src/models/DatasetListResponse.d.ts +1 -1
- package/dist/src/models/DatasetListResponse.js +1 -1
- package/dist/src/models/DatasetPipelineConfig.d.ts +1 -1
- package/dist/src/models/DatasetPipelineConfig.js +1 -1
- package/dist/src/models/DatasetResponse.d.ts +2 -2
- package/dist/src/models/DatasetResponse.js +1 -1
- package/dist/src/models/DatasetSchemaDefinition.d.ts +1 -1
- package/dist/src/models/DatasetSchemaDefinition.js +1 -1
- package/dist/src/models/DatasetSchemaDefinitionCreate.d.ts +1 -1
- package/dist/src/models/DatasetSchemaDefinitionCreate.js +1 -1
- package/dist/src/models/DatasetSchemaOriginal.d.ts +1 -1
- package/dist/src/models/DatasetSchemaOriginal.js +1 -1
- package/dist/src/models/DatasetSchemaProcessed.d.ts +1 -1
- package/dist/src/models/DatasetSchemaProcessed.js +1 -1
- package/dist/src/models/DatasetSchemaProcessing.d.ts +1 -1
- package/dist/src/models/DatasetSchemaProcessing.js +1 -1
- package/dist/src/models/DatasetType.d.ts +1 -1
- package/dist/src/models/DatasetType.js +1 -1
- package/dist/src/models/DatasetUpdateRequest.d.ts +1 -1
- package/dist/src/models/DatasetUpdateRequest.js +1 -1
- package/dist/src/models/DatasetUpdateSchemaRequest.d.ts +1 -1
- package/dist/src/models/DatasetUpdateSchemaRequest.js +1 -1
- package/dist/src/models/Default.d.ts +1 -1
- package/dist/src/models/Default.js +1 -1
- package/dist/src/models/DeprecationNotice.d.ts +1 -1
- package/dist/src/models/DeprecationNotice.js +1 -1
- package/dist/src/models/DerivedPageReport.d.ts +1 -1
- package/dist/src/models/DerivedPageReport.js +1 -1
- package/dist/src/models/EmbeddingProvider.d.ts +1 -1
- package/dist/src/models/EmbeddingProvider.js +1 -1
- package/dist/src/models/EmbeddingPurpose.d.ts +1 -1
- package/dist/src/models/EmbeddingPurpose.js +1 -1
- package/dist/src/models/EmbeddingResponse.d.ts +1 -1
- package/dist/src/models/EmbeddingResponse.js +1 -1
- package/dist/src/models/Entry.d.ts +1 -1
- package/dist/src/models/Entry.js +1 -1
- package/dist/src/models/EntryContentResponse.d.ts +1 -1
- package/dist/src/models/EntryContentResponse.js +1 -1
- package/dist/src/models/EntryCreateRequest.d.ts +1 -1
- package/dist/src/models/EntryCreateRequest.js +1 -1
- package/dist/src/models/EntryCreateResponse.d.ts +1 -1
- package/dist/src/models/EntryCreateResponse.js +1 -1
- package/dist/src/models/EntryListPagination.d.ts +1 -1
- package/dist/src/models/EntryListPagination.js +1 -1
- package/dist/src/models/EntryManifest.d.ts +1 -1
- package/dist/src/models/EntryManifest.js +1 -1
- package/dist/src/models/EntrySearchResponse.d.ts +1 -1
- package/dist/src/models/EntrySearchResponse.js +1 -1
- package/dist/src/models/EntrySearchResult.d.ts +1 -1
- package/dist/src/models/EntrySearchResult.js +1 -1
- package/dist/src/models/EntryStatus.d.ts +1 -1
- package/dist/src/models/EntryStatus.js +1 -1
- package/dist/src/models/EntryUpdateRequest.d.ts +1 -1
- package/dist/src/models/EntryUpdateRequest.js +1 -1
- package/dist/src/models/EntryWithContent.d.ts +1 -1
- package/dist/src/models/EntryWithContent.js +1 -1
- package/dist/src/models/FigureImage.d.ts +1 -1
- package/dist/src/models/FigureImage.js +1 -1
- package/dist/src/models/FileMetadata.d.ts +1 -1
- package/dist/src/models/FileMetadata.js +1 -1
- package/dist/src/models/GenerateEmbeddingsRequest.d.ts +1 -1
- package/dist/src/models/GenerateEmbeddingsRequest.js +1 -1
- package/dist/src/models/HTTPValidationError.d.ts +1 -1
- package/dist/src/models/HTTPValidationError.js +1 -1
- package/dist/src/models/HealthResponse.d.ts +1 -1
- package/dist/src/models/HealthResponse.js +1 -1
- package/dist/src/models/IngestContractUsageResponse.d.ts +1 -1
- package/dist/src/models/IngestContractUsageResponse.js +1 -1
- package/dist/src/models/IngestContractUsageRow.d.ts +3 -3
- package/dist/src/models/IngestContractUsageRow.js +1 -1
- package/dist/src/models/KeywordSearchHit.d.ts +1 -1
- package/dist/src/models/KeywordSearchHit.js +1 -1
- package/dist/src/models/KeywordSearchRequest.d.ts +1 -1
- package/dist/src/models/KeywordSearchRequest.js +1 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
- package/dist/src/models/KeywordSearchResponse.d.ts +1 -1
- package/dist/src/models/KeywordSearchResponse.js +1 -1
- package/dist/src/models/MissingPageRange.d.ts +1 -1
- package/dist/src/models/MissingPageRange.js +1 -1
- package/dist/src/models/ModelInfo.d.ts +1 -1
- package/dist/src/models/ModelInfo.js +1 -1
- package/dist/src/models/MoveEntryRequest.d.ts +1 -1
- package/dist/src/models/MoveEntryRequest.js +1 -1
- package/dist/src/models/MoveEntryResponse.d.ts +1 -1
- package/dist/src/models/MoveEntryResponse.js +1 -1
- package/dist/src/models/OriginalManifest.d.ts +1 -1
- package/dist/src/models/OriginalManifest.js +1 -1
- package/dist/src/models/PageDimensions.d.ts +1 -1
- package/dist/src/models/PageDimensions.js +1 -1
- package/dist/src/models/PipelineStepConfig.d.ts +1 -1
- package/dist/src/models/PipelineStepConfig.js +1 -1
- package/dist/src/models/PresetListResponse.d.ts +1 -1
- package/dist/src/models/PresetListResponse.js +1 -1
- package/dist/src/models/ProcessedManifest.d.ts +1 -1
- package/dist/src/models/ProcessedManifest.js +1 -1
- package/dist/src/models/ProcessingManifest.d.ts +1 -1
- package/dist/src/models/ProcessingManifest.js +1 -1
- package/dist/src/models/ProcessingResetResponse.d.ts +1 -1
- package/dist/src/models/ProcessingResetResponse.js +1 -1
- package/dist/src/models/ReconcileSchemaFieldsResponse.d.ts +1 -1
- package/dist/src/models/ReconcileSchemaFieldsResponse.js +1 -1
- package/dist/src/models/RetryFailedWebhooksResponse.d.ts +1 -1
- package/dist/src/models/RetryFailedWebhooksResponse.js +1 -1
- package/dist/src/models/SaveProcessedContentRequest.d.ts +1 -1
- package/dist/src/models/SaveProcessedContentRequest.js +1 -1
- package/dist/src/models/SaveProcessedContentResponse.d.ts +1 -1
- package/dist/src/models/SaveProcessedContentResponse.js +1 -1
- package/dist/src/models/SearchSnippet.d.ts +1 -1
- package/dist/src/models/SearchSnippet.js +1 -1
- package/dist/src/models/Segment.d.ts +1 -1
- package/dist/src/models/Segment.js +1 -1
- package/dist/src/models/SnippetContext.d.ts +1 -1
- package/dist/src/models/SnippetContext.js +1 -1
- package/dist/src/models/Transcription.d.ts +1 -1
- package/dist/src/models/Transcription.js +1 -1
- package/dist/src/models/TranscriptionDocumentInfo.d.ts +1 -1
- package/dist/src/models/TranscriptionDocumentInfo.js +1 -1
- package/dist/src/models/TranscriptionPage.d.ts +1 -1
- package/dist/src/models/TranscriptionPage.js +1 -1
- package/dist/src/models/TranscriptionUsage.d.ts +1 -1
- package/dist/src/models/TranscriptionUsage.js +1 -1
- package/dist/src/models/TranscriptionWarnings.d.ts +1 -1
- package/dist/src/models/TranscriptionWarnings.js +1 -1
- package/dist/src/models/UploadFileResponse.d.ts +1 -1
- package/dist/src/models/UploadFileResponse.js +1 -1
- package/dist/src/models/ValidationError.d.ts +1 -1
- package/dist/src/models/ValidationError.js +1 -1
- package/dist/src/models/ValidationErrorLocInner.d.ts +1 -1
- package/dist/src/models/ValidationErrorLocInner.js +1 -1
- package/dist/src/models/VectorSearchRequest.d.ts +1 -1
- package/dist/src/models/VectorSearchRequest.js +1 -1
- package/dist/src/models/WebhookEndpointCreate.d.ts +1 -1
- package/dist/src/models/WebhookEndpointCreate.js +1 -1
- package/dist/src/models/WebhookEndpointResponse.d.ts +1 -1
- package/dist/src/models/WebhookEndpointResponse.js +1 -1
- package/dist/src/models/Weight.d.ts +2 -2
- package/dist/src/models/Weight.js +1 -1
- package/dist/src/models/WeightListResponse.d.ts +1 -1
- package/dist/src/models/WeightListResponse.js +1 -1
- package/dist/src/models/WeightResponse.d.ts +2 -2
- package/dist/src/models/WeightResponse.js +1 -1
- package/dist/src/models/WeightType.d.ts +1 -1
- package/dist/src/models/WeightType.js +1 -1
- package/dist/src/runtime.d.ts +1 -1
- package/dist/src/runtime.js +1 -1
- package/package.json +1 -1
- package/src/README.md +2 -2
- package/src/package.json +1 -1
- package/src/src/apis/AdminApi.ts +1 -1
- package/src/src/apis/DatasetsApi.ts +5 -5
- package/src/src/apis/DefaultApi.ts +1 -1
- package/src/src/apis/EmbeddingsApi.ts +1 -1
- package/src/src/apis/EntriesApi.ts +17 -17
- package/src/src/apis/HealthApi.ts +1 -1
- package/src/src/apis/PipelinesApi.ts +1 -1
- package/src/src/apis/SearchApi.ts +1 -1
- package/src/src/apis/SyncApi.ts +1 -1
- package/src/src/apis/WebhooksApi.ts +1 -1
- package/src/src/apis/WeightsApi.ts +1 -1
- package/src/src/models/AdmissionLaneHealth.ts +1 -1
- package/src/src/models/ArtifactInputConfig.ts +1 -1
- package/src/src/models/BatchContentRequest.ts +1 -1
- package/src/src/models/BatchContentResponse.ts +1 -1
- package/src/src/models/BatchGetEntriesRequest.ts +1 -1
- package/src/src/models/BatchGetEntriesResponse.ts +1 -1
- package/src/src/models/ChunkSearchResponse.ts +1 -1
- package/src/src/models/ChunkSearchResult.ts +1 -1
- package/src/src/models/CollectionInfo.ts +1 -1
- package/src/src/models/ComponentArtifact.ts +1 -1
- package/src/src/models/ComponentListResponse.ts +1 -1
- package/src/src/models/ComponentMetadata.ts +1 -1
- package/src/src/models/ComponentParameter.ts +1 -1
- package/src/src/models/Dataset.ts +2 -2
- package/src/src/models/DatasetCreateRequest.ts +1 -1
- package/src/src/models/DatasetListResponse.ts +1 -1
- package/src/src/models/DatasetPipelineConfig.ts +1 -1
- package/src/src/models/DatasetResponse.ts +2 -2
- package/src/src/models/DatasetSchemaDefinition.ts +1 -1
- package/src/src/models/DatasetSchemaDefinitionCreate.ts +1 -1
- package/src/src/models/DatasetSchemaOriginal.ts +1 -1
- package/src/src/models/DatasetSchemaProcessed.ts +1 -1
- package/src/src/models/DatasetSchemaProcessing.ts +1 -1
- package/src/src/models/DatasetType.ts +1 -1
- package/src/src/models/DatasetUpdateRequest.ts +1 -1
- package/src/src/models/DatasetUpdateSchemaRequest.ts +1 -1
- package/src/src/models/Default.ts +1 -1
- package/src/src/models/DeprecationNotice.ts +1 -1
- package/src/src/models/DerivedPageReport.ts +1 -1
- package/src/src/models/EmbeddingProvider.ts +1 -1
- package/src/src/models/EmbeddingPurpose.ts +1 -1
- package/src/src/models/EmbeddingResponse.ts +1 -1
- package/src/src/models/Entry.ts +1 -1
- package/src/src/models/EntryContentResponse.ts +1 -1
- package/src/src/models/EntryCreateRequest.ts +1 -1
- package/src/src/models/EntryCreateResponse.ts +1 -1
- package/src/src/models/EntryListPagination.ts +1 -1
- package/src/src/models/EntryManifest.ts +1 -1
- package/src/src/models/EntrySearchResponse.ts +1 -1
- package/src/src/models/EntrySearchResult.ts +1 -1
- package/src/src/models/EntryStatus.ts +1 -1
- package/src/src/models/EntryUpdateRequest.ts +1 -1
- package/src/src/models/EntryWithContent.ts +1 -1
- package/src/src/models/FigureImage.ts +1 -1
- package/src/src/models/FileMetadata.ts +1 -1
- package/src/src/models/GenerateEmbeddingsRequest.ts +1 -1
- package/src/src/models/HTTPValidationError.ts +1 -1
- package/src/src/models/HealthResponse.ts +1 -1
- package/src/src/models/IngestContractUsageResponse.ts +1 -1
- package/src/src/models/IngestContractUsageRow.ts +3 -3
- package/src/src/models/KeywordSearchHit.ts +1 -1
- package/src/src/models/KeywordSearchRequest.ts +1 -1
- package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
- package/src/src/models/KeywordSearchResponse.ts +1 -1
- package/src/src/models/MissingPageRange.ts +1 -1
- package/src/src/models/ModelInfo.ts +1 -1
- package/src/src/models/MoveEntryRequest.ts +1 -1
- package/src/src/models/MoveEntryResponse.ts +1 -1
- package/src/src/models/OriginalManifest.ts +1 -1
- package/src/src/models/PageDimensions.ts +1 -1
- package/src/src/models/PipelineStepConfig.ts +1 -1
- package/src/src/models/PresetListResponse.ts +1 -1
- package/src/src/models/ProcessedManifest.ts +1 -1
- package/src/src/models/ProcessingManifest.ts +1 -1
- package/src/src/models/ProcessingResetResponse.ts +1 -1
- package/src/src/models/ReconcileSchemaFieldsResponse.ts +1 -1
- package/src/src/models/RetryFailedWebhooksResponse.ts +1 -1
- package/src/src/models/SaveProcessedContentRequest.ts +1 -1
- package/src/src/models/SaveProcessedContentResponse.ts +1 -1
- package/src/src/models/SearchSnippet.ts +1 -1
- package/src/src/models/Segment.ts +1 -1
- package/src/src/models/SnippetContext.ts +1 -1
- package/src/src/models/Transcription.ts +1 -1
- package/src/src/models/TranscriptionDocumentInfo.ts +1 -1
- package/src/src/models/TranscriptionPage.ts +1 -1
- package/src/src/models/TranscriptionUsage.ts +1 -1
- package/src/src/models/TranscriptionWarnings.ts +1 -1
- package/src/src/models/UploadFileResponse.ts +1 -1
- package/src/src/models/ValidationError.ts +1 -1
- package/src/src/models/ValidationErrorLocInner.ts +1 -1
- package/src/src/models/VectorSearchRequest.ts +1 -1
- package/src/src/models/WebhookEndpointCreate.ts +1 -1
- package/src/src/models/WebhookEndpointResponse.ts +1 -1
- package/src/src/models/Weight.ts +2 -2
- package/src/src/models/WeightListResponse.ts +1 -1
- package/src/src/models/WeightResponse.ts +2 -2
- package/src/src/models/WeightType.ts +1 -1
- package/src/src/runtime.ts +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -62,7 +62,7 @@ export interface DatasetsApiInterface {
|
|
|
62
62
|
*/
|
|
63
63
|
createDatasetApiV1DatasetsPost(requestParameters: CreateDatasetApiV1DatasetsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
|
|
64
64
|
/**
|
|
65
|
-
* 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
|
|
65
|
+
* 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 S3 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 object storage, 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.
|
|
66
66
|
* @summary Delete Dataset
|
|
67
67
|
* @param {number} datasetId
|
|
68
68
|
* @param {boolean} [force] Force deletion even if entries are in error status (may leave orphaned resources)
|
|
@@ -72,7 +72,7 @@ export interface DatasetsApiInterface {
|
|
|
72
72
|
*/
|
|
73
73
|
deleteDatasetApiV1DatasetsDatasetIdDeleteRaw(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
74
74
|
/**
|
|
75
|
-
* 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
|
|
75
|
+
* 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 S3 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 object storage, 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.
|
|
76
76
|
* Delete Dataset
|
|
77
77
|
*/
|
|
78
78
|
deleteDatasetApiV1DatasetsDatasetIdDelete(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -180,12 +180,12 @@ export declare class DatasetsApi extends runtime.BaseAPI implements DatasetsApiI
|
|
|
180
180
|
*/
|
|
181
181
|
createDatasetApiV1DatasetsPost(requestParameters: CreateDatasetApiV1DatasetsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
|
|
182
182
|
/**
|
|
183
|
-
* 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
|
|
183
|
+
* 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 S3 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 object storage, 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.
|
|
184
184
|
* Delete Dataset
|
|
185
185
|
*/
|
|
186
186
|
deleteDatasetApiV1DatasetsDatasetIdDeleteRaw(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
187
187
|
/**
|
|
188
|
-
* 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
|
|
188
|
+
* 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 S3 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 object storage, 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.
|
|
189
189
|
* Delete Dataset
|
|
190
190
|
*/
|
|
191
191
|
deleteDatasetApiV1DatasetsDatasetIdDelete(requestParameters: DeleteDatasetApiV1DatasetsDatasetIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -82,7 +82,7 @@ class DatasetsApi extends runtime.BaseAPI {
|
|
|
82
82
|
return await response.value();
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
* 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
|
|
85
|
+
* 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 S3 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 object storage, 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.
|
|
86
86
|
* Delete Dataset
|
|
87
87
|
*/
|
|
88
88
|
async deleteDatasetApiV1DatasetsDatasetIdDeleteRaw(requestParameters, initOverrides) {
|
|
@@ -103,7 +103,7 @@ class DatasetsApi extends runtime.BaseAPI {
|
|
|
103
103
|
return new runtime.VoidApiResponse(response);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* 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
|
|
106
|
+
* 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 S3 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 object storage, 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.
|
|
107
107
|
* Delete Dataset
|
|
108
108
|
*/
|
|
109
109
|
async deleteDatasetApiV1DatasetsDatasetIdDelete(requestParameters, initOverrides) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -128,7 +128,7 @@ export interface EntriesApiInterface {
|
|
|
128
128
|
*/
|
|
129
129
|
createEntryApiV1EntriesPost(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EntryCreateResponse>;
|
|
130
130
|
/**
|
|
131
|
-
* 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, \"
|
|
131
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
132
132
|
* @summary Delete Entry
|
|
133
133
|
* @param {number} entryId
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
@@ -139,7 +139,7 @@ export interface EntriesApiInterface {
|
|
|
139
139
|
[key: string]: any;
|
|
140
140
|
}>>;
|
|
141
141
|
/**
|
|
142
|
-
* 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, \"
|
|
142
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
143
143
|
* Delete Entry
|
|
144
144
|
*/
|
|
145
145
|
deleteEntryApiV1EntriesEntryIdDelete(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
@@ -194,7 +194,7 @@ export interface EntriesApiInterface {
|
|
|
194
194
|
[key: string]: any;
|
|
195
195
|
}>;
|
|
196
196
|
/**
|
|
197
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
197
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
198
198
|
* @summary Get Ingest Contract Usage
|
|
199
199
|
* @param {number} [datasetId]
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
@@ -203,7 +203,7 @@ export interface EntriesApiInterface {
|
|
|
203
203
|
*/
|
|
204
204
|
getIngestContractUsageApiV1EntriesIngestContractUsageGetRaw(requestParameters: GetIngestContractUsageApiV1EntriesIngestContractUsageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IngestContractUsageResponse>>;
|
|
205
205
|
/**
|
|
206
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
206
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
207
207
|
* Get Ingest Contract Usage
|
|
208
208
|
*/
|
|
209
209
|
getIngestContractUsageApiV1EntriesIngestContractUsageGet(requestParameters: GetIngestContractUsageApiV1EntriesIngestContractUsageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestContractUsageResponse>;
|
|
@@ -294,7 +294,7 @@ export interface EntriesApiInterface {
|
|
|
294
294
|
*/
|
|
295
295
|
resetEntryProcessingApiV1EntriesEntryIdProcessingResetPost(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessingResetResponse>;
|
|
296
296
|
/**
|
|
297
|
-
* 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.
|
|
297
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
298
298
|
* @summary Save Processed Content
|
|
299
299
|
* @param {number} entryId
|
|
300
300
|
* @param {SaveProcessedContentRequest} saveProcessedContentRequest
|
|
@@ -304,7 +304,7 @@ export interface EntriesApiInterface {
|
|
|
304
304
|
*/
|
|
305
305
|
saveProcessedContentApiV1EntriesEntryIdProcessedPostRaw(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveProcessedContentResponse>>;
|
|
306
306
|
/**
|
|
307
|
-
* 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.
|
|
307
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
308
308
|
* Save Processed Content
|
|
309
309
|
*/
|
|
310
310
|
saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveProcessedContentResponse>;
|
|
@@ -338,7 +338,7 @@ export interface EntriesApiInterface {
|
|
|
338
338
|
*/
|
|
339
339
|
updateEntryApiV1EntriesEntryIdPatch(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
|
|
340
340
|
/**
|
|
341
|
-
* Upload a file to an existing entry. This saves the file to
|
|
341
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
342
342
|
* @summary Upload File To Entry
|
|
343
343
|
* @param {number} entryId
|
|
344
344
|
* @param {Blob} file File to upload
|
|
@@ -349,7 +349,7 @@ export interface EntriesApiInterface {
|
|
|
349
349
|
*/
|
|
350
350
|
uploadFileToEntryApiV1EntriesEntryIdUploadPostRaw(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadFileResponse>>;
|
|
351
351
|
/**
|
|
352
|
-
* Upload a file to an existing entry. This saves the file to
|
|
352
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
353
353
|
* Upload File To Entry
|
|
354
354
|
*/
|
|
355
355
|
uploadFileToEntryApiV1EntriesEntryIdUploadPost(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadFileResponse>;
|
|
@@ -389,14 +389,14 @@ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInt
|
|
|
389
389
|
*/
|
|
390
390
|
createEntryApiV1EntriesPost(requestParameters: CreateEntryApiV1EntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EntryCreateResponse>;
|
|
391
391
|
/**
|
|
392
|
-
* 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, \"
|
|
392
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
393
393
|
* Delete Entry
|
|
394
394
|
*/
|
|
395
395
|
deleteEntryApiV1EntriesEntryIdDeleteRaw(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
396
396
|
[key: string]: any;
|
|
397
397
|
}>>;
|
|
398
398
|
/**
|
|
399
|
-
* 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, \"
|
|
399
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
400
400
|
* Delete Entry
|
|
401
401
|
*/
|
|
402
402
|
deleteEntryApiV1EntriesEntryIdDelete(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
@@ -437,12 +437,12 @@ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInt
|
|
|
437
437
|
[key: string]: any;
|
|
438
438
|
}>;
|
|
439
439
|
/**
|
|
440
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
440
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
441
441
|
* Get Ingest Contract Usage
|
|
442
442
|
*/
|
|
443
443
|
getIngestContractUsageApiV1EntriesIngestContractUsageGetRaw(requestParameters: GetIngestContractUsageApiV1EntriesIngestContractUsageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IngestContractUsageResponse>>;
|
|
444
444
|
/**
|
|
445
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
445
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
446
446
|
* Get Ingest Contract Usage
|
|
447
447
|
*/
|
|
448
448
|
getIngestContractUsageApiV1EntriesIngestContractUsageGet(requestParameters?: GetIngestContractUsageApiV1EntriesIngestContractUsageGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestContractUsageResponse>;
|
|
@@ -505,12 +505,12 @@ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInt
|
|
|
505
505
|
*/
|
|
506
506
|
resetEntryProcessingApiV1EntriesEntryIdProcessingResetPost(requestParameters: ResetEntryProcessingApiV1EntriesEntryIdProcessingResetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessingResetResponse>;
|
|
507
507
|
/**
|
|
508
|
-
* 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.
|
|
508
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
509
509
|
* Save Processed Content
|
|
510
510
|
*/
|
|
511
511
|
saveProcessedContentApiV1EntriesEntryIdProcessedPostRaw(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveProcessedContentResponse>>;
|
|
512
512
|
/**
|
|
513
|
-
* 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.
|
|
513
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
514
514
|
* Save Processed Content
|
|
515
515
|
*/
|
|
516
516
|
saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters: SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveProcessedContentResponse>;
|
|
@@ -535,12 +535,12 @@ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInt
|
|
|
535
535
|
*/
|
|
536
536
|
updateEntryApiV1EntriesEntryIdPatch(requestParameters: UpdateEntryApiV1EntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Entry>;
|
|
537
537
|
/**
|
|
538
|
-
* Upload a file to an existing entry. This saves the file to
|
|
538
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
539
539
|
* Upload File To Entry
|
|
540
540
|
*/
|
|
541
541
|
uploadFileToEntryApiV1EntriesEntryIdUploadPostRaw(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadFileResponse>>;
|
|
542
542
|
/**
|
|
543
|
-
* Upload a file to an existing entry. This saves the file to
|
|
543
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
544
544
|
* Upload File To Entry
|
|
545
545
|
*/
|
|
546
546
|
uploadFileToEntryApiV1EntriesEntryIdUploadPost(requestParameters: UploadFileToEntryApiV1EntriesEntryIdUploadPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadFileResponse>;
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -138,7 +138,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
138
138
|
return await response.value();
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* 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, \"
|
|
141
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
142
142
|
* Delete Entry
|
|
143
143
|
*/
|
|
144
144
|
async deleteEntryApiV1EntriesEntryIdDeleteRaw(requestParameters, initOverrides) {
|
|
@@ -156,7 +156,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
156
156
|
return new runtime.JSONApiResponse(response);
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* 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, \"
|
|
159
|
+
* 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, \"storage\": bool, \"qdrant\": bool, \"meilisearch\": bool } } Raises: HTTPException 409: A blocking cleanup failed; the entry is kept with status \"error\". The detail carries the same cleanup_status and failed_components, the blocking components that failed (\"database\", \"storage\", \"qdrant\"). HTTPException 404: Entry not found. HTTPException 503: Object storage refused access; the entry is untouched.
|
|
160
160
|
* Delete Entry
|
|
161
161
|
*/
|
|
162
162
|
async deleteEntryApiV1EntriesEntryIdDelete(requestParameters, initOverrides) {
|
|
@@ -253,7 +253,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
253
253
|
return await response.value();
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
256
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
257
257
|
* Get Ingest Contract Usage
|
|
258
258
|
*/
|
|
259
259
|
async getIngestContractUsageApiV1EntriesIngestContractUsageGetRaw(requestParameters, initOverrides) {
|
|
@@ -271,7 +271,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
271
271
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IngestContractUsageResponseFromJSON)(jsonValue));
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
|
-
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
274
|
+
* Report which ingest shapes this cluster\'s producers actually post. Declared before `/{entry_id}` so the literal path wins the match. This exists to date a decision. The legacy `{\"text\": ...}` shape is still accepted and its boundaries derived, and it will stop being accepted at some point; picking that point without counting means either breaking a live producer or waiting indefinitely. LDS, BnF, TI and bioRxiv/medRxiv all write here. Counts are written in batches, by each pod every `ingest_usage_flush_interval_s` (`IngestContractUsageTally`), so posts from the last interval may not be counted yet, and a pod killed without a graceful stop loses at most one interval of its own. Either can only lower a count or move `last_seen_at` earlier by that much. No `x-organization-id` scope, deliberately and consistently with every other route on this router: one data-cluster serves one tenant, and `Dataset` carries no organization column to filter on (see its docstring - organizations live in the backend catalogue, not here). Omitting `dataset_id` therefore spans this tenant\'s own datasets and nobody else\'s, which is the same reach `GET /entries` already has. Args: dataset_id: Restrict to a single dataset, or omit for every dataset. Returns: The tenant this cluster serves and one row per dataset and shape.
|
|
275
275
|
* Get Ingest Contract Usage
|
|
276
276
|
*/
|
|
277
277
|
async getIngestContractUsageApiV1EntriesIngestContractUsageGet(requestParameters = {}, initOverrides) {
|
|
@@ -445,7 +445,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
445
445
|
return await response.value();
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
|
-
* 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.
|
|
448
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
449
449
|
* Save Processed Content
|
|
450
450
|
*/
|
|
451
451
|
async saveProcessedContentApiV1EntriesEntryIdProcessedPostRaw(requestParameters, initOverrides) {
|
|
@@ -468,7 +468,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
468
468
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SaveProcessedContentResponseFromJSON)(jsonValue));
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
|
-
* 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.
|
|
471
|
+
* 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. Holds a database connection only while it reads or writes the database. The tenant database sits behind PgBouncer in transaction mode, where an open transaction owns one of the tenant\'s few server connections; this route used to keep one open from its first read to after the response, across the object-storage write and the Meilisearch indexing - on 2026-10-28 a bulk ingest kept ~39 of them idle in transaction at once, for seconds each. It now runs as three short transactions with the external calls between them: read the entry, store the objects, write the row and commit, index, record what the index holds. `_commit_processed_row` and `_index_processed_entry` say how each stays consistent with what was done while no lock was held.
|
|
472
472
|
* Save Processed Content
|
|
473
473
|
*/
|
|
474
474
|
async saveProcessedContentApiV1EntriesEntryIdProcessedPost(requestParameters, initOverrides) {
|
|
@@ -538,7 +538,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
538
538
|
return await response.value();
|
|
539
539
|
}
|
|
540
540
|
/**
|
|
541
|
-
* Upload a file to an existing entry. This saves the file to
|
|
541
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
542
542
|
* Upload File To Entry
|
|
543
543
|
*/
|
|
544
544
|
async uploadFileToEntryApiV1EntriesEntryIdUploadPostRaw(requestParameters, initOverrides) {
|
|
@@ -581,7 +581,7 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
581
581
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadFileResponseFromJSON)(jsonValue));
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
|
-
* Upload a file to an existing entry. This saves the file to
|
|
584
|
+
* Upload a file to an existing entry. This saves the file to object storage 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.
|
|
585
585
|
* Upload File To Entry
|
|
586
586
|
*/
|
|
587
587
|
async uploadFileToEntryApiV1EntriesEntryIdUploadPost(requestParameters, initOverrides) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/src/apis/SyncApi.js
CHANGED
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Client Data API
|
|
3
3
|
* Client Cluster Data API - Manifest-based storage service
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 2.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 2.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|