{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/api/v0/pipeline":{"post":{"tags":["Pipeline"],"summary":"Pipeline Api","operationId":"pipeline_api_api_v0_pipeline_post","parameters":[{"required":false,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"},{"required":false,"schema":{"title":"Access-Token","type":"string"},"name":"access-token","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineInputModel"}}},"required":true},"responses":{"200":{"description":"Processed request","content":{"application/json":{"schema":{"title":"Response Pipeline Api Api V0 Pipeline Post","anyOf":[{"$ref":"#/components/schemas/PipelineOutput"},{"$ref":"#/components/schemas/PipelineBatchOutput"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/async":{"post":{"tags":["Pipeline"],"summary":"Async Pipeline Api","operationId":"async_pipeline_api_api_v0_pipeline_async_post","parameters":[{"required":false,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"},{"required":false,"schema":{"title":"Access-Token","type":"string"},"name":"access-token","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineInputModel"}}},"required":true},"responses":{"202":{"description":"Task ID","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/async/tasks/{task_id}":{"get":{"tags":["Pipeline"],"summary":"Get Task Status","operationId":"get_task_status_api_v0_pipeline_async_tasks__task_id__get","parameters":[{"required":true,"schema":{"title":"Task Id","type":"string"},"name":"task_id","in":"path"},{"required":true,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Task status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncPipelineOutput"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/file":{"post":{"tags":["Pipeline"],"summary":"Upload File","operationId":"upload_file_api_v0_pipeline_file_post","parameters":[{"required":false,"schema":{"title":"Pipeline","type":"string","format":"json-string"},"name":"pipeline","in":"query"},{"required":true,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Upload File Api V0 Pipeline File Post","anyOf":[{"$ref":"#/components/schemas/PipelineOutput"},{"$ref":"#/components/schemas/PipelineBatchOutput"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/async/file":{"post":{"tags":["Pipeline"],"summary":"Upload File Async","operationId":"upload_file_async_api_v0_pipeline_async_file_post","parameters":[{"required":false,"schema":{"title":"Pipeline","type":"string","format":"json-string"},"name":"pipeline","in":"query"},{"required":true,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/signed_url":{"get":{"tags":["Pipeline"],"summary":"Signed Url","operationId":"signed_url_api_v0_pipeline_signed_url_get","parameters":[{"required":true,"schema":{"title":"File Id","type":"string"},"name":"file_id","in":"query"},{"required":true,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/pipeline/active_batches":{"get":{"tags":["Pipeline"],"summary":"Get Active Batches","operationId":"get_active_batches_api_v0_pipeline_active_batches_get","parameters":[{"required":true,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v0/org/info":{"get":{"tags":["Organization Info API"],"summary":"Info","operationId":"info_api_v0_org_info_get","parameters":[{"required":false,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v0/org/info/monthly-charge":{"get":{"tags":["Organization Info API"],"summary":"Info","operationId":"info_api_v0_org_info_monthly_charge_get","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/BillingPlan"},"name":"plan","in":"query"},{"required":false,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v0/org/info/plan-upgrade-charge":{"get":{"tags":["Organization Info API"],"summary":"Info","operationId":"info_api_v0_org_info_plan_upgrade_charge_get","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/BillingPlan"},"name":"new_plan","in":"query"},{"required":false,"schema":{"title":"Api-Key","type":"string"},"name":"api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Amount":{"title":"Amount","enum":["normal","less","more"],"type":"string","description":"An enumeration."},"AsyncPipelineOutput":{"title":"AsyncPipelineOutput","required":["status"],"type":"object","properties":{"result":{"title":"Result","anyOf":[{"$ref":"#/components/schemas/PipelineOutput"},{"$ref":"#/components/schemas/PipelineBatchOutput"},{"$ref":"#/components/schemas/PipelineError"},{"type":"string"}],"description":"Pipeline result"},"task_id":{"title":"Task Id","type":"string","description":"Task ID"},"status":{"title":"Status","type":"string","description":"Pipeline execution status"},"completion_time":{"title":"Completion Time","type":"string","description":"Task completion time","format":"date-time"},"creation_time":{"title":"Creation Time","type":"string","description":"Task creation time","format":"date-time"}}},"BaseSkillParams":{"title":"BaseSkillParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"}}},"BillingPlan":{"title":"BillingPlan","enum":["FREE","LITE","START","PRO","SCALE"],"type":"string","description":"An enumeration."},"ClusteringParams":{"title":"ClusteringParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"input_skill":{"allOf":[{"$ref":"#/components/schemas/Skill"}],"description":"Skill input for the clustering skill"},"indexing_skill":{"allOf":[{"$ref":"#/components/schemas/Skill"}],"description":"Skill input for the indexing"},"indexing_skill_params":{"title":"Indexing Skill Params","type":"object","description":"Skill input for the indexing","default":{}},"collection":{"title":"Collection","type":"string","default":""},"user_metadata":{"title":"User Metadata","anyOf":[{"type":"object"},{"type":"string"}],"description":"User metadata as dictionary of key-value pairs"}}},"ContentType":{"title":"ContentType","enum":["text/plain","text/pdf","text/html","text/srt","text/google_transcribe","text/vtt","text/csv","audio/wav","audio/x-wav","audio/mp3","audio/m4a","audio/x-m4a","audio/mpeg","audio/ds2","img/jpg","application/json","text/pptx","text/docx","text/epub","text/doc"],"type":"string","description":"An enumeration."},"CsvInput":{"title":"CsvInput","enum":["input"],"type":"string","description":"An enumeration."},"CsvParams":{"title":"CsvParams","required":["columns"],"type":"object","properties":{"columns":{"title":"Columns","type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/CsvInput"},{"type":"boolean"},{"type":"string"}]},"description":"List of columns to use as input"},"skip_rows":{"title":"Skip Rows","type":"integer","description":"Number of rows to skip at the beginning of the file","default":0},"max_rows":{"title":"Max Rows","type":"integer","description":"Maximum number of rows to process"}}},"EntitiesParams":{"title":"EntitiesParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"entities_type":{"allOf":[{"$ref":"#/components/schemas/EntitiesType"}],"description":"Request entities of specific type only"},"enrichment":{"title":"Enrichment","type":"boolean","description":"Perform entity enrichment","default":false},"description":{"title":"Description","type":"boolean","description":"Add entity description","default":true},"reference_time":{"title":"Reference Time","type":"string","description":"Date and time base reference","format":"date-time"},"reference_time_delta_minutes":{"title":"Reference Time Delta Minutes","type":"integer","description":"Date and time base reference"},"locale":{"title":"Locale","type":"string","description":"Locale for the input text","default":"US"},"amount":{"allOf":[{"$ref":"#/components/schemas/Amount"}],"description":"Amount of entities to return","default":"normal"},"input_skill":{"title":"Input Skill","type":"string","description":"Skill input for the embedding skill"},"ignore_spacy":{"title":"Ignore Spacy","type":"boolean","description":"Ignore Spacy entities","default":false}}},"EntitiesType":{"title":"EntitiesType","enum":["names","numbers"],"type":"string","description":"An enumeration."},"HTMLExtractMode":{"title":"HTMLExtractMode","enum":["article","content","all","auto"],"type":"string","description":"Controls the behavior and the level of aggressiveness of the HTML extraction."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"HeadlineParams":{"title":"HeadlineParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"headline_type":{"allOf":[{"$ref":"#/components/schemas/HeadlineType"}],"description":"Headline type","default":"headline"},"variations":{"title":"Variations","type":"integer","description":"Number of headline variations to generate","default":1}}},"HeadlineType":{"title":"HeadlineType","enum":["headline","clickbait","subheading"],"type":"string","description":"An enumeration."},"HighlightsParams":{"title":"HighlightsParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"amount":{"allOf":[{"$ref":"#/components/schemas/Amount"}],"description":"Amount of highlights to return","default":"normal"},"threshold":{"title":"Threshold","type":"number","description":"Threshold for highlights"}}},"HtmlExtractorParams":{"title":"HtmlExtractorParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"include_headline":{"title":"Include Headline","type":"boolean","description":"Whether to include the title of the HTML document in the extracted text","default":true},"include_code_inline":{"title":"Include Code Inline","type":"boolean","description":"Whether to include content of inline code elements in the extracted text","default":true},"include_code_block":{"title":"Include Code Block","type":"boolean","description":"Whether to include content of code blocks in the extracted text","default":true},"include_references_section":{"title":"Include References Section","type":"boolean","description":"Whether to include content of the references / sources section at the bottom of the article","default":false},"expand_tables":{"title":"Expand Tables","type":"boolean","description":"Whether to eapand tables to rows of text","default":false},"markdown_headings":{"title":"Markdown Headings","type":"boolean","description":"Whether to denote headings with markdown style '#'","default":false},"mode":{"allOf":[{"$ref":"#/components/schemas/HTMLExtractMode"}],"description":"Available modes: 'article', 'content', 'all', 'auto'","default":"article"},"use_proxy":{"title":"Use Proxy","type":"boolean","description":"Whether to use a proxy to access the web page","default":false},"render":{"title":"Render","type":"boolean","description":"Whether to render the page using a headless browser","default":false},"exclude_labels":{"title":"Exclude Labels","type":"array","items":{"type":"string"},"description":"List label names to exclude from the results. Only removes the labels, not the actual text.","default":[]},"absolute_urls":{"title":"Absolute Urls","type":"boolean","description":"Whether to convert relative links to absolute links.","default":true},"origin":{"title":"Origin","type":"string","description":"The origin of the page. Used to convert relative links to absolute links."},"content_xpath":{"title":"Content Xpath","type":"string","description":"XPath expression to select the main content of the page. Must be prefixed with '//'. Default is '//body'","default":"//body"},"heading_xpaths":{"title":"Heading Xpaths","type":"array","items":{"$ref":"#/components/schemas/HtmlHeadingXpath"},"description":"List of XPath expressions to select headings. Each element must have a 'xpath' and 'level' field. Default is None"},"link_only_xpath":{"title":"Link Only Xpath","type":"string","description":"XPath expression for elements where only link labels should be kept (text content is excluded).","default":".//footer | .//*[@role='contentinfo']"}}},"HtmlHeadingXpath":{"title":"HtmlHeadingXpath","required":["xpath","level"],"type":"object","properties":{"xpath":{"title":"Xpath","type":"string"},"level":{"title":"Level","type":"integer"}}},"InputEncoding":{"title":"InputEncoding","enum":["base64","utf8"],"type":"string","description":"An enumeration."},"InputWithLabels":{"title":"InputWithLabels","type":"object","properties":{"input":{"title":"Input","anyOf":[{"type":"string"},{"type":"array","items":{}},{"type":"object"}],"description":"Input data"},"labels":{"title":"Labels","type":"array","items":{"$ref":"#/components/schemas/Label"}}}},"JobStatistics":{"title":"JobStatistics","required":["concurrency_wait_time"],"type":"object","properties":{"concurrency_wait_time":{"title":"Concurrency Wait Time","type":"number","description":"Time spent waiting for free execution slot"}}},"Label":{"title":"Label","type":"object","properties":{"type":{"title":"Type","type":"string","description":"Label type"},"skill":{"title":"Skill","type":"string","description":"Label type"},"name":{"title":"Name","type":"string","description":"Label name"},"value":{"title":"Value","description":"Value"},"speaker":{"title":"Speaker","type":"string","description":"Speaker"},"data":{"title":"Data","type":"object","description":"Optional data"},"span_text":{"title":"Span Text","type":"string","description":"Span text"},"span":{"title":"Span","allOf":[{"$ref":"#/components/schemas/Span"}],"description":"Origin span"},"output_spans":{"title":"Output Spans","type":"array","items":{"$ref":"#/components/schemas/OutputSpan"},"description":"Utterance spans"},"origin":{"title":"Origin","type":"string","description":"Origin value"},"input_spans":{"title":"Input Spans","type":"array","items":{"$ref":"#/components/schemas/OutputSpan"},"description":"Origin utterance spans"},"timestamp":{"title":"Timestamp","type":"string","description":"Span timestamp"},"timestamp_end":{"title":"Timestamp End","type":"string","description":"Span timestamp end"}}},"MultiLanguageInput":{"title":"MultiLanguageInput","type":"object","properties":{"enabled":{"title":"Enabled","type":"boolean","description":"Enable multi-language input","default":false},"allowed_input_languages":{"title":"Allowed Input Languages","type":"array","items":{"type":"string"},"description":"List of accepted input languages, two-letter codes (ISO-639) or [\"ALL\"]","default":["ALL"]},"translate_output_to":{"title":"Translate Output To","type":"string","description":"Translate output to this language code, two-letter (ISO-639)"},"expected_languages":{"title":"Expected Languages","type":"array","items":{"type":"string"},"description":"Expected languages of input, two-letter (ISO-639)"},"override_language_detection":{"title":"Override Language Detection","type":"boolean","description":"Override language detection","default":false}}},"OneAiWarning":{"title":"OneAiWarning","required":["warning_code","message"],"type":"object","properties":{"warning_code":{"title":"Warning Code","type":"integer"},"message":{"title":"Message","type":"string"}}},"OutputBlock":{"title":"OutputBlock","required":["text_generated_by_step_name","text_generated_by_step_id"],"type":"object","properties":{"text_generated_by_step_name":{"title":"Text Generated By Step Name","type":"string","description":"Generating step name"},"text_generated_by_step_id":{"title":"Text Generated By Step Id","type":"integer","description":"Generating step ID"},"text":{"title":"Text","type":"string","description":"Output text"},"contents":{"title":"Contents","type":"array","items":{},"description":"Contents"},"labels":{"title":"Labels","type":"array","items":{"$ref":"#/components/schemas/Label"},"description":"Labels","default":[]}}},"OutputSpan":{"title":"OutputSpan","required":["section","start","end"],"type":"object","properties":{"section":{"title":"Section","type":"integer","description":"Utterance index"},"start":{"title":"Start","type":"integer","description":"Start position"},"end":{"title":"End","type":"integer","description":"End position"}}},"OutputType":{"title":"OutputType","enum":["text","json"],"type":"string","description":"An enumeration."},"PipelineBatchOutput":{"title":"PipelineBatchOutput","required":["outputs"],"type":"object","properties":{"stats":{"title":"Stats","allOf":[{"$ref":"#/components/schemas/JobStatistics"}],"description":"Job statistics"},"outputs":{"title":"Outputs","type":"array","items":{"$ref":"#/components/schemas/PipelineOutputBase"},"description":"Pipeline outputs"},"warnings":{"title":"Warnings","type":"object","additionalProperties":{"$ref":"#/components/schemas/OneAiWarning"},"description":"List of warning"}}},"PipelineError":{"title":"PipelineError","required":["status_code","message","request_id"],"type":"object","properties":{"status_code":{"title":"Status Code","type":"integer","description":"Status code"},"message":{"title":"Message","type":"string","description":"Error message"},"details":{"title":"Details","anyOf":[{"type":"string"},{"type":"object"}],"description":"Error details"},"request_id":{"title":"Request Id","type":"string","description":"Request ID"}}},"PipelineInputModel":{"title":"PipelineInputModel","required":["steps"],"type":"object","properties":{"steps":{"title":"Steps","type":"array","items":{"$ref":"#/components/schemas/PipelineStep"},"description":"Pipeline steps"},"input_type":{"allOf":[{"$ref":"#/components/schemas/TextType"}],"description":"Input type","default":"auto-detect"},"output_type":{"allOf":[{"$ref":"#/components/schemas/OutputType"}],"description":"Output type","default":"text"},"encoding":{"allOf":[{"$ref":"#/components/schemas/InputEncoding"}],"description":"Input encoding utf8 or base64","default":"utf8"},"content_type":{"allOf":[{"$ref":"#/components/schemas/ContentType"}],"description":"File content type e.g audio/wav,img/jpg","default":"text/plain"},"charset":{"title":"Charset","type":"string","description":"Text charset"},"labels":{"title":"Labels","type":"array","items":{"$ref":"#/components/schemas/Label"}},"multilingual":{"title":"Multilingual","allOf":[{"$ref":"#/components/schemas/MultiLanguageInput"}],"description":"Multi-language input","default":{"enabled":false,"allowed_input_languages":["ALL"],"override_language_detection":false}},"output_language":{"title":"Output Language","type":"string","description":"Output language"},"include_empty_outputs":{"title":"Include Empty Outputs","type":"boolean","description":"Include empty outputs in the response","default":false},"csv_params":{"title":"Csv Params","allOf":[{"$ref":"#/components/schemas/CsvParams"}],"description":"CSV input params"},"max_input_words":{"title":"Max Input Words","type":"integer","description":"Text exceeding this value will be truncated"},"webhook_url":{"title":"Webhook Url","type":"string","description":"Text exceeding this value will be truncated"},"input":{"title":"Input","anyOf":[{"type":"string"},{"type":"array","items":{}},{"type":"object"}],"description":"Input data"},"text":{"title":"Text","anyOf":[{"type":"string"},{"type":"array","items":{}},{"type":"object"}],"description":"Input text (deprecated)"},"inputs":{"title":"Inputs","type":"array","items":{"$ref":"#/components/schemas/InputWithLabels"},"description":"List of inputs"}}},"PipelineOutput":{"title":"PipelineOutput","required":["status"],"type":"object","properties":{"input_text":{"title":"Input Text","type":"string","description":"Input text"},"input":{"title":"Input","type":"array","items":{},"description":"Input"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Result status"},"error":{"title":"Error","type":"string","description":"Error message"},"output":{"title":"Output","type":"array","items":{"$ref":"#/components/schemas/OutputBlock"},"description":"Output blocks"},"warnings":{"title":"Warnings","type":"object","additionalProperties":{"$ref":"#/components/schemas/OneAiWarning"},"description":"List of warning"},"stats":{"title":"Stats","allOf":[{"$ref":"#/components/schemas/JobStatistics"}],"description":"Job statistics"}}},"PipelineOutputBase":{"title":"PipelineOutputBase","required":["status"],"type":"object","properties":{"input_text":{"title":"Input Text","type":"string","description":"Input text"},"input":{"title":"Input","type":"array","items":{},"description":"Input"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Result status"},"error":{"title":"Error","type":"string","description":"Error message"},"output":{"title":"Output","type":"array","items":{"$ref":"#/components/schemas/OutputBlock"},"description":"Output blocks"},"warnings":{"title":"Warnings","type":"object","additionalProperties":{"$ref":"#/components/schemas/OneAiWarning"},"description":"List of warning"}}},"PipelineStep":{"title":"PipelineStep","required":["skill"],"type":"object","properties":{"skill":{"allOf":[{"$ref":"#/components/schemas/Skill"}],"description":"Skill"},"params":{"title":"Params","anyOf":[{"type":"object"},{"$ref":"#/components/schemas/ClusteringParams"},{"$ref":"#/components/schemas/HeadlineParams"},{"$ref":"#/components/schemas/HighlightsParams"},{"$ref":"#/components/schemas/EntitiesParams"},{"$ref":"#/components/schemas/HtmlExtractorParams"},{"$ref":"#/components/schemas/SegmentationParams"},{"$ref":"#/components/schemas/SummaryParams"},{"$ref":"#/components/schemas/BaseSkillParams"}],"description":"Optional skill params (see specific API for details)","default":{}}}},"SegmentationAmount":{"title":"SegmentationAmount","enum":["less","normal","more","max"],"description":"An enumeration."},"SegmentationParams":{"title":"SegmentationParams","type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"amount":{"allOf":[{"$ref":"#/components/schemas/SegmentationAmount"}],"description":"Amount of segments to return","default":"normal"},"subheadings":{"title":"Subheadings","type":"boolean","description":"Whether to include subheadings in the segmentation","default":true},"max_segment_words":{"title":"Max Segment Words","type":"integer","description":"split segment if it exceeds this number of words"},"max_segment_characters":{"title":"Max Segment Characters","type":"integer","description":"split segment if it exceeds this number of characters"},"max_segment_tokens":{"title":"Max Segment Tokens","type":"integer","description":"split segment if it exceeds this number of tokens"}}},"Skill":{"title":"Skill","enum":["ALL","sentences","entities","enhance","highlights","keywords","summarize","emotions","article-topics","sentiments","extract-html","html-extract-article","anonymize","embedding","clustering","action-items","business-entities","sales-insights","dialogue-segmentation","names","numbers","find","transcribe","translate","detect-language","debug","headline","subheading","skill-discovery","whisper-transcription","service-email-insights","pdf-extract-text","fact-check","gpt","classify","collection-search","coda-query-classifier","social-toxicity","content-curation","subsentences","bizgpt","files-extract-text","query-rewriter","rank","nli","voice-intents","contact-discovery"],"type":"string","description":"An enumeration."},"Span":{"title":"Span","maxItems":2,"minItems":2,"type":"array","items":{"type":"integer"}},"Status":{"title":"Status","enum":["success","failure"],"type":"string","description":"An enumeration."},"SummaryParams":{"title":"SummaryParams","required":["type"],"type":"object","properties":{"output_labels":{"title":"Output Labels","type":"array","items":{"type":"string"},"description":"Output labels filter"},"amount":{"allOf":[{"$ref":"#/components/schemas/Amount"}],"description":"Amount of highlights to return","default":"normal"},"threshold":{"title":"Threshold","type":"number","description":"Threshold for highlights"},"segments":{"title":"Segments","type":"array","items":{"maxItems":5,"minItems":5,"type":"array","items":{"title":"type"}},"default":[]},"type":{"$ref":"#/components/schemas/TextType"},"labels":{"title":"Labels","type":"array","items":{"$ref":"#/components/schemas/Label"}},"min_length":{"title":"Min Length","type":"integer","description":"Minimum length of summary text"},"max_length":{"title":"Max Length","type":"integer","description":"Minimum length of summary text"},"find_origins":{"title":"Find Origins","type":"boolean","description":"Find the origin spans of the summary text"},"clean_summary":{"title":"Clean Summary","type":"boolean","description":"Perform cleanup of article summary","default":true}}},"TextSegment":{"title":"TextSegment","required":["start","end","text","speaker","timestamp"],"type":"object","properties":{"start":{"title":"Start","type":"integer"},"end":{"title":"End","type":"integer"},"text":{"title":"Text","type":"string"},"speaker":{"title":"Speaker","type":"string"},"timestamp":{"title":"Timestamp","type":"string"}}},"TextType":{"title":"TextType","enum":["article","conversation","auto-detect"],"type":"string","description":"An enumeration."},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"api-key"}}}}