openapi: 3.1.0 info: title: Lucidworks AI Platform Chunking Tokenization API description: The Lucidworks AI Platform API exposes prediction endpoints for FAQ enrichment, keyword extraction, named entity recognition (NER), retrieval augmented generation (RAG), summarization, passthrough LLM calls, and standalone query rewriting. Predictions are submitted by use case and fetched asynchronously by prediction ID. version: 1.0.0 contact: name: Lucidworks Support url: https://lucidworks.com/support license: name: Lucidworks Terms of Service url: https://lucidworks.com/terms servers: - url: https://api.lucidworks.ai description: Lucidworks AI production environment security: - bearerAuth: [] tags: - name: Tokenization description: Tokenize text by model paths: /ai/tokenize/{modelId}: post: tags: - Tokenization summary: Tokenize text description: Return token IDs and tokens for the input text. operationId: tokenize parameters: - name: modelId in: path required: true schema: type: string requestBody: required: true content: application/json: schema: type: object required: - input properties: input: type: string responses: '200': description: Tokens content: application/json: schema: type: object properties: tokens: type: array items: type: string ids: type: array items: type: integer components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT externalDocs: description: Lucidworks AI Platform API Reference url: https://doc.lucidworks.com/api-reference