openapi: 3.1.0 info: title: parseflow Admin Pack API description: Document parsing, extraction, and search API version: 0.2.0 security: - ApiKeyAuth: [] tags: - name: Pack paths: /pack: post: summary: Pack operationId: pack_pack_post parameters: - name: X-Docflow-Gateway-Secret in: header required: false schema: anyOf: - type: string - type: 'null' title: X-Docflow-Gateway-Secret requestBody: content: multipart/form-data: schema: $ref: '#/components/schemas/Body_pack_pack_post' responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Pack components: schemas: ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError Body_pack_pack_post: properties: file: anyOf: - type: string contentMediaType: application/octet-stream - type: 'null' title: File text: anyOf: - type: string - type: 'null' title: Text chunk_size: type: integer title: Chunk Size default: 2000 overlap: type: integer title: Overlap default: 200 mode: type: string title: Mode default: deterministic zip_name: type: string title: Zip Name default: pack.zip type: object title: Body_pack_pack_post HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-Key