{"components":{"schemas":{"BatchTranslateSchema":{"example":{"documents":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"}],"fields":["title","text"],"language":"french"},"properties":{"documents":{"description":"List of documents to translate","items":{"properties":{"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-12-30T22:59:57.502Z","format":"date-time","title":"Document Id","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"}},"title":"Document","type":"object"},"maxItems":25,"minItems":1,"title":"Documents","type":"array"},"fields":{"default":["title","text"],"description":"Fields to translate","items":{"enum":["title","text"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"},"language":{"default":"english","description":"The language in which you want the documents to be translated. See [Language Support](/guide/languages#translation) page for more information.","example":"italian","format":"language-code","title":"Target language","type":"string"}},"required":["documents"],"title":"Documents Translate","type":"object"},"BrowseSchema":{"example":{"entity_of_interest":"apple","properties_list":["chief_executive_officer","domain","founders","legal_name","subsidiaries","ticker"],"source":"corporate_kg"},"properties":{"entity_of_interest":{"description":"The identifier of an Entity.","title":"Entity identifier","type":"string"},"properties_list":{"description":"The properties to look for in the KG.<br/> If *source* is corporate_kg, defaults to *[ \"chief_executive_officer\", \"domain\", \"founders\", \"legal_name\", \"subsidiaries\", \"ticker\" ]*<br/>  If *source* is general_kg, defaults to the full list of properties corresponding to the entity provided.","items":{"type":"string"},"title":"Properties list parameter","type":"array"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"},"uuid":{"description":"The uuid identifier of an Entity. Available only with corporate_kg source.","format":"uuid","title":"Uuid","type":"string"}},"required":["entity_of_interest"],"title":"KG Browse","type":"object"},"CandidatesSchema":{"example":{"keyword_of_interest":"Apple","max_results":5,"source":"corporate_kg"},"properties":{"keyword_of_interest":{"description":"The fuzzy keyword to look-up in the the KG.","example":"Apple","title":"Keyword of Interest","type":"string"},"max_results":{"default":5,"description":"The maximum results number to retrieve.","example":5,"maximum":10000,"minimum":0,"title":"Maximum Results","type":"number"},"mode":{"default":"pagerank","deprecated":true,"description":"The sorting mode.","enum":["pagerank","no_ranking"],"example":"pagerank","title":"Page Rank (deprecated)","type":"string"},"search_aliases":{"default":true,"deprecated":true,"description":"Get aliases if set to True.","example":true,"title":"Search Aliases (deprecated)","type":"boolean"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"}},"required":["keyword_of_interest"],"title":"KG Candidates","type":"object"},"DatasetSchema":{"example":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"countries":["US","FR"],"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"languages":["english"],"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"site_type":["news","blogs","discussions"],"sites_exclude":["apple.com"],"start_date":"2019-01-31","workers":["quality-score","concept","raw-matcher","ner-linking","entity-similarity","embedder-indicators"]},"properties":{"co_mentions":{"description":"List of keywords to search with the keywords list. Works like a boolean `AND`.\n*Example*: \n  - `keywords : [\"TotalEnergy\"]`\n  - `co_mentions: [\"gas\", \"oil price\"]`\n\n*Behavior:* TextReveal\u00ae API will look for documents relevant to at least one of the co_mentions. For the above example, below are the different cases of relevancy:\n - `TotalEnergy` and `gas`\n - `TotalEnergy` and `oil price`\n - `TotalEnergy` and `oil price` and `gas`\n\n*N.B*: Search of `co_mentions` is operated in full-text and is case insensitive.\n","items":{"example":["tablets"],"type":"string"},"title":"Co Mentions","type":"array"},"concepts":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"List of concepts or risks that are to be analyzed. Each individual concept is defined by its own list of keywords.<br/> Punctuation is not handled in the concept labels. Each concept label must be unique (case insensitive).\n","title":"Concepts","type":"object"},"concepts_filter":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"Same as `concepts` but filters out documents that does not contain the concepts. <br/>**Note**: You can either use `concepts` or `concepts_filter`\n","title":"Concepts Filter","type":"object"},"countries":{"description":"List of countries to search (field `thread.country`). <br/>\n*N.B*: Use `alpha-2` format.\n","items":{"example":["US"],"type":"string"},"title":"Countries","type":"array"},"end_date":{"description":"The date when the anaysis should end.","example":"2019-02-01","format":"date","title":"End Date","type":"string"},"entities":{"items":{"example":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"Q312","keywords":["Tim Cook","Apple TV"],"neg_keywords":["apple"]},{"context":"Boeing Company manufactures and sells aircraft, rotorcraft, rockets, and satellites and provides product leasing and support services.","entity_of_interest":"Q66","keywords":["Boeing","Alteon Training"],"neg_keywords":["insitu"]}],"properties":{"context":{"description":"The context used for the analysis.","title":"Context","type":"string"},"entity_of_interest":{"description":"The entity identifier. Commas are not allowed inside.","title":"Entity Identifier","type":"string"},"keywords":{"description":"List of keywords to search.<br/> *All keywords with a length strictly lower than 3 characters are filtered out except for `Japanese`, `Chinese` and `Korean` languages.*","items":{"type":"string"},"title":"Keywords","type":"array"},"neg_keywords":{"description":"List of keywords not used for search but for named entity resolution or annotation task. <br/>\nDetailed explanation: \n- Using generic keywords or high cardinality keywords can bring huge volume of data to process or reduce quality of the data extracted.\n- `neg_keywords` parameter allows you to add such keywords so that you can use them to annotate sentence containing them within documents already containing less generic keywords.\n\nExample: \n- `keywords: ['Microsoft']` (Used for search in datalake)\n- `neg_keywords: ['MSFT']` (Not used for search in datalake)\n\n*Behavior:* Textreveal\u00ae API will look for documents containing only microsoft, then after, it will annotate every sentence mentionning `MSFT` or `Microsoft`\n","items":{"type":"string"},"title":"Negative keywords","type":"array"}},"required":["context","entity_of_interest","keywords"],"title":"Entity","type":"object"},"title":"Entities","type":"array"},"keywords_exclude":{"description":"List of keywords to exclude from the search. Works like a boolean `AND NOT`. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `keywords_exclude: [\"Steve Jobs\", \"Tim Cook\"]`\n*Behavior*: TextReveal\u00ae API will look for documents relevant to `apple` the company or `Iphone` but *NOT* containing either `Steve Jobs` or `Tim Cook`.\n\n*N.B*: Search of `keywords_exclude` is operated in full-text and is case insensitive.\n","items":{"example":["Steve Jobs"],"type":"string"},"title":"Keywords Exclude","type":"array"},"languages":{"default":["english"],"description":"List of languages to search, see [Language Support](/guide/languages#analyze) page for more information.\n\n*Note:* We do not recommend using multiple values.\n","example":["french"],"items":{"format":"analyze-language-code","type":"string"},"title":"Languages","type":"array"},"min_match":{"default":1,"description":"The message must contain at least `min_match` keywords. <br/>\nWhen used, each entity must have at least `min_match` keywords.<br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\", \"macbook\"]`\n- `min_match: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if at least 2 elements from the keywords list appear in the document.\n","example":1,"title":"Minimum Match","type":"number"},"min_repeat":{"default":1,"description":"The message must contain at least `min_repeat` occurrence of a keyword. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `min_repeat: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if it contains at least 2 occurrences of either `apple` or `iphone`.\n","example":1,"title":"Minimum Repeat","type":"number"},"qscore":{"default":50,"description":"Quality threshold to filter out unreadable data. <br/>\nNo filtering is applied if the `quality-score` worker is not provided.\n","example":50,"format":"float","maximum":100,"minimum":0,"title":"Quality score","type":"number"},"search_in":{"default":["title","text"],"description":"Allows to define if the documents extraction has to be done by searching entity keywords in the title and/or in the text. <br/>\n*Example*: \n- `search_in: [\"title\", \"text\"]`\n\n**Note:**\n- This parameter is only applied on the keywords of entity, not on `keywords_exclude`, `co_mentions`, `neg_keywords`, `min_repeat`, `min_match`.\n- Not available with `ner-linking` worker.\n","items":{"example":["title","text"],"type":"string"},"title":"Search In","type":"array"},"sentiments_filter":{"description":"Partial object containing a min/max values for each sentiments. The end analysis will contains documents that match these filters. <br/> \n**Note:** This can be compared to a filter on: \n- `document_{sentiment}.mean` key for `positive`, `negative` and `neutral`\n- `document_{sentiment}` key for `polarity`\n","properties":{"negative":{"properties":{"max":{"description":"Maximum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Negative","type":"number"},"min":{"description":"Minimum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Negative","type":"number"}},"type":"object"},"neutral":{"properties":{"max":{"description":"Maximum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Neutral","type":"number"},"min":{"description":"Minimum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Neutral","type":"number"}},"type":"object"},"polarity":{"properties":{"max":{"description":"Maximum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Maximum Polarity","type":"number"},"min":{"description":"Minimum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Minimum Polarity","type":"number"}},"type":"object"},"positive":{"properties":{"max":{"description":"Maximum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Positive","type":"number"},"min":{"description":"Minimum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Positive","type":"number"}},"type":"object"}},"title":"Sentiments Filter","type":"object"},"similarity_threshold":{"default":0,"description":"Similarity score threshold for recognized or matched entities. Filters out documents containing entities with a similarity score lesser than the threshold.","example":0.5,"format":"float","maximum":1,"minimum":0,"type":"number"},"site_type":{"default":["news","blogs","discussions"],"description":"Type of sites to search (field `thread.site_type`)\n","items":{"enum":["news","blogs","discussions","licensed_news","premium_news"],"example":["news"],"type":"string"},"title":"Site Type","type":"array"},"sites":{"description":"List of websites to search.<br />\n*N.B*: Use the **base domain** of the websites.\n","items":{"example":["apple.com"],"type":"string"},"title":"Sites","type":"array"},"sites_exclude":{"description":"A list of source sites to be excluded.","items":{"example":["apple.com"],"type":"string"},"title":"Sites Exclude","type":"array"},"start_date":{"description":"The date when the analysis should start.","example":"2019-01-31","format":"date","title":"Start Date","type":"string"},"workers":{"description":"List of the tasks that will be used for analysis. Should contain at least 'raw-matcher' or 'ner-linking'.","items":{"enum":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"example":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"type":"string"},"minimum":1,"title":"Workers","type":"array"}},"required":["end_date","entities","start_date","workers"],"title":"Analyze Dataset","type":"object"},"DownloadSchema":{"properties":{"concept":{"description":"Detected concept in the documents. This concept must be part of the instance.","example":"pollution","title":"Concept","type":"string"},"date":{"description":"Extract date of the documents. Must be within the instance's date range.","example":"2019-02-01","format":"date","title":"Date","type":"string"},"entity":{"description":"Detected entity in the documents. This entity must be part of the instance.","example":"sesamm","title":"Entity","type":"string"},"fields":{"description":"List of fields to be extracted in documents.","items":{"enum":["concepts","document_entity_negative","document_entity_neutral","document_entity_polarity","document_entity_positive","document_negative","document_neutral","document_polarity","document_positive","entities","extract_date","id","language","mentions","qscore","sentences","thread","title","url","summary"],"example":"title","type":"string"},"title":"Fields","type":"array"},"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"},"limit":{"oneOf":[{"description":"The number of documents in the file.","example":500,"minimum":1,"title":"Limit","type":"integer"},{"description":"The number of documents in the file.","properties":{"by":{"enum":["entity"],"example":"entity","type":"string"},"value":{"example":3,"minimum":1,"type":"integer"}},"title":"Limit","type":"object"}]},"sort":{"properties":{"field":{"description":"The field used to sort the documents.","enum":["document_polarity","document_positive","document_neutral","document_negative","document_entity_positive","document_entity_neutral","document_entity_negative","document_entity_polarity"],"example":"document_polarity","title":"Field","type":"string"},"order":{"description":"The sort order. You can use the ASC and DESC keywords to specify ascending (smallest value first) or descending (largest value first) order","enum":["ASC","DESC"],"example":"ASC","title":"Order","type":"string"}},"title":"Sort","type":"object"}},"required":["instance","limit"],"title":"Analyze Download","type":"object"},"EntitiesBulkSchema":{"description":"You need to provide at least one value in *uuids* or *entitied_ids*.","example":{"entities_ids":["apple","sesamm"],"language":"english","properties_list":["chief_executive_officer","domain","founders","legal_name","subsidiaries","ticker"],"source":"corporate_kg","uuids":[]},"properties":{"entities_ids":{"example":["apple","sesamm"],"items":{"type":"string"},"title":"An array of the wanted entity ids.","type":"array"},"properties_list":{"description":"The properties to look for in the KG.<br/> If *source* is corporate_kg, defaults to *[ \"chief_executive_officer\", \"domain\", \"founders\", \"legal_name\", \"subsidiaries\", \"ticker\" ]*<br/>  If *source* is general_kg, defaults to the full list of properties corresponding to the entity provided.","items":{"type":"string"},"title":"Properties list parameter","type":"array"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"},"uuid":{"default":false,"description":"Whether to return company uuid or not.","example":false,"type":"boolean"},"uuids":{"description":"Array of companies uuids to look for.","example":["923e84d9-f307-0b5e-c8f8-2696b7c4a320"],"items":{"format":"uuid","type":"string"},"title":"Uuids","type":"array"}},"title":"KG Entities Bulk","type":"object"},"GetDocumentsSchema":{"example":{"documents":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"}],"fields":["title","text"]},"properties":{"documents":{"description":"List of documents","items":{"properties":{"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-12-30T22:59:57.502Z","format":"date-time","title":"Document Id","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"}},"required":["id"],"title":"Document","type":"object"},"maxItems":500,"minItems":1,"title":"Documents","type":"array"},"fields":{"default":["title","text"],"description":"Fields to fetch","items":{"enum":["title","text","summary"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"}},"required":["documents"],"title":"Get documents","type":"object"},"StatusSchema":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f"},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"}},"required":["instance"],"title":"Analyze Status","type":"object"},"TimeserieSchema (deprecated)":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","operands":["min","max","mean","median"],"pivots":["extract_day","language","entity"],"time_granularity":"day","volume_only":false},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"},"operands":{"default":["min","max","mean","median"],"description":"Operands that will be used for aggregation.","example":["min","max","mean","median"],"items":{"enum":["min","max","mean","median"],"type":"string"},"type":"array"},"pivots":{"default":["extract_day","entity"],"description":"Additional pivots (groups) to the date.","example":["extract_day","language","entity"],"items":{"enum":["extract_day","language","entity","site","site_type","country"],"type":"string"},"type":"array"},"time_granularity":{"default":"day","description":"Aggregation granularity period. Available options are 'day', 'hour', 'minute'","enum":["day","hour","minute"],"example":"day","type":"string"},"volume_only":{"default":false,"description":"Aggregation mode. Set to true to display only volumes","example":false,"type":"boolean"}},"title":"Analyze Timeserie (deprecated)","type":"object"},"TimeseriesSchema":{"example":{"operands":["min","max","mean","median"],"output_format":"json","pivots":["extract_day","language","entity"],"time_granularity":"day","volume_only":false},"properties":{"operands":{"default":["min","max","mean","median"],"description":"The operators that will be used for aggregation. Min is lowest value observed for the class on the defined period. Max is highest value observed for the class on the defined period. Mean is average value observed for the class on the defined period. Median is middle value observed for the class on the defined period.","example":["min","max","mean","median"],"items":{"enum":["min","max","mean","median"],"type":"string"},"title":"Operands","type":"array"},"output_format":{"default":"json","description":"The output format of the final timeseries.","enum":["json","csv"],"example":"json","title":"Output Format","type":"string"},"pivots":{"default":["extract_day","entity"],"description":"Additional pivots (groups) to the date.","example":["extract_day","language","entity"],"items":{"enum":["extract_day","language","entity","site","site_type","country"],"type":"string"},"title":"Pivots","type":"array"},"time_granularity":{"default":"day","description":"Aggregation granularity period.","enum":["day","hour","minute"],"example":"day","title":"Time Granularity","type":"string"},"volume_only":{"default":false,"description":"Aggregation mode. Set to true to display only volumes.","example":false,"type":"boolean"}},"title":"Analyze Timeseries","type":"object"},"TqlSchema":{"example":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"end_date":"2019-02-01","entities":[{"annotate_keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"],"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","query":"((title:\"Apple Inc.\" AND text:\"Apple Inc.\") OR (title:\"Apple\" AND text:\"Apple\")) AND ner:\"Apple\""}],"language":"english","min_match":2,"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"start_date":"2019-01-31"},"properties":{"concepts":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"A dictionary containing the concepts with the concept as key and list of keywords as value. Commas are not allowed inside.","title":"Concepts","type":"object"},"concepts_filter":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"Same as `concepts`, but also used as filters.","title":"Concepts Filter","type":"object"},"end_date":{"description":"The date when the analysis should end.","example":"2019-02-01","format":"date","title":"End Date","type":"string"},"entities":{"items":{"example":[{"annotate_keywords":["apple"],"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"Q312","query":"(title:\"Apple Inc.\" AND text:\"Apple Inc.\") OR (title:\"Apple\" AND text:\"Apple\") AND ner:\"Apple\""}],"properties":{"annotate_keywords":{"description":"List of keywords not used for search but for named entity resolution or annotation task.","items":{"type":"string"},"title":"Annotate keywords","type":"array"},"context":{"description":"The context used for the analysis. The context is mandatory when the similarity_threshold parameter is used.","title":"Context","type":"string"},"entity_of_interest":{"description":"The entity identifier. Commas are not allowed inside.","title":"Entity Identifier","type":"string"},"query":{"description":"The tql query used to extract the data for the analysis.","title":"Tql query","type":"string"}},"required":["entity_of_interest","query","annotate_keywords"],"title":"Entity","type":"object"},"title":"Entities","type":"array"},"language":{"default":"english","description":"Language used for analysis (only one language allowed with TQL query)","example":"french","format":"analyze-language-code","title":"Language","type":"string"},"min_match":{"default":1,"description":"At least *min_match* given keywords should be present in the resulted text.","example":1,"title":"Minimum Match","type":"number"},"min_repeat":{"default":1,"description":"The minimum number of time a keyword should be present in a text.","example":1,"title":"Minimum Repeat","type":"number"},"qscore":{"description":"Quality score number.","example":50,"format":"float","maximum":100,"minimum":0,"title":"Quality score","type":"number"},"sentiments_filter":{"description":"Filter documents based on sentiment.","properties":{"negative":{"properties":{"max":{"description":"Maximum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Negative","type":"number"},"min":{"description":"Minimum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Negative","type":"number"}},"type":"object"},"neutral":{"properties":{"max":{"description":"Maximum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Neutral","type":"number"},"min":{"description":"Minimum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Neutral","type":"number"}},"type":"object"},"polarity":{"properties":{"max":{"description":"Maximum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Maximum Polarity","type":"number"},"min":{"description":"Minimum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Minimum Polarity","type":"number"}},"type":"object"},"positive":{"properties":{"max":{"description":"Maximum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Positive","type":"number"},"min":{"description":"Minimum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Positive","type":"number"}},"type":"object"}},"title":"Sentiments Filter","type":"object"},"similarity_threshold":{"description":"Similarity score threshold for recognized or matched entities. Filters out documents containing entities with a similarity score lesser than the threshold.","example":0.5,"format":"float","maximum":1,"minimum":0,"type":"number"},"start_date":{"description":"The date when the analysis should start.","example":"2019-01-31","format":"date","title":"Start Date","type":"string"}},"required":["end_date","entities","start_date"],"title":"Analyze with Tql query","type":"object"},"TranslateSchema (deprecated)":{"example":{"document_id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","extracted":"2022-12-30T22:59:57.502Z","fields":["title","text"],"language":"french"},"properties":{"document_id":{"description":"The document's identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","format":"uuid","title":"Document Id","type":"string"},"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-11-25T14:31:10.834Z","format":"date-time","title":"Document Id","type":"string"},"fields":{"default":["title","text"],"description":"Fields to translate","items":{"enum":["title","text"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"},"language":{"default":"english","description":"The language in which you want the document to be translated. See [Language Support](/guide/languages#translation) page for more information.","example":"italian","format":"language-code","title":"Target language","type":"string"}},"required":["document_id"],"title":"Documents Translate","type":"object"}},"securitySchemes":{"oAuth2Sesamm":{"description":"Use your user account to get access to the API","flows":{"authorizationCode":{"authorizationUrl":"https://login.textreveal.com/authorize","scopes":{},"tokenUrl":"https://login.textreveal.com/oauth/token"}},"type":"oauth2"}}},"externalDocs":{"description":"Find out more","url":"https://www.sesamm.com"},"info":{"contact":{"email":"support@sesamm.com","name":"TextReveal API support"},"description":"<img src=\"https://static.textreveal.com/images/logos/TextReveal.svg\" width=\"300px\" height=\"auto\" /> <br><br> TextReveal\u00ae's user journey starts with a fuzzy query (e.g., \"I am interested in investing in a specific company\"), and its final goal is to provide a structured signal (e.g. \"I now have access to structured, times-series indicators for this company\"). These processes turn text data into numerical information and are described below.","license":{"name":"Copyright \u00a9 SESAMm"},"title":"TextReveal\u00ae API","version":"2.0"},"openapi":"3.0.3","paths":{"/api/2.0/analyze/dataset":{"post":{"requestBody":{"content":{"application/json":{"examples":{"--":{"value":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"countries":["US","FR"],"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"languages":["english"],"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"site_type":["news","blogs","discussions"],"sites_exclude":["apple.com"],"start_date":"2019-01-31","workers":["quality-score","concept","raw-matcher","ner-linking","entity-similarity","embedder-indicators"]}},"Generate concepts risk scores using NER":{"value":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"qscore":90,"start_date":"2019-01-31","workers":["quality-score","ner-linking","concept","entity-similarity"]}},"Generate concepts risk scores, sentiment and emotion indicators using NER":{"value":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"qscore":90,"start_date":"2019-01-31","workers":["quality-score","ner-linking","concept","entity-similarity","embedder-indicators"]}},"Generate sentiment and emotion indicators using NER":{"value":{"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"qscore":90,"start_date":"2019-01-31","workers":["quality-score","ner-linking","entity-similarity","embedder-indicators"]}},"Generate sentiment and emotion indicators using Raw-matcher and a similarity threshold":{"value":{"end_date":"2019-02-01","entities":[{"context":"an international retailer of body, face, fragrances and home products","entity_of_interest":"Q1880676","keywords":["OCCITANE","Occitane","Occitane en Provence","Occitane en Provence","occitane en provence","Olivier Baussan","Occitane En Provence"]},{"context":"Asclepius Ltd. Asclepius Ltd. provides commercial services. The Company offers business support services for medical institutions","entity_of_interest":"Asclepius","keywords":["Asclepius Holding LTD","BMedicalSystems","bmedicalsystems.com","Ultra-Low Freezer U901","Ultra-Low Freezer U701","Ultra-Low Freezer U201","Ultra-Low Freezer U401","Ultra-Low Freezer U501","Solar Direct","Drive Vaccine Refrigerator TCW15RSDD","Solar Direct Drive Vaccine Refrigerator & Ice-pack Freezer TCW15SDD","Vaccine Refrigerator TCW40RSDD","ICE-PACK FREEZER TCW40SDD","Ice-pack Freezer TCW2000SDD","Solar Direct Drive Vaccine Refrigerator"]}],"qscore":90,"similarity_threshold":0.75,"start_date":"2019-01-31","workers":["quality-score","raw-matcher","entity-similarity","embedder-indicators"]}}},"schema":{"example":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"countries":["US","FR"],"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"languages":["english"],"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"site_type":["news","blogs","discussions"],"sites_exclude":["apple.com"],"start_date":"2019-01-31","workers":["quality-score","concept","raw-matcher","ner-linking","entity-similarity","embedder-indicators"]},"properties":{"co_mentions":{"description":"List of keywords to search with the keywords list. Works like a boolean `AND`.\n*Example*: \n  - `keywords : [\"TotalEnergy\"]`\n  - `co_mentions: [\"gas\", \"oil price\"]`\n\n*Behavior:* TextReveal\u00ae API will look for documents relevant to at least one of the co_mentions. For the above example, below are the different cases of relevancy:\n - `TotalEnergy` and `gas`\n - `TotalEnergy` and `oil price`\n - `TotalEnergy` and `oil price` and `gas`\n\n*N.B*: Search of `co_mentions` is operated in full-text and is case insensitive.\n","items":{"example":["tablets"],"type":"string"},"title":"Co Mentions","type":"array"},"concepts":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"List of concepts or risks that are to be analyzed. Each individual concept is defined by its own list of keywords.<br/> Punctuation is not handled in the concept labels. Each concept label must be unique (case insensitive).\n","title":"Concepts","type":"object"},"concepts_filter":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"Same as `concepts` but filters out documents that does not contain the concepts. <br/>**Note**: You can either use `concepts` or `concepts_filter`\n","title":"Concepts Filter","type":"object"},"countries":{"description":"List of countries to search (field `thread.country`). <br/>\n*N.B*: Use `alpha-2` format.\n","items":{"example":["US"],"type":"string"},"title":"Countries","type":"array"},"end_date":{"description":"The date when the anaysis should end.","example":"2019-02-01","format":"date","title":"End Date","type":"string"},"entities":{"items":{"example":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"Q312","keywords":["Tim Cook","Apple TV"],"neg_keywords":["apple"]},{"context":"Boeing Company manufactures and sells aircraft, rotorcraft, rockets, and satellites and provides product leasing and support services.","entity_of_interest":"Q66","keywords":["Boeing","Alteon Training"],"neg_keywords":["insitu"]}],"properties":{"context":{"description":"The context used for the analysis.","title":"Context","type":"string"},"entity_of_interest":{"description":"The entity identifier. Commas are not allowed inside.","title":"Entity Identifier","type":"string"},"keywords":{"description":"List of keywords to search.<br/> *All keywords with a length strictly lower than 3 characters are filtered out except for `Japanese`, `Chinese` and `Korean` languages.*","items":{"type":"string"},"title":"Keywords","type":"array"},"neg_keywords":{"description":"List of keywords not used for search but for named entity resolution or annotation task. <br/>\nDetailed explanation: \n- Using generic keywords or high cardinality keywords can bring huge volume of data to process or reduce quality of the data extracted.\n- `neg_keywords` parameter allows you to add such keywords so that you can use them to annotate sentence containing them within documents already containing less generic keywords.\n\nExample: \n- `keywords: ['Microsoft']` (Used for search in datalake)\n- `neg_keywords: ['MSFT']` (Not used for search in datalake)\n\n*Behavior:* Textreveal\u00ae API will look for documents containing only microsoft, then after, it will annotate every sentence mentionning `MSFT` or `Microsoft`\n","items":{"type":"string"},"title":"Negative keywords","type":"array"}},"required":["context","entity_of_interest","keywords"],"title":"Entity","type":"object"},"title":"Entities","type":"array"},"keywords_exclude":{"description":"List of keywords to exclude from the search. Works like a boolean `AND NOT`. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `keywords_exclude: [\"Steve Jobs\", \"Tim Cook\"]`\n*Behavior*: TextReveal\u00ae API will look for documents relevant to `apple` the company or `Iphone` but *NOT* containing either `Steve Jobs` or `Tim Cook`.\n\n*N.B*: Search of `keywords_exclude` is operated in full-text and is case insensitive.\n","items":{"example":["Steve Jobs"],"type":"string"},"title":"Keywords Exclude","type":"array"},"languages":{"default":["english"],"description":"List of languages to search, see [Language Support](/guide/languages#analyze) page for more information.\n\n*Note:* We do not recommend using multiple values.\n","example":["french"],"items":{"format":"analyze-language-code","type":"string"},"title":"Languages","type":"array"},"min_match":{"default":1,"description":"The message must contain at least `min_match` keywords. <br/>\nWhen used, each entity must have at least `min_match` keywords.<br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\", \"macbook\"]`\n- `min_match: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if at least 2 elements from the keywords list appear in the document.\n","example":1,"title":"Minimum Match","type":"number"},"min_repeat":{"default":1,"description":"The message must contain at least `min_repeat` occurrence of a keyword. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `min_repeat: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if it contains at least 2 occurrences of either `apple` or `iphone`.\n","example":1,"title":"Minimum Repeat","type":"number"},"qscore":{"default":50,"description":"Quality threshold to filter out unreadable data. <br/>\nNo filtering is applied if the `quality-score` worker is not provided.\n","example":50,"format":"float","maximum":100,"minimum":0,"title":"Quality score","type":"number"},"search_in":{"default":["title","text"],"description":"Allows to define if the documents extraction has to be done by searching entity keywords in the title and/or in the text. <br/>\n*Example*: \n- `search_in: [\"title\", \"text\"]`\n\n**Note:**\n- This parameter is only applied on the keywords of entity, not on `keywords_exclude`, `co_mentions`, `neg_keywords`, `min_repeat`, `min_match`.\n- Not available with `ner-linking` worker.\n","items":{"example":["title","text"],"type":"string"},"title":"Search In","type":"array"},"sentiments_filter":{"description":"Partial object containing a min/max values for each sentiments. The end analysis will contains documents that match these filters. <br/> \n**Note:** This can be compared to a filter on: \n- `document_{sentiment}.mean` key for `positive`, `negative` and `neutral`\n- `document_{sentiment}` key for `polarity`\n","properties":{"negative":{"properties":{"max":{"description":"Maximum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Negative","type":"number"},"min":{"description":"Minimum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Negative","type":"number"}},"type":"object"},"neutral":{"properties":{"max":{"description":"Maximum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Neutral","type":"number"},"min":{"description":"Minimum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Neutral","type":"number"}},"type":"object"},"polarity":{"properties":{"max":{"description":"Maximum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Maximum Polarity","type":"number"},"min":{"description":"Minimum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Minimum Polarity","type":"number"}},"type":"object"},"positive":{"properties":{"max":{"description":"Maximum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Positive","type":"number"},"min":{"description":"Minimum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Positive","type":"number"}},"type":"object"}},"title":"Sentiments Filter","type":"object"},"similarity_threshold":{"default":0,"description":"Similarity score threshold for recognized or matched entities. Filters out documents containing entities with a similarity score lesser than the threshold.","example":0.5,"format":"float","maximum":1,"minimum":0,"type":"number"},"site_type":{"default":["news","blogs","discussions"],"description":"Type of sites to search (field `thread.site_type`)\n","items":{"enum":["news","blogs","discussions","licensed_news","premium_news"],"example":["news"],"type":"string"},"title":"Site Type","type":"array"},"sites":{"description":"List of websites to search.<br />\n*N.B*: Use the **base domain** of the websites.\n","items":{"example":["apple.com"],"type":"string"},"title":"Sites","type":"array"},"sites_exclude":{"description":"A list of source sites to be excluded.","items":{"example":["apple.com"],"type":"string"},"title":"Sites Exclude","type":"array"},"start_date":{"description":"The date when the analysis should start.","example":"2019-01-31","format":"date","title":"Start Date","type":"string"},"workers":{"description":"List of the tasks that will be used for analysis. Should contain at least 'raw-matcher' or 'ner-linking'.","items":{"enum":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"example":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"type":"string"},"minimum":1,"title":"Workers","type":"array"}},"required":["end_date","entities","start_date","workers"],"title":"Analyze Dataset","type":"object"}}},"description":"Dataset Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f"},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"}},"title":"Dataset Response","type":"object"}}},"description":"An identifier of the analysis to retrieve results"},"400":{"content":{"application/json":{"examples":{"Using Concept Worker without concepts parameter":{"value":{"_schema":["concepts parameter is required if concept worker is used"]}},"Using Entity-Similarity Worker without Ner-Linking or Raw-Matcher or Concept Worker":{"value":{"_schema":["The entity-similarity worker can only be used simultaneously with workers of the annotator category ['concept', 'raw-matcher', 'ner-linking']."]}},"Using a Worker with an unhandled language":{"value":{"_schema":["language hindi is only available for workers ['query', 'nltk-splitting', 'raw-matcher', 'concept', 'result']"]}},"Using similarity_threshold parameter without Entity-Similarity Worker":{"value":{"_schema":["Select the entity-similarity worker when using the similarity_threshold parameter"]}}},"schema":{"properties":{"_schema":{"description":"The field where the error happened.","items":{"example":"the field is required","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"403":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"example":"Forbidden site type. Allowed site types: ['blogs', 'news', 'discussions', 'premium_news'].","type":"string"},"statusCode":{"example":403,"type":"integer"}},"type":"object"}},"type":"object"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"429":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Create a granular dataset in a secure web server for multiple Entities.","tags":["Analyze"]}},"/api/2.0/analyze/download":{"post":{"parameters":[{"in":"query","name":"json_lines","schema":{"description":"Set to true to download result in json lines format.","type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"concept":{"description":"Detected concept in the documents. This concept must be part of the instance.","example":"pollution","title":"Concept","type":"string"},"date":{"description":"Extract date of the documents. Must be within the instance's date range.","example":"2019-02-01","format":"date","title":"Date","type":"string"},"entity":{"description":"Detected entity in the documents. This entity must be part of the instance.","example":"sesamm","title":"Entity","type":"string"},"fields":{"description":"List of fields to be extracted in documents.","items":{"enum":["concepts","document_entity_negative","document_entity_neutral","document_entity_polarity","document_entity_positive","document_negative","document_neutral","document_polarity","document_positive","entities","extract_date","id","language","mentions","qscore","sentences","thread","title","url","summary"],"example":"title","type":"string"},"title":"Fields","type":"array"},"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"},"limit":{"oneOf":[{"description":"The number of documents in the file.","example":500,"minimum":1,"title":"Limit","type":"integer"},{"description":"The number of documents in the file.","properties":{"by":{"enum":["entity"],"example":"entity","type":"string"},"value":{"example":3,"minimum":1,"type":"integer"}},"title":"Limit","type":"object"}]},"sort":{"properties":{"field":{"description":"The field used to sort the documents.","enum":["document_polarity","document_positive","document_neutral","document_negative","document_entity_positive","document_entity_neutral","document_entity_negative","document_entity_polarity"],"example":"document_polarity","title":"Field","type":"string"},"order":{"description":"The sort order. You can use the ASC and DESC keywords to specify ascending (smallest value first) or descending (largest value first) order","enum":["ASC","DESC"],"example":"ASC","title":"Order","type":"string"}},"title":"Sort","type":"object"}},"required":["instance","limit"],"title":"Analyze Download","type":"object"}}},"description":"Download Schema"},"responses":{"200":{"content":{"application/json":{"examples":{"--":{"value":[{"concepts":{},"document_entity_negative":{"apple":{"max":0.9670407,"mean":0.497277776,"median":0.40673238,"min":0.17257427}},"document_entity_neutral":{"apple":{"max":0.5155762,"mean":0.285450036,"median":0.310295895,"min":0.0075512277}},"document_entity_polarity":{"apple":-0.39186286},"document_entity_positive":{"apple":{"max":0.31184947,"mean":0.217272184,"median":0.28185567,"min":0.025408149}},"document_negative":{"max":0.9670407,"mean":0.47984254066667,"median":0.42040768,"min":0.044773154},"document_neutral":{"max":0.52536553,"mean":0.26162332989048,"median":0.28505275,"min":0.0075512277},"document_polarity":-0.29972293,"document_positive":{"max":0.6805551,"mean":0.25853412119048,"median":0.28185567,"min":0.025408149},"entities":{"apple":[{"Apple":5}]},"extract_date":"2019-02-01 09:27:39.016","id":"H36itWwBVJ4dixto1Mq8","language":"english","mentions":{"apple":{"apple":11}},"qscore":97.16216,"sentences":[{"entities":["apple"],"matches":[{"class":"entity","count":null,"entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.727896},{"class":"mentions","count":{"apple":4},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.727896}],"results":{"anger":0.21649982,"anticipation":0.24233165,"fear":0.07904698,"joy":0.2534466,"negative":0.77008075,"neutral":0.16243243,"polarity":-0.83885056,"polarity_exp":0.33123735,"positive":0.06748677,"sadness":0.014684624,"surprise":0.17030874,"trust":0.02368151},"sentence_id":0,"text":"Mobiles / Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen Apple users are accidentally triggering the LED flashlight buttons on their iPhone X and iPhone XS smartphones.","type":0},{"entities":[],"matches":[],"results":{"anger":0.04590232,"anticipation":0.6254213,"fear":0.09198925,"joy":0.067284614,"negative":0.3540335,"neutral":0.3094324,"polarity":-0.025340585,"polarity_exp":0.49562526,"positive":0.3365341,"sadness":0.025783245,"surprise":0.0912158,"trust":0.052403588},"sentence_id":1,"text":"They want to change the button right now.","type":0},{"entities":[],"matches":[{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.735459}],"results":{"anger":0.07085259,"anticipation":0.7368077,"fear":0.012537896,"joy":0.12224379,"negative":0.43085948,"neutral":0.28505275,"polarity":-0.20529026,"polarity_exp":0.4633728,"positive":0.28408778,"sadness":0.012477765,"surprise":0.040162556,"trust":0.004917645},"sentence_id":2,"text":"| TIMESOFINDIA.COM | Updated: Feb 1, 2019, 11:45AM IST NEW DELHI: If you are an Apple iPhone X or iPhone XS user and have often wondered how your smartphone\u2019s LED flashlight turns on without you doing anything, you are definitely not alone.","type":0},{"entities":["apple"],"matches":[{"class":"entity","count":null,"entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.741567},{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.741567}],"results":{"anger":0.046930943,"anticipation":0.45820284,"fear":0.009315267,"joy":0.24439734,"negative":0.17257427,"neutral":0.5155762,"polarity":0.28750697,"polarity_exp":0.5347626,"positive":0.31184947,"sadness":0.006900535,"surprise":0.21061417,"trust":0.023638977},"sentence_id":3,"text":"Several iPhone X and iPhone XS users have taken it to Apple\u2019s discussion forum, talking about it.","type":0},{"entities":[],"matches":[],"results":{"anger":0.15161964,"anticipation":0.17949402,"fear":0.041332547,"joy":0.30013946,"negative":0.43866974,"neutral":0.4651512,"polarity":-0.6403505,"polarity_exp":0.41520458,"positive":0.096179046,"sadness":0.09652339,"surprise":0.1997872,"trust":0.03110374},"sentence_id":4,"text":"Although this is not a bug and something that is triggered by users itself, what\u2019s bothering iPhone users is the placement of the flashlight button at the main lock screen.","type":0},{"entities":["apple"],"matches":[{"class":"entity","count":null,"entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.751098},{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.751098}],"results":{"anger":0.27893192,"anticipation":0.054857902,"fear":0.068302795,"joy":0.3182204,"negative":0.33264545,"neutral":0.3674266,"polarity":-0.051721267,"polarity_exp":0.49182135,"positive":0.29992795,"sadness":0.05250083,"surprise":0.10901747,"trust":0.11816868},"sentence_id":5,"text":"At the time of writing, over 500 users complained about it on the Apple forum.","type":0},{"entities":[],"matches":[],"results":{"anger":0.014577364,"anticipation":0.24133244,"fear":0.067597024,"joy":0.4892643,"negative":0.54964334,"neutral":0.2167908,"polarity":-0.40356708,"polarity_exp":0.421632,"positive":0.2335659,"sadness":0.013315356,"surprise":0.12728399,"trust":0.046629492},"sentence_id":6,"text":"The accidental triggering of the flashlight on iPhones not just make the customers a centre of attraction but also drains out the handset battery drastically.","type":0},{"entities":[],"matches":[],"results":{"anger":0.019343497,"anticipation":0.0028426645,"fear":0.59439546,"joy":0.25294828,"negative":0.84049326,"neutral":0.033881407,"polarity":-0.7399382,"polarity_exp":0.32852408,"positive":0.12562527,"sadness":0.022394083,"surprise":0.10732172,"trust":0.0007543677},"sentence_id":7,"text":"\u201cThe flashlight keeps on triggering in my pants front pocket.","type":0},{"entities":[],"matches":[],"results":{"anger":0.014302097,"anticipation":0.06705365,"fear":0.117372334,"joy":0.07809025,"negative":0.70309263,"neutral":0.12916347,"polarity":-0.61475223,"polarity_exp":0.36927027,"positive":0.16774392,"sadness":0.14762332,"surprise":0.57125795,"trust":0.004300416},"sentence_id":8,"text":"It drains my battery and I end noticing the light is on when the phone becomes very hot.","type":0},{"entities":["apple"],"matches":[{"class":"entity","count":null,"entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.743872},{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.743872}],"results":{"anger":0.52390087,"anticipation":0.031924255,"fear":0.06830771,"joy":0.0076425183,"negative":0.539811,"neutral":0.274483,"polarity":-0.4880726,"polarity_exp":0.4123873,"positive":0.18570602,"sadness":0.21405634,"surprise":0.076637074,"trust":0.0775313},"sentence_id":9,"text":"How can I remove this short cut from the lock screen?\u201d complained one of the users on Apple discussion forums.","type":0},{"entities":[],"matches":[],"results":{"anger":0.022609578,"anticipation":0.61309516,"fear":0.09864458,"joy":0.061116725,"negative":0.29108617,"neutral":0.34524012,"polarity":0.11086125,"polarity_exp":0.5181389,"positive":0.36367366,"sadness":0.0559235,"surprise":0.11693019,"trust":0.03168019},"sentence_id":10,"text":"However, some even suggested a couple of solutions.","type":0},{"entities":[],"matches":[],"results":{"anger":0.43555725,"anticipation":0.25037742,"fear":0.13353163,"joy":0.02332955,"negative":0.8699296,"neutral":0.05809046,"polarity":-0.84716177,"polarity_exp":0.31046426,"positive":0.0719799,"sadness":0.061439987,"surprise":0.08797725,"trust":0.0077869045},"sentence_id":11,"text":"While one of them said to turn off 3D Touch to stop the accidental triggering, the other one said that people can turn off Tap to Wake feature.","type":0},{"entities":[],"matches":[],"results":{"anger":0.036021207,"anticipation":0.37441567,"fear":0.017656703,"joy":0.45823494,"negative":0.41918546,"neutral":0.19043468,"polarity":-0.03558158,"polarity_exp":0.4927991,"positive":0.39037985,"sadness":0.028167346,"surprise":0.037305556,"trust":0.048198517},"sentence_id":12,"text":"\u201cWhat's happening is as your phone is being jostled as you walk, the screen is becoming active.","type":0},{"entities":[],"matches":[],"results":{"anger":0.11802895,"anticipation":0.5880038,"fear":0.18563476,"joy":0.003095021,"negative":0.8874842,"neutral":0.025922963,"polarity":-0.8222053,"polarity_exp":0.3098349,"positive":0.08659287,"sadness":0.036808897,"surprise":0.06746118,"trust":0.0009673888},"sentence_id":13,"text":"Turning off Tap to Wake would fix this without you having to remove the flashlight,\u201d says one user.","type":0},{"entities":[],"matches":[],"results":{"anger":0.0014504632,"anticipation":0.13610095,"fear":0.01685791,"joy":0.22348695,"negative":0.07124556,"neutral":0.24819931,"polarity":0.8104669,"polarity_exp":0.6477833,"positive":0.6805551,"sadness":0.0056998883,"surprise":0.0530151,"trust":0.5633886},"sentence_id":14,"text":"You can turn off this feature by navigating through Settings > General > Accessibility > Turn off Tap to Wake.","type":0},{"entities":["apple"],"matches":[{"class":"entity","count":null,"entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.671732},{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.671732}],"results":{"anger":0.0504551,"anticipation":0.04119068,"fear":0.7899492,"joy":0.0069166496,"negative":0.9670407,"neutral":0.0075512277,"polarity":-0.94879705,"polarity_exp":0.2805707,"positive":0.025408149,"sadness":0.05629838,"surprise":0.054562636,"trust":0.0006274335},"sentence_id":15,"text":"So no matter how much the accidental triggering of the flashlight annoys you, there doesn\u2019t seem to be a solution coming for this from Apple.","type":0},{"entities":[],"matches":[],"results":{"anger":0.006099543,"anticipation":0.9473945,"fear":0.024948427,"joy":0.0029496292,"negative":0.42040768,"neutral":0.3302153,"polarity":-0.2553517,"polarity_exp":0.45734626,"positive":0.24937703,"sadness":0.0014598793,"surprise":0.014413845,"trust":0.0027342131},"sentence_id":16,"text":"For now, the firm seems busy in rolling out the fix for the Group FaceTime bug.","type":0},{"entities":[],"matches":[],"results":{"anger":0.00077731657,"anticipation":0.32209426,"fear":0.0036085325,"joy":0.65445423,"negative":0.044773154,"neutral":0.52536553,"polarity":0.8113362,"polarity_exp":0.5950997,"positive":0.42986128,"sadness":0.0010159083,"surprise":0.013976647,"trust":0.0040730867},"sentence_id":17,"text":"We will also be witnessing the next-gen iOS version, iOS 13 getting introduced.","type":0},{"entities":[],"matches":[],"results":{"anger":0.007955573,"anticipation":0.95311236,"fear":0.008525656,"joy":0.015818832,"negative":0.20842685,"neutral":0.332602,"polarity":0.37540466,"polarity_exp":0.56231046,"positive":0.45897114,"sadness":0.0008953179,"surprise":0.012882235,"trust":0.0008099797},"sentence_id":18,"text":"For the latest mobile phones , upcoming mobiles , reviews , comparisons and more check out Gadgetsnow.com You May Also Like","type":0},{"entities":[],"matches":[{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.718752}],"results":{"anger":0.044088006,"anticipation":0.75906205,"fear":0.004540596,"joy":0.14661363,"negative":0.38260528,"neutral":0.33553904,"polarity":-0.15162608,"polarity_exp":0.47483388,"positive":0.28185567,"sadness":0.0060420674,"surprise":0.022733139,"trust":0.016920561},"sentence_id":0,"text":"Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen - Gadgets Now","type":1},{"entities":[],"matches":[{"class":"mentions","count":{"apple":1},"entity_id":"apple","entity_type":null,"label":null,"similarity":0.718752}],"results":{"anger":0.044088006,"anticipation":0.75906205,"fear":0.004540596,"joy":0.14661363,"negative":0.38260528,"neutral":0.33553904,"polarity":-0.15162608,"polarity_exp":0.47483388,"positive":0.28185567,"sadness":0.0060420674,"surprise":0.022733139,"trust":0.016920561},"sentence_id":0,"text":"Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen - Gadgets Now","type":2}],"thread":{"country":"US","site":"indiatimes.com","site_type":"news","title":"Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen - Gadgets Now"},"title":"Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen - Gadgets Now","url":"https://timesofindia.indiatimes.com/gadgets-news/hundreds-of-apple-iphone-x-iphone-xs-users-want-to-remove-this-button-from-the-main-lock-screen/articleshow/67783274.cms"}]},"Document level - Match with Concept worker":{"value":{"concepts":{"environment":{"satellite":14}},"extract_date":"2019-01-31T20:40:01.042+02:00","id":"sI5_pGwBVJ4dixtoYajE","language":"english","sentences":[],"thread":{"country":"US","site":"blogspot.com","site_type":"blogs"},"url":"https://geekwire-com.blogspot.com/2019/01/telesat-makes-deals-with-blue-origin.html"}},"Document level - Match with Ner-Linking worker":{"value":[{"entities":{"apple":[{"Apple":2,"entity_type":"ORG"}]},"extract_date":"2019-01-31T21:30:01.020+02:00","id":"B049pGwBVJ4dixtoS2nY","language":"english","qscore":83.49018649919354,"sentences":[],"thread":{"country":"US","site":"appleinsider.com","site_type":"news","title":"Former Apple advisors claim that iPhones need to be made specifically for China"},"url":"http://appleinsider.com/articles/19/01/31/former-apple-advisors-claim-that-iphones-need-to-be-made-specifically-for-china#Comment_3127915"}]},"Document level - Match with Raw-Matcher worker":{"value":[{"extract_date":"2019-01-31T21:08:21.021+02:00","id":"L2ZUpGwBVJ4dixtoswWk","language":"english","mentions":{"apple":{"tim cook":1}},"qscore":91.09346463186189,"sentences":[],"thread":{"country":"US","site":"thecourier.com","site_type":"news","title":"Dilemma of having a R. Kelly-penned hit: Sing it or sink it?"},"url":"https://thecourier.com/national-news/2019/01/31/dilemma-of-having-a-r-kelly-penned-hit-sing-it-or-sink-it/"}]},"Sentence level - Match with Concept worker":{"value":{"matches":[{"class":"concepts","count":{"satellite":2},"label":"environment"}],"sentence_id":1,"text":"(Blue Origin via Twitter) Canada's biggest satellite operator, Telesat , has signed agreements with Amazon billionaire Jeff Bezos' Blue Origin space venture and Alphabet's Loon aerial telecommunications venture to support its future global broadband satellite constellation.","type":0}},"Sentence level - Match with Ner-Linking worker":{"value":{"entities":["apple"],"matches":[{"class":"entity","entity_id":"apple","entity_type":"ORG","label":"Apple","similarity":0.7893829941749573}],"sentence_id":2,"text":"Apple should learn a valuable lesson about being too dependent on China as both a supplier and a means for rapid quarterly growth.","type":0}},"Sentence level - Match with Raw-Matcher worker":{"value":{"entities":["apple"],"matches":[{"class":"mentions","count":{"apple":1},"entity_id":"apple","similarity":0.7041100263595581}],"sentence_id":4,"text":"Jennifer Hudson on Thursday removed two songs R. Kelly wrote for her from some streaming platforms, including YouTube and Apple Music: the Grammy-nominated \u201cIt\u2019s Your World\u201d and \u201cWhere You At,\u201d a Top 10 R&B hit.","type":0}}},"schema":{"items":{"properties":{"concepts":{"additionalProperties":{"additionalProperties":{"description":"Keyword matched in the corresponding sentence.","example":1,"title":"Keyword","type":"number"},"description":"The unique identifier of the matched concept.","example":"pollution","title":"Concept","type":"object"},"description":"Sum of occurrences of the keywords related to a given concept in each sentence. Available with the concept worker.","title":"Concepts","type":"object"},"document_entity_negative":{"additionalProperties":{"description":"The entity negative score for the document.","properties":{"max":{"example":0.9670407,"format":"float","type":"number"},"mean":{"example":0.497277776,"format":"float","type":"number"},"median":{"example":0.40673238,"format":"float","type":"number"},"min":{"example":0.17257427,"format":"float","type":"number"}},"title":"Entity Id","type":"object"},"description":"Evaluate the level of negative sentiment towards an entity of interest in all sentences mentioning the entity in a given document.","example":{"apple":{"max":0.9670407,"mean":0.497277776,"median":0.40673238,"min":0.17257427}},"title":"Document entity negative","type":"object"},"document_entity_neutral":{"additionalProperties":{"description":"The entity neutral score for the document.","properties":{"max":{"example":0.5155762,"format":"float","type":"number"},"mean":{"example":0.285450036,"format":"float","type":"number"},"median":{"example":0.310295895,"format":"float","type":"number"},"min":{"example":0.0075512277,"format":"float","type":"number"}},"title":"Entity Id","type":"object"},"description":"Evaluate the level of neutral sentiment towards an entity of interest in all sentences mentioning the entity in a given document.","example":{"apple":{"max":0.5155762,"mean":0.285450036,"median":0.310295895,"min":0.0075512277}},"title":"Document entity neutral","type":"object"},"document_entity_polarity":{"additionalProperties":{"description":"The entity polarity score for the document.","example":-0.39186285999393844,"format":"float","title":"Polarity score","type":"number"},"description":"Evaluate the sentiment level towards the entity of interest in all sentences mentioning the entity in a given document","example":{"apple":-0.39186285999393844},"title":"Document entity polarity","type":"object"},"document_entity_positive":{"additionalProperties":{"description":"The entity positive score for the document.","properties":{"max":{"example":0.31184947,"format":"float","type":"number"},"mean":{"example":0.217272184,"format":"float","type":"number"},"median":{"example":0.28185567,"format":"float","type":"number"},"min":{"example":0.025408149,"format":"float","type":"number"}},"title":"Entity Id","type":"object"},"description":"Evaluate the level of positive sentiment towards an entity of interest in all sentences mentioning the entity in a given document.","example":{"apple":{"max":0.31184947,"mean":0.217272184,"median":0.28185567,"min":0.025408149}},"title":"Document entity positive","type":"object"},"document_negative":{"description":"Evaluate the negative sentiment breakdown of the overall document","example":{"max":0.9670407,"mean":0.47984254066667,"median":0.42040768,"min":0.044773154},"properties":{"max":{"description":"The maximum value for the document negative sentiment.","example":0.9670407,"format":"float","title":"Maximum value","type":"number"},"mean":{"description":"The mean value for the document negative sentiment.","example":0.47984254066667,"format":"float","title":"Mean value","type":"number"},"median":{"description":"The median value for the document negative sentiment.","example":0.42040768,"format":"float","title":"Median value","type":"number"},"min":{"description":"The minimum value for the document negative sentiment.","example":0.044773154,"format":"float","title":"Minimum value","type":"number"}},"title":"Document Negative","type":"object"},"document_neutral":{"description":"Evaluate the neutral sentiment breakdown of the overall document","example":{"max":0.52536553,"mean":0.26162332989048,"median":0.28505275,"min":0.0075512277},"properties":{"max":{"description":"The maximum value for the document neutral sentiment.","example":0.52536553,"format":"float","title":"Maximum value","type":"number"},"mean":{"description":"The mean value for the document neutral sentiment.","example":0.26162332989048,"format":"float","title":"Mean value","type":"number"},"median":{"description":"The median value for the document neutral sentiment.","example":0.28505275,"format":"float","title":"Median value","type":"number"},"min":{"description":"The minimum value for the document neutral sentiment.","example":0.0075512277,"format":"float","title":"Minimum value","type":"number"}},"title":"Document Neutral","type":"object"},"document_polarity":{"description":"Evalute what is the sentiment polarity of the overall document for each document of my result set","example":-0.29972293,"format":"float","title":"Document polarity","type":"number"},"document_positive":{"description":"Evaluate the positive sentiment breakdown of the overall document","example":{"max":0.6805551,"mean":0.25853412119048,"median":0.28185567,"min":0.025408149},"properties":{"max":{"description":"The maximum value for the document positive sentiment.","example":0.6805551,"format":"float","title":"Maximum value","type":"number"},"mean":{"description":"The mean value for the document positive sentiment.","example":0.25853412119048,"format":"float","title":"Mean value","type":"number"},"median":{"description":"The median value for the document positive sentiment.","example":0.28185567,"format":"float","title":"Median value","type":"number"},"min":{"description":"The minimum value for the document positive sentiment.","example":0.025408149,"format":"float","title":"Minimum value","type":"number"}},"title":"Document Positive","type":"object"},"entities":{"description":"Sum of occurrences of the keywords related to a given entity in each sentence. Available with the ner-linking worker.","example":{"Q66":[{"Boeing":1,"entity_type":"ORG"}]},"properties":{"{id}":{"description":"The unique identifier of the matched entity.","example":"Q66","items":{"properties":{"{label}":{"description":"Keyword matched in the corresponding sentence.","example":1,"title":"Keyword","type":"number"}},"type":"object"},"title":"Entity id","type":"array"}},"title":"Entities","type":"object"},"extract_date":{"description":"The article extract date.","example":"2019-01-31T05:46:28.011+02:00","format":"date-time","title":"Extract date","type":"string"},"id":{"description":"The article id.","example":"UBz9o2wBVJ4dixtoXYUM","title":"Id","type":"string"},"language":{"description":"The article language.","example":"english","format":"analyze-language-code","title":"Language","type":"string"},"mentions":{"description":"Sum of occurrences of the keywords related to a given mention in each sentence. Available with the raw-matcher worker.","example":{"apple":{"apple":11}},"properties":{"{id}":{"description":"The unique identifier of the matched mention.","example":"apple","properties":{"{label}":{"description":"The label of the matched mention.","example":1,"title":"Mention label","type":"number"}},"title":"Entity_id","type":"object"}},"title":"Mentions","type":"object"},"qscore":{"description":"The article quality score.","example":96.05063600458071,"title":"Quality score","type":"number"},"sentences":{"description":"The article splitted in sentences.","items":{"properties":{"entities":{"deprecated":true,"description":"List containing the labels of the matched entities in the sentence.","example":["Q312"],"items":{"type":"string"},"title":"entities (deprecated)","type":"array"},"matches":{"description":"An array containing keywords matched in the sentence.","example":[{"class":"entity","entity_id":"Q66","entity_type":"ORG","label":"Boeing","similarity":0.871775984764099},{"class":"mentions","count":{"boeing":1},"entity_id":"Q66","similarity":0.871775984764099}],"items":{"properties":{"class":{"description":"The class of the matched keyword.","example":"mentions","type":"string"},"count":{"description":"An object containing the occurence of each keyword in the sentence.","properties":{"keyword":{"description":"The occurence of the keyword in the sentence.","example":1,"type":"number"}},"title":"Count","type":"object"},"entity_id":{"description":"The unique identifier of the matched entity.","example":"Q312","type":"string"},"similarity":{"description":"The similarity score of the keyword in the sentence.","example":0.818992972373962,"type":"number"}},"type":"object"},"title":"Matches","type":"array"},"results":{"description":"An object containing the analysis result for the sentence.","properties":{"anger":{"description":"The average anger score.","example":0,"type":"number"},"anticipation":{"description":"The average anticipation score.","example":0.95,"type":"number"},"fear":{"description":"The average fear score.","example":0,"type":"number"},"joy":{"description":"The average joy score.","example":4.7,"type":"number"},"negative":{"description":"The average negative sentiment.","example":0.22,"type":"number"},"neutral":{"description":"The average neutral sentiment.","example":0.41,"type":"number"},"polarity":{"description":"The average polarity score.","example":0.32,"type":"number"},"polarity_exp":{"description":"The average exponential polarity score.","example":0.56,"type":"number"},"positive":{"description":"The average positive sentiment.","example":0.35,"type":"number"},"sadness":{"description":"The average sadness score.","example":0,"type":"number"},"surprise":{"description":"The average surprise score.","example":0.25,"type":"number"},"trust":{"description":"The average trust score.","example":8.8,"type":"number"}},"title":"Results","type":"object"},"sentence_id":{"description":"The sentence id.","example":0,"title":"Sentence Id","type":"number"},"text":{"description":"The sentence content.","example":"Airbus, which has some 130,000 employees worldwide, and Boeing are the world's leading airplane makers.","title":"Text","type":"string"},"type":{"description":"Type of the sentence:\n- `0` - text\n- `1` - title\n- `2` - thread.title\n","example":0,"title":"type","type":"number"}},"type":"object"},"title":"Sentences","type":"array"},"thread":{"description":"The article thread.","properties":{"country":{"description":"The article country.","example":"US","title":"Country","type":"string"},"site":{"description":"The site that published the article.","example":"indiatimes.com","title":"Site","type":"string"},"site_type":{"description":"The site type of the site.","example":"news","title":"Site type","type":"string"}},"title":"Thread","type":"object"},"title":{"description":"The article title","example":"Hundreds of Apple iPhone X, iPhone XS users want to remove this button from the main lock screen - Gadgets Now","title":"title","type":"string"},"url":{"description":"The article url.","example":"https://timesofindia.indiatimes.com/t10-jan-31-2019/8-can-apple-be-more-than-an-iphone-maker/articleshow/67759767.cms","title":"URL","type":"string"}},"type":"object"},"title":"Download Response","type":"array"}}},"description":"An array with the analysis results"},"202":{"description":"The instance is still in progress. Retry later."},"204":{"description":"No content. The instance has been stopped or an error occured within the instance."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Preview result of an analysis previously run.","tags":["Analyze"]}},"/api/2.0/analyze/status":{"post":{"requestBody":{"content":{"application/json":{"schema":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f"},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"}},"required":["instance"],"title":"Analyze Status","type":"object"}}},"description":"The identifier of the analysis"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"count":3518,"filtered":2034,"globalSpeed":611.9839993401789,"handled":1484,"lastErrorMessage":null,"startedAt":"Mon, 27 Sep 2021 09:18:57 GMT","status":"completed","updatedAt":"Mon, 27 Sep 2021 09:21:23 GMT"},"properties":{"count":{"deprecated":true,"description":"Total number of articles.","example":3518,"title":"Count (deprecated)","type":"number"},"filtered":{"deprecated":true,"description":"Number of filtered texts.","example":2034,"title":"Filtered (deprecated)","type":"number"},"globalSpeed":{"deprecated":true,"description":"Analysis global speed.","example":611.9839993401789,"title":"Global Speed (deprecated)","type":"number"},"handled":{"description":"Number of handled texts.","example":1484,"title":"Handled","type":"number"},"lastErrorMessage":{"deprecated":true,"description":"If analysis fails, the last error message that has been raised.","example":"the error message","title":"Last Error Message (deprecated)","type":"string"},"startedAt":{"description":"The time when the analysis started.","example":"2021-09-27T09:18:57.589Z","format":"date-time","title":"Started At","type":"string"},"status":{"description":"The current status of the analysis.","enum":["pending","starting","running","failed","stopped","completed"],"example":"completed","title":"Status","type":"string"},"updatedAt":{"description":"The last time the analysis was updated.","example":"2020-10-27T11:09:03.820Z","format":"date-time","title":"Started At","type":"string"}},"title":"Status Response","type":"object"}}},"description":"The status of the analysis with related indicators."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get the status of the analysis previously run.","tags":["Analyze"]}},"/api/2.0/analyze/timeserie":{"post":{"deprecated":true,"parameters":[{"description":"The output format of the final timeseries.","in":"query","name":"output_format","schema":{"default":"json","enum":["json","csv"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","operands":["min","max","mean","median"],"pivots":["extract_day","language","entity"],"time_granularity":"day","volume_only":false},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"},"operands":{"default":["min","max","mean","median"],"description":"Operands that will be used for aggregation.","example":["min","max","mean","median"],"items":{"enum":["min","max","mean","median"],"type":"string"},"type":"array"},"pivots":{"default":["extract_day","entity"],"description":"Additional pivots (groups) to the date.","example":["extract_day","language","entity"],"items":{"enum":["extract_day","language","entity","site","site_type","country"],"type":"string"},"type":"array"},"time_granularity":{"default":"day","description":"Aggregation granularity period. Available options are 'day', 'hour', 'minute'","enum":["day","hour","minute"],"example":"day","type":"string"},"volume_only":{"default":false,"description":"Aggregation mode. Set to true to display only volumes","example":false,"type":"boolean"}},"title":"Analyze Timeserie (deprecated)","type":"object"}}},"description":"Timeserie Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Custom Indicators","items":{"properties":{"entity":{"description":"The detected entity","example":"Q312","type":"string"},"extract_day":{"description":"Extract day of the article","example":"2019-01-31","type":"string"},"language":{"description":"The language of the article","example":"english","format":"analyze-language-code","type":"string"},"max_anger":{"description":"The maximum anger score","example":0.97567480802536,"type":"number"},"max_anticipation":{"description":"The maximum anticipation score","example":0.997955322265625,"type":"number"},"max_fear":{"description":"The maximum fear score","example":0.927425265312195,"type":"number"},"max_joy":{"description":"The maximum joy score","example":0.972901284694672,"type":"number"},"max_negative":{"description":"The maximum negative score","example":0.998439133167267,"type":"number"},"max_neutral":{"description":"The maximum neutral score","example":0.906281650066376,"type":"number"},"max_polarity":{"description":"The maximum polarity score","example":0.906281650066376,"type":"number"},"max_polarity_exp":{"description":"The maximum exponential polarity score","example":0.906281650066376,"type":"number"},"max_positive":{"description":"The maximum positive score","example":0.983933985233307,"type":"number"},"max_sadness":{"description":"The maximum sadness score","example":0.697191715240479,"type":"number"},"max_similarity":{"description":"The maximum similarity score","example":0.921769022941589,"type":"number"},"max_surprise":{"description":"The maximum surprise score","example":0.909987330436707,"type":"number"},"max_trust":{"description":"The maximum surprise score","example":0.935355007648468,"type":"number"},"mean_anger":{"description":"The average anger score","example":0.01101237116381525,"type":"number"},"mean_anticipation":{"description":"The average anticipation score","example":0.3040662854909895,"type":"number"},"mean_fear":{"description":"The average fear score","example":0.03092878218740225,"type":"number"},"mean_joy":{"description":"The average joy score","example":0.100903607904911,"type":"number"},"mean_negative":{"description":"The average negative sentiment","example":0.2301826626062395,"type":"number"},"mean_neutral":{"description":"The average neutral sentiment","example":0.23240802437066999,"type":"number"},"mean_polarity":{"description":"The average polarity score","example":0.906281650066376,"type":"number"},"mean_polarity_exp":{"description":"The average exponential polarity score","example":0.906281650066376,"type":"number"},"mean_positive":{"description":"The average positive sentiment","example":0.3989255130290985,"type":"number"},"mean_sadness":{"description":"The average sadness score","example":0.009851101320236921,"type":"number"},"mean_similarity":{"description":"The average similarity score","example":0.808631002902985,"type":"number"},"mean_surprise":{"description":"The average surprise score","example":0.105088770389557,"type":"number"},"mean_trust":{"description":"The average trust score","example":0.009034462738782171,"type":"number"},"median_anger":{"description":"The median anger score","example":0.01101237116381525,"type":"number"},"median_anticipation":{"description":"The median anticipation score","example":0.000404581107432023,"type":"number"},"median_fear":{"description":"The median fear score","example":2.35419702221407e-05,"type":"number"},"median_joy":{"description":"The median joy score","example":2.82806922768941e-05,"type":"number"},"median_negative":{"description":"The median negative sentiment","example":0.00179653591476381,"type":"number"},"median_neutral":{"description":"The median neutral sentiment","example":0.275751342301376,"type":"number"},"median_polarity":{"description":"The median polarity score","example":0.906281650066376,"type":"number"},"median_polarity_exp":{"description":"The median exponential polarity score","example":0.906281650066376,"type":"number"},"median_positive":{"description":"The median positive sentiment","example":0.000709029322024435,"type":"number"},"median_sadness":{"description":"The median sadness score","example":3.6597332382371e-06,"type":"number"},"median_similarity":{"description":"The median similarity score","example":0.435824006795883,"type":"number"},"median_surprise":{"description":"The median surprise score","example":0.000322958512697369,"type":"number"},"median_trust":{"description":"The median trust score","example":4.42326472693821e-06,"type":"number"},"min_anger":{"description":"The minimum anger score","example":0.06759066995771626,"type":"number"},"min_anticipation":{"description":"The minimum anticipation score","example":0.37092805846023064,"type":"number"},"min_fear":{"description":"The minimum fear score","example":0.09964104027673068,"type":"number"},"min_joy":{"description":"The minimum joy score","example":0.20399669290784975,"type":"number"},"min_negative":{"description":"The minimum negative sentiment","example":0.30423797404026565,"type":"number"},"min_neutral":{"description":"The minimum neutral sentiment","example":0.000851819233503193,"type":"number"},"min_polarity":{"description":"The minimum polarity score","example":0.000851819233503193,"type":"number"},"min_polarity_exp":{"description":"The minimum exponential polarity score","example":0.000851819233503193,"type":"number"},"min_positive":{"description":"The minimum positive sentiment","example":0.4200106841461165,"type":"number"},"min_sadness":{"description":"The minimum sadness score","example":0.030234827427965343,"type":"number"},"min_similarity":{"description":"The minimum similarity score","example":0.8036714136546748,"type":"number"},"min_surprise":{"description":"The minimum surprise score","example":0.17218985858457217,"type":"number"},"min_trust":{"description":"The minimum trust score","example":0.055418850662423254,"type":"number"},"volume_document":{"description":"The volume of documents","example":481,"type":"number"},"volume_sentence":{"description":"The volume of sentences","example":19502,"type":"number"}},"type":"object"},"title":"Timeserie Response","type":"array"}}},"description":"A timestamped array with custom indicators"},"202":{"description":"The instance is still in progress. Retry later."},"204":{"description":"No content. The instance has been stopped or an error occured within the instance."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get a time-aggregated dataset.","tags":["Analyze"]}},"/api/2.0/analyze/tql":{"post":{"requestBody":{"content":{"application/json":{"schema":{"example":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"end_date":"2019-02-01","entities":[{"annotate_keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"],"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","query":"((title:\"Apple Inc.\" AND text:\"Apple Inc.\") OR (title:\"Apple\" AND text:\"Apple\")) AND ner:\"Apple\""}],"language":"english","min_match":2,"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"start_date":"2019-01-31"},"properties":{"concepts":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"A dictionary containing the concepts with the concept as key and list of keywords as value. Commas are not allowed inside.","title":"Concepts","type":"object"},"concepts_filter":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"Same as `concepts`, but also used as filters.","title":"Concepts Filter","type":"object"},"end_date":{"description":"The date when the analysis should end.","example":"2019-02-01","format":"date","title":"End Date","type":"string"},"entities":{"items":{"example":[{"annotate_keywords":["apple"],"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"Q312","query":"(title:\"Apple Inc.\" AND text:\"Apple Inc.\") OR (title:\"Apple\" AND text:\"Apple\") AND ner:\"Apple\""}],"properties":{"annotate_keywords":{"description":"List of keywords not used for search but for named entity resolution or annotation task.","items":{"type":"string"},"title":"Annotate keywords","type":"array"},"context":{"description":"The context used for the analysis. The context is mandatory when the similarity_threshold parameter is used.","title":"Context","type":"string"},"entity_of_interest":{"description":"The entity identifier. Commas are not allowed inside.","title":"Entity Identifier","type":"string"},"query":{"description":"The tql query used to extract the data for the analysis.","title":"Tql query","type":"string"}},"required":["entity_of_interest","query","annotate_keywords"],"title":"Entity","type":"object"},"title":"Entities","type":"array"},"language":{"default":"english","description":"Language used for analysis (only one language allowed with TQL query)","example":"french","format":"analyze-language-code","title":"Language","type":"string"},"min_match":{"default":1,"description":"At least *min_match* given keywords should be present in the resulted text.","example":1,"title":"Minimum Match","type":"number"},"min_repeat":{"default":1,"description":"The minimum number of time a keyword should be present in a text.","example":1,"title":"Minimum Repeat","type":"number"},"qscore":{"description":"Quality score number.","example":50,"format":"float","maximum":100,"minimum":0,"title":"Quality score","type":"number"},"sentiments_filter":{"description":"Filter documents based on sentiment.","properties":{"negative":{"properties":{"max":{"description":"Maximum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Negative","type":"number"},"min":{"description":"Minimum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Negative","type":"number"}},"type":"object"},"neutral":{"properties":{"max":{"description":"Maximum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Neutral","type":"number"},"min":{"description":"Minimum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Neutral","type":"number"}},"type":"object"},"polarity":{"properties":{"max":{"description":"Maximum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Maximum Polarity","type":"number"},"min":{"description":"Minimum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Minimum Polarity","type":"number"}},"type":"object"},"positive":{"properties":{"max":{"description":"Maximum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Positive","type":"number"},"min":{"description":"Minimum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Positive","type":"number"}},"type":"object"}},"title":"Sentiments Filter","type":"object"},"similarity_threshold":{"description":"Similarity score threshold for recognized or matched entities. Filters out documents containing entities with a similarity score lesser than the threshold.","example":0.5,"format":"float","maximum":1,"minimum":0,"type":"number"},"start_date":{"description":"The date when the analysis should start.","example":"2019-01-31","format":"date","title":"Start Date","type":"string"}},"required":["end_date","entities","start_date"],"title":"Analyze with Tql query","type":"object"}}},"description":"Tql Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"instance":"a62caf56-5961-4fff-ba2e-6d4dcf98960f"},"properties":{"instance":{"description":"The identifier of an analysis. This identifier have to be used to get results.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Instance identifier","type":"string"}},"title":"Dataset Response","type":"object"}}},"description":"An identifier of the analysis to retrieve results"},"400":{"content":{"application/json":{"schema":{"properties":{"_schema":{"description":"The field where the error happened.","items":{"example":"the field is required","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"429":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Too Many Requests"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Create a granular dataset in a secure web server for multiple Entities defined with a TQL query","tags":["Analyze"]}},"/api/2.0/analyze/{id}":{"get":{"parameters":[{"description":"Analysis ID","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"concepts":{"environment":["environmental impact","environmental controversy","pesticide"],"governance":["offshore transaction","dupery","humbug"],"pollution":["fuel leakage","greenhouse gases"],"social":["unscrupulous","inequality","malfeasance","workplace violence"]},"countries":["US","FR"],"end_date":"2019-02-01","entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["Apple Inc.","Steve Wozniak","Apple Computer","Ron Wayne","AC Wellness","FileMaker","Braeburn Capital","David Pakman","AAPL","Apple","Steve Jobs","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["SESAMm SAS","Florian Aubry","SESAMm","Pierre Rinaldi","Sylvain Fort\u00e9","sesamm.com"]}],"languages":["english"],"qscore":90,"sentiments_filter":{"positive":{"min":0.5}},"similarity_threshold":0.5,"site_type":["news","blogs","discussions"],"sites_exclude":["apple.com"],"start_date":"2019-01-31","workers":["quality-score","concept","raw-matcher","ner-linking","entity-similarity","embedder-indicators"]},"properties":{"co_mentions":{"description":"List of keywords to search with the keywords list. Works like a boolean `AND`.\n*Example*: \n  - `keywords : [\"TotalEnergy\"]`\n  - `co_mentions: [\"gas\", \"oil price\"]`\n\n*Behavior:* TextReveal\u00ae API will look for documents relevant to at least one of the co_mentions. For the above example, below are the different cases of relevancy:\n - `TotalEnergy` and `gas`\n - `TotalEnergy` and `oil price`\n - `TotalEnergy` and `oil price` and `gas`\n\n*N.B*: Search of `co_mentions` is operated in full-text and is case insensitive.\n","items":{"example":["tablets"],"type":"string"},"title":"Co Mentions","type":"array"},"concepts":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"List of concepts or risks that are to be analyzed. Each individual concept is defined by its own list of keywords.<br/> Punctuation is not handled in the concept labels. Each concept label must be unique (case insensitive).\n","title":"Concepts","type":"object"},"concepts_filter":{"additionalProperties":{"description":"List of keywords for the concept","example":"social","items":{"example":["inequality"],"type":"string"},"type":"array"},"description":"Same as `concepts` but filters out documents that does not contain the concepts. <br/>**Note**: You can either use `concepts` or `concepts_filter`\n","title":"Concepts Filter","type":"object"},"countries":{"description":"List of countries to search (field `thread.country`). <br/>\n*N.B*: Use `alpha-2` format.\n","items":{"example":["US"],"type":"string"},"title":"Countries","type":"array"},"end_date":{"description":"The date when the anaysis should end.","example":"2019-02-01","format":"date","title":"End Date","type":"string"},"entities":{"items":{"example":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"Q312","keywords":["Tim Cook","Apple TV"],"neg_keywords":["apple"]},{"context":"Boeing Company manufactures and sells aircraft, rotorcraft, rockets, and satellites and provides product leasing and support services.","entity_of_interest":"Q66","keywords":["Boeing","Alteon Training"],"neg_keywords":["insitu"]}],"properties":{"context":{"description":"The context used for the analysis.","title":"Context","type":"string"},"entity_of_interest":{"description":"The entity identifier. Commas are not allowed inside.","title":"Entity Identifier","type":"string"},"keywords":{"description":"List of keywords to search.<br/> *All keywords with a length strictly lower than 3 characters are filtered out except for `Japanese`, `Chinese` and `Korean` languages.*","items":{"type":"string"},"title":"Keywords","type":"array"},"neg_keywords":{"description":"List of keywords not used for search but for named entity resolution or annotation task. <br/>\nDetailed explanation: \n- Using generic keywords or high cardinality keywords can bring huge volume of data to process or reduce quality of the data extracted.\n- `neg_keywords` parameter allows you to add such keywords so that you can use them to annotate sentence containing them within documents already containing less generic keywords.\n\nExample: \n- `keywords: ['Microsoft']` (Used for search in datalake)\n- `neg_keywords: ['MSFT']` (Not used for search in datalake)\n\n*Behavior:* Textreveal\u00ae API will look for documents containing only microsoft, then after, it will annotate every sentence mentionning `MSFT` or `Microsoft`\n","items":{"type":"string"},"title":"Negative keywords","type":"array"}},"required":["context","entity_of_interest","keywords"],"title":"Entity","type":"object"},"title":"Entities","type":"array"},"keywords_exclude":{"description":"List of keywords to exclude from the search. Works like a boolean `AND NOT`. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `keywords_exclude: [\"Steve Jobs\", \"Tim Cook\"]`\n*Behavior*: TextReveal\u00ae API will look for documents relevant to `apple` the company or `Iphone` but *NOT* containing either `Steve Jobs` or `Tim Cook`.\n\n*N.B*: Search of `keywords_exclude` is operated in full-text and is case insensitive.\n","items":{"example":["Steve Jobs"],"type":"string"},"title":"Keywords Exclude","type":"array"},"languages":{"default":["english"],"description":"List of languages to search, see [Language Support](/guide/languages#analyze) page for more information.\n\n*Note:* We do not recommend using multiple values.\n","example":["french"],"items":{"format":"analyze-language-code","type":"string"},"title":"Languages","type":"array"},"min_match":{"default":1,"description":"The message must contain at least `min_match` keywords. <br/>\nWhen used, each entity must have at least `min_match` keywords.<br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\", \"macbook\"]`\n- `min_match: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if at least 2 elements from the keywords list appear in the document.\n","example":1,"title":"Minimum Match","type":"number"},"min_repeat":{"default":1,"description":"The message must contain at least `min_repeat` occurrence of a keyword. <br/>\n*Example*: \n- `keywords: [\"apple\", \"iphone\"]`\n- `min_repeat: 2`\n\n*Behavior:* TextReveal\u00ae API will only keep the document if and only if it contains at least 2 occurrences of either `apple` or `iphone`.\n","example":1,"title":"Minimum Repeat","type":"number"},"qscore":{"default":50,"description":"Quality threshold to filter out unreadable data. <br/>\nNo filtering is applied if the `quality-score` worker is not provided.\n","example":50,"format":"float","maximum":100,"minimum":0,"title":"Quality score","type":"number"},"search_in":{"default":["title","text"],"description":"Allows to define if the documents extraction has to be done by searching entity keywords in the title and/or in the text. <br/>\n*Example*: \n- `search_in: [\"title\", \"text\"]`\n\n**Note:**\n- This parameter is only applied on the keywords of entity, not on `keywords_exclude`, `co_mentions`, `neg_keywords`, `min_repeat`, `min_match`.\n- Not available with `ner-linking` worker.\n","items":{"example":["title","text"],"type":"string"},"title":"Search In","type":"array"},"sentiments_filter":{"description":"Partial object containing a min/max values for each sentiments. The end analysis will contains documents that match these filters. <br/> \n**Note:** This can be compared to a filter on: \n- `document_{sentiment}.mean` key for `positive`, `negative` and `neutral`\n- `document_{sentiment}` key for `polarity`\n","properties":{"negative":{"properties":{"max":{"description":"Maximum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Negative","type":"number"},"min":{"description":"Minimum negative sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Negative","type":"number"}},"type":"object"},"neutral":{"properties":{"max":{"description":"Maximum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Neutral","type":"number"},"min":{"description":"Minimum neutral sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Neutral","type":"number"}},"type":"object"},"polarity":{"properties":{"max":{"description":"Maximum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Maximum Polarity","type":"number"},"min":{"description":"Minimum polarity score. Accepted range is between -1 and 1.","maximum":1,"minimum":-1,"title":"Minimum Polarity","type":"number"}},"type":"object"},"positive":{"properties":{"max":{"description":"Maximum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Maximum Positive","type":"number"},"min":{"description":"Minimum positive sentiment score. Accepted range is between 0 and 1.","maximum":1,"minimum":0,"title":"Minimum Positive","type":"number"}},"type":"object"}},"title":"Sentiments Filter","type":"object"},"similarity_threshold":{"default":0,"description":"Similarity score threshold for recognized or matched entities. Filters out documents containing entities with a similarity score lesser than the threshold.","example":0.5,"format":"float","maximum":1,"minimum":0,"type":"number"},"site_type":{"default":["news","blogs","discussions"],"description":"Type of sites to search (field `thread.site_type`)\n","items":{"enum":["news","blogs","discussions","licensed_news","premium_news"],"example":["news"],"type":"string"},"title":"Site Type","type":"array"},"sites":{"description":"List of websites to search.<br />\n*N.B*: Use the **base domain** of the websites.\n","items":{"example":["apple.com"],"type":"string"},"title":"Sites","type":"array"},"sites_exclude":{"description":"A list of source sites to be excluded.","items":{"example":["apple.com"],"type":"string"},"title":"Sites Exclude","type":"array"},"start_date":{"description":"The date when the analysis should start.","example":"2019-01-31","format":"date","title":"Start Date","type":"string"},"workers":{"description":"List of the tasks that will be used for analysis. Should contain at least 'raw-matcher' or 'ner-linking'.","items":{"enum":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"example":["quality-score","ner-linking","raw-matcher","concept","entity-similarity","embedder-indicators"],"type":"string"},"minimum":1,"title":"Workers","type":"array"}},"required":["end_date","entities","start_date","workers"],"title":"Analyze Dataset","type":"object"}}},"description":"Get analysis by id response. The payload will be in the file attachment of the response."},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Retrieve the payload of an analysis previously run.","tags":["Analyze"]}},"/api/2.0/analyze/{id}/download":{"post":{"parameters":[{"description":"The unique identifier of the analysis.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"concepts":{"description":"Detected concept in the documents. This concept must be part of the instance.","items":{"example":"environment","type":"string"},"title":"Concepts","type":"array"},"date":{"description":"Extract date of the documents. Must be within the instance's date range.","example":{"end":"2019-02-01","start":"2019-02-01"},"title":"Date","type":"object"},"entities":{"description":"Detected entity in the documents. This entity must be part of the instance.","items":{"example":"apple","type":"string"},"title":"Entities","type":"array"},"fields":{"description":"List of fields to be extracted in documents.","items":{"enum":["concepts","document_entity_negative","document_entity_neutral","document_entity_polarity","document_entity_positive","document_negative","document_neutral","document_polarity","document_positive","entities","extract_date","id","language","mentions","qscore","sentences","thread","title","url","summary"],"example":"title","type":"string"},"title":"Fields","type":"array"},"limit":{"oneOf":[{"description":"The number of documents in the file.","example":500,"minimum":1,"title":"Limit","type":"integer"},{"description":"The number of documents in the file.","properties":{"by":{"enum":["entity"],"example":"entity","type":"string"},"value":{"example":3,"minimum":1,"type":"integer"}},"title":"Limit","type":"object"}]},"sort":{"properties":{"field":{"description":"The field used to sort the documents.","enum":["document_polarity","document_positive","document_neutral","document_negative","document_entity_positive","document_entity_neutral","document_entity_negative","document_entity_polarity"],"example":"document_polarity","title":"Field","type":"string"},"order":{"description":"The sort order. You can use the ASC and DESC keywords to specify ascending (smallest value first) or descending (largest value first) order","enum":["ASC","DESC"],"example":"ASC","title":"Order","type":"string"}},"title":"Sort","type":"object"}},"title":"Analyze Download","type":"object"}}},"description":"Download Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"description":"The hash of the launched download","example":{"hash":"9a8b7c5d6e"},"properties":{"hash":{"description":"The hash of launched download","example":"9a8b7c5d6e","title":"Hash","type":"string"}},"title":"Download Response","type":"object"}}},"description":"A download hash"},"202":{"description":"The instance is still in progress. Retry later."},"204":{"description":"No content. The instance can be stopped, failed or having no data to download."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Download result of an analysis previously run.","tags":["Analyze"]}},"/api/2.0/analyze/{id}/download/{hash}":{"get":{"parameters":[{"description":"Analysis ID.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Hash. Used as a download identifier.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"The urls to download the results","example":["https://files.textreveal.com/download/company=e8c8d3ba-4ca0-45d1-b4ba-c1b1f2364a12/instance=fabd78aa-5241-4842-8108-fd52ef805cde/download=03d8c58a31/output-0.json.gz","https://files.textreveal.com/download/company=e8c8d3ba-4ca0-45d1-b4ba-c1b1f2364a12/instance=fabd78aa-5241-4842-8108-fd52ef805cde/download=03d8c58a31/output-1.json.gz"],"items":{"type":"string"},"type":"array"}}},"description":"Get the urls to download data"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get the urls to download the result","tags":["Analyze"]}},"/api/2.0/analyze/{id}/download/{hash}/status":{"get":{"parameters":[{"description":"Analysis ID.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Hash. Used as a download identifier.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"The status of the download","example":{"status":"completed"},"properties":{"status":{"description":"The current status of the analysis.","enum":["starting","running","failed","stopped","completed"],"example":"completed","title":"Status","type":"string"}},"title":"Download Status Response","type":"object"}}},"description":"Download status response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Retrieve the status of a given download","tags":["Analyze"]}},"/api/2.0/analyze/{id}/stop":{"post":{"parameters":[{"description":"Analysis ID","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No content. The instance has been stopped."},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Stops an analysis previously run.","tags":["Analyze"]}},"/api/2.0/analyze/{id}/timeseries":{"post":{"parameters":[{"description":"Analysis ID","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"operands":["min","max","mean","median"],"output_format":"json","pivots":["extract_day","language","entity"],"time_granularity":"day","volume_only":false},"properties":{"operands":{"default":["min","max","mean","median"],"description":"The operators that will be used for aggregation. Min is lowest value observed for the class on the defined period. Max is highest value observed for the class on the defined period. Mean is average value observed for the class on the defined period. Median is middle value observed for the class on the defined period.","example":["min","max","mean","median"],"items":{"enum":["min","max","mean","median"],"type":"string"},"title":"Operands","type":"array"},"output_format":{"default":"json","description":"The output format of the final timeseries.","enum":["json","csv"],"example":"json","title":"Output Format","type":"string"},"pivots":{"default":["extract_day","entity"],"description":"Additional pivots (groups) to the date.","example":["extract_day","language","entity"],"items":{"enum":["extract_day","language","entity","site","site_type","country"],"type":"string"},"title":"Pivots","type":"array"},"time_granularity":{"default":"day","description":"Aggregation granularity period.","enum":["day","hour","minute"],"example":"day","title":"Time Granularity","type":"string"},"volume_only":{"default":false,"description":"Aggregation mode. Set to true to display only volumes.","example":false,"type":"boolean"}},"title":"Analyze Timeseries","type":"object"}}},"description":"Timeserie Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"description":"The hash of the launched timeseries","example":{"hash":"98756"},"properties":{"hash":{"description":"The hash of launched analysis","example":"98756","title":"Hash","type":"string"}},"title":"Timeseries Run Response","type":"object"}}},"description":"Timeseries status response"},"202":{"description":"The instance is still in progress. Retry later."},"204":{"description":"No content. The instance has been stopped or an error occurred within the instance."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Compute a timeseries for a given instance","tags":["Analyze"]}},"/api/2.0/analyze/{id}/timeseries/{hash}/download":{"get":{"parameters":[{"description":"Analysis ID","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Hash. Used as a timeseries identifier","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Custom Indicators","items":{"properties":{"concept_sentiment_polarity":{"description":"Average sentiment polarity of documents that match both the specified concept and the entity","example":0.147529,"type":"number"},"concepts_keywords_count":{"description":"The count of keywords matched per concepts in the documents for the aggregation period. Available with the concept worker.","properties":{"{concept}":{"description":"The count of each keyword for the concept.","properties":{"{keyword}":{"description":"The count of one keyword for the concept.","example":1,"title":"Keyword","type":"number"}},"title":"Count of keywords","type":"object"}},"title":"Count of keywords per concepts","type":"object"},"entity":{"description":"The detected entity","example":"apple","type":"string"},"entity_max_anger":{"description":"The maximum anger score of sentences matching the entity of interest","example":0.99718827,"type":"number"},"entity_max_anticipation":{"description":"The maximum anticipation score of sentences matching the entity of interest","example":0.9982167,"type":"number"},"entity_max_fear":{"description":"The maximum fear score of sentences matching the entity of interest","example":0.9811126,"type":"number"},"entity_max_joy":{"description":"The maximum joy score of sentences matching the entity of interest","example":0.99861634,"type":"number"},"entity_max_negative":{"description":"The maximum negative score of sentences matching the entity of interest","example":0.9998697,"type":"number"},"entity_max_neutral":{"description":"The maximum neutral score of sentences matching the entity of interest","example":0.9679948,"type":"number"},"entity_max_polarity":{"description":"The maximum polarity score of sentences matching the entity of interest","example":0.9998068,"type":"number"},"entity_max_polarity_exp":{"description":"The maximum exponential polarity score of sentences matching the entity of interest","example":0.73058915,"type":"number"},"entity_max_positive":{"description":"The maximum positive score of sentences matching the entity of interest","example":0.9977102,"type":"number"},"entity_max_sadness":{"description":"The maximum sadness score of sentences matching the entity of interest","example":0.77819663,"type":"number"},"entity_max_surprise":{"description":"The maximum surprise score of sentences matching the entity of interest","example":0.9127892,"type":"number"},"entity_max_trust":{"description":"The maximum trust score of sentences matching the entity of interest","example":0.9883493,"type":"number"},"entity_mean_anger":{"description":"The average anger score of sentences matching the entity of interest","example":0.09166308,"type":"number"},"entity_mean_anticipation":{"description":"The average anticipation score of sentences matching the entity of interest","example":0.34042513,"type":"number"},"entity_mean_fear":{"description":"The average fear score of sentences matching the entity of interest","example":0.07668448,"type":"number"},"entity_mean_joy":{"description":"The average joy score of sentences matching the entity of interest","example":0.22198433,"type":"number"},"entity_mean_negative":{"description":"The average negative sentiment of sentences matching the entity of interest","example":0.28851792,"type":"number"},"entity_mean_neutral":{"description":"The average neutral sentiment of sentences matching the entity of interest","example":0.32175303,"type":"number"},"entity_mean_polarity":{"description":"The average polarity score of sentences matching the entity of interest","example":0.19259128,"type":"number"},"entity_mean_polarity_exp":{"description":"The average exponential polarity score of sentences matching the entity of interest","example":0.52477163,"type":"number"},"entity_mean_positive":{"description":"The average positive sentiment of sentences matching the entity of interest","example":0.38972905,"type":"number"},"entity_mean_sadness":{"description":"The average sadness score of sentences matching the entity of interest","example":0.038473394,"type":"number"},"entity_mean_surprise":{"description":"The average surprise score of sentences matching the entity of interest","example":0.15694292,"type":"number"},"entity_mean_trust":{"description":"The average trust score of sentences matching the entity of interest","example":0.07382667,"type":"number"},"entity_median_anger":{"description":"The median anger score of sentences matching the entity of interest","example":0.017700193,"type":"number"},"entity_median_anticipation":{"description":"The median anticipation score of sentences matching the entity of interest","example":0.2553157,"type":"number"},"entity_median_fear":{"description":"The median fear score of sentences matching the entity of interest","example":0.023895262,"type":"number"},"entity_median_joy":{"description":"The median joy score of sentences matching the entity of interest","example":0.11430361,"type":"number"},"entity_median_negative":{"description":"The median negative sentiment of sentences matching the entity of interest","example":0.21405028,"type":"number"},"entity_median_neutral":{"description":"The median neutral sentiment of sentences matching the entity of interest","example":0.2941478,"type":"number"},"entity_median_polarity":{"description":"The median polarity score of sentences matching the entity of interest","example":0.27354315,"type":"number"},"entity_median_polarity_exp":{"description":"The median exponential polarity score of sentences matching the entity of interest","example":0.5348652,"type":"number"},"entity_median_positive":{"description":"The median positive sentiment of sentences matching the entity of interest","example":0.35080644,"type":"number"},"entity_median_sadness":{"description":"The median sadness score of sentences matching the entity of interest","example":0.0130615225,"type":"number"},"entity_median_surprise":{"description":"The median surprise score of sentences matching the entity of interest","example":0.10009765,"type":"number"},"entity_median_trust":{"description":"The median trust score of sentences matching the entity of interest","example":0.016967772,"type":"number"},"entity_min_anger":{"description":"The minimum anger score of sentences matching the entity of interest","example":1.8979609e-06,"type":"number"},"entity_min_anticipation":{"description":"The minimum anticipation score of sentences matching the entity of interest","example":3.0458179e-05,"type":"number"},"entity_min_fear":{"description":"The minimum fear score of sentences matching the entity of interest","example":3.519718e-06,"type":"number"},"entity_min_joy":{"description":"The minimum joy score of sentences matching the entity of interest","example":1.0755519e-07,"type":"number"},"entity_min_negative":{"description":"The minimum negative sentiment of sentences matching the entity of interest","example":9.640515e-05,"type":"number"},"entity_min_neutral":{"description":"The minimum neutral sentiment of sentences matching the entity of interest","example":7.480668e-05,"type":"number"},"entity_min_polarity":{"description":"The minimum polarity score of sentences matching the entity of interest","example":-0.99988925,"type":"number"},"entity_min_polarity_exp":{"description":"The minimum exponential polarity score of sentences matching the entity of interest","example":0.26897794,"type":"number"},"entity_min_positive":{"description":"The minimum positive sentiment of sentences matching the entity of interest","example":5.5367167e-05,"type":"number"},"entity_min_sadness":{"description":"The minimum sadness score of sentences matching the entity of interest","example":3.6597391e-06,"type":"number"},"entity_min_surprise":{"description":"The minimum surprise score of sentences matching the entity of interest","example":3.247154e-05,"type":"number"},"entity_min_trust":{"description":"The minimum trust score of sentences matching the entity of interest","example":6.151172e-07,"type":"number"},"entity_volume_sentence":{"description":"The volume of sentences where the entity of interest is matched for the aggregation period","example":2,"type":"number"},"extract_day":{"description":"Extract day of the article","example":"2019-01-31","type":"string"},"extract_hour":{"description":"Extract hour of the article. Available when time series are aggregated by hour.","example":2,"type":"number"},"extract_minute":{"description":"Extract minute of the article. Available when time series are aggregated by minute.","example":48,"type":"string"},"language":{"description":"The language of the article","example":"english","format":"analyze-language-code","type":"string"},"max_anger":{"description":"The maximum anger score","example":0.9996117,"type":"number"},"max_anticipation":{"description":"The maximum anticipation score","example":0.99981934,"type":"number"},"max_fear":{"description":"The maximum fear score","example":0.99742836,"type":"number"},"max_joy":{"description":"The maximum joy score","example":0.9997067,"type":"number"},"max_negative":{"description":"The maximum negative score","example":0.9998697,"type":"number"},"max_neutral":{"description":"The maximum neutral score","example":0.97831124,"type":"number"},"max_polarity":{"description":"The maximum polarity score","example":0.9998563,"type":"number"},"max_polarity_exp":{"description":"The maximum exponential polarity score","example":0.7309262,"type":"number"},"max_positive":{"description":"The maximum positive score","example":0.9993987,"type":"number"},"max_sadness":{"description":"The maximum sadness score","example":0.95701885,"type":"number"},"max_similarity":{"description":"The maximum similarity score","example":0.9513672,"type":"number"},"max_surprise":{"description":"The maximum surprise score","example":0.9837325,"type":"number"},"max_trust":{"description":"The maximum surprise score","example":0.9990107,"type":"number"},"mean_anger":{"description":"The average anger score","example":0.07473226,"type":"number"},"mean_anticipation":{"description":"The average anticipation score","example":0.29243448,"type":"number"},"mean_fear":{"description":"The average fear score","example":0.087884925,"type":"number"},"mean_joy":{"description":"The average joy score","example":0.24787717,"type":"number"},"mean_negative":{"description":"The average negative sentiment","example":0.2914804,"type":"number"},"mean_neutral":{"description":"The average neutral sentiment","example":0.22759011,"type":"number"},"mean_polarity":{"description":"The average polarity score","example":0.26147643,"type":"number"},"mean_polarity_exp":{"description":"The average exponential polarity score","example":0.5457621,"type":"number"},"mean_positive":{"description":"The average positive sentiment","example":0.4809295,"type":"number"},"mean_sadness":{"description":"The average sadness score","example":0.056699693,"type":"number"},"mean_similarity":{"description":"The average similarity score","example":0.7764126,"type":"number"},"mean_surprise":{"description":"The average surprise score","example":0.147281,"type":"number"},"mean_trust":{"description":"The average trust score","example":0.09309049,"type":"number"},"median_anger":{"description":"The median anger score","example":0.019531248,"type":"number"},"median_anticipation":{"description":"The median anticipation score","example":0.18749999,"type":"number"},"median_fear":{"description":"The median fear score","example":0.035461422,"type":"number"},"median_joy":{"description":"The median joy score","example":0.16007276,"type":"number"},"median_negative":{"description":"The median negative sentiment","example":0.23828124,"type":"number"},"median_neutral":{"description":"The median neutral sentiment","example":0.19018553,"type":"number"},"median_polarity":{"description":"The median polarity score","example":0.3217773,"type":"number"},"median_polarity_exp":{"description":"The median exponential polarity score","example":0.5518798,"type":"number"},"median_positive":{"description":"The median positive sentiment","example":0.45312497,"type":"number"},"median_sadness":{"description":"The median sadness score","example":0.021301268,"type":"number"},"median_similarity":{"description":"The median similarity score","example":0.78224176,"type":"number"},"median_surprise":{"description":"The median surprise score","example":0.10388183,"type":"number"},"median_trust":{"description":"The median trust score","example":0.024902342,"type":"number"},"min_anger":{"description":"The minimum anger score","example":8.517259e-07,"type":"number"},"min_anticipation":{"description":"The minimum anticipation score","example":6.1337932e-06,"type":"number"},"min_fear":{"description":"The minimum fear score","example":3.5336805e-07,"type":"number"},"min_joy":{"description":"The minimum joy score","example":1.0755519e-07,"type":"number"},"min_negative":{"description":"The minimum negative sentiment","example":7.1823655e-05,"type":"number"},"min_neutral":{"description":"The minimum neutral sentiment","example":1.4854676e-05,"type":"number"},"min_polarity":{"description":"The minimum polarity score","example":-0.99988925,"type":"number"},"min_polarity_exp":{"description":"The minimum exponential polarity score","example":0.26897794,"type":"number"},"min_positive":{"description":"The minimum positive sentiment","example":5.5367167e-05,"type":"number"},"min_sadness":{"description":"The minimum sadness score","example":6.245654e-07,"type":"number"},"min_similarity":{"description":"The minimum similarity score","example":0.0,"type":"number"},"min_surprise":{"description":"The minimum surprise score","example":2.4277217e-05,"type":"number"},"min_trust":{"description":"The minimum trust score","example":2.5375562e-07,"type":"number"},"volume_document":{"description":"The volume of documents where the entity of interest is matched for the aggregation period","example":5261,"type":"number"},"volume_document_{concept}":{"description":"The volume of documents where the entity of interest AND the specified concept are matched for the aggregation period","example":2,"type":"number"},"volume_sentence":{"description":"The volume of all sentences of all documents where the entity of interest is matched for the aggregation period","example":159624,"type":"number"},"volume_sentence_{concept}":{"description":"The volume of sentences that reference the concept in the documents where the entity of interest is matched for the aggregation period","example":7,"type":"number"}},"type":"object"},"title":"Timeserie Response","type":"array"}}},"description":"Timeseries Download response"},"202":{"description":"The timeseries is still in progress. Retry later."},"204":{"description":"No content. The timeseries has been stopped or an error occured within the timeseries."},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Retrieve a time-aggregated dataset","tags":["Analyze"]}},"/api/2.0/analyze/{id}/timeseries/{hash}/status":{"get":{"parameters":[{"description":"Analysis ID.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Hash. Used as a timeseries identifier.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"The status of the timeseries","example":{"status":"completed"},"properties":{"status":{"description":"The current status of the analysis.","enum":["starting","running","failed","stopped","completed"],"example":"completed","title":"Status","type":"string"}},"title":"Timeseries Status Response","type":"object"}}},"description":"Timeseries status response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Retrieve the status of a given timeseries","tags":["Analyze"]}},"/api/2.0/documents":{"post":{"requestBody":{"content":{"application/json":{"schema":{"example":{"documents":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"}],"fields":["title","text"]},"properties":{"documents":{"description":"List of documents","items":{"properties":{"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-12-30T22:59:57.502Z","format":"date-time","title":"Document Id","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"}},"required":["id"],"title":"Document","type":"object"},"maxItems":500,"minItems":1,"title":"Documents","type":"array"},"fields":{"default":["title","text"],"description":"Fields to fetch","items":{"enum":["title","text","summary"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"}},"required":["documents"],"title":"Get documents","type":"object"}}},"description":"Get documents"},"responses":{"200":{"content":{"application/json":{"examples":{"--":{"value":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text","title":"the document's title"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a","text":"the document's text","title":"the document's title"}]},"Documents with errors":{"value":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text","title":"the document's title"},{"error":{"message":"Document 0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a not found on date 2022-12-28T13:15:06.644Z","statusCode":404},"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"}]}},"schema":{"example":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text","title":"the document's title"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a","text":"the document's text","title":"the document's title"}],"properties":{"error":{"oneOf":[{"properties":{"field":{"description":"Optional dictionary detailing which fields caused this error","properties":{"{field}":{"properties":{"message":{"example":"Failed to translate title","type":"string"},"statusCode":{"example":400,"title":"Status Code","type":"number"}},"required":["message","statusCode"],"type":"object"}},"title":"Field","type":"object"}},"required":["field"],"title":"With field","type":"object"},{"properties":{"message":{"example":"Source language {language} not available for translation","title":"Message explaining the cause of the error","type":"string"},"statusCode":{"example":400,"title":"Status Code","type":"number"}},"required":["statusCode","message"],"title":"Without field","type":"object"}],"title":"Error"},"extracted":{"description":"The document's extraction date.","example":"2022-11-25T14:31:10.834Z","format":"date-time","title":"Document extraction date","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"},"summary":{"description":"The document's summary. Undefined if 'summary' is not in the requested fields.","example":"A summary","title":"Summary","type":"string"},"text":{"description":"The document's text. Undefined if 'text' is not in the requested fields.","example":"A text","title":"Text","type":"string"},"title":{"description":"The document's title. Undefined if 'title' is not in the requested fields.","example":"A title","title":"Title","type":"string"}},"required":["id"],"title":"Document","type":"object"}}},"description":"The requested documents"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"503":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"example":"Service Unavailable","title":"Message explaining the cause of the error","type":"string"},"statusCode":{"example":503,"title":"Status Code","type":"number"}},"required":["statusCode","message"],"title":"Error"}},"required":["error"],"title":"Request Failed","type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get documents text, title and/or summary.","tags":["Documents"]}},"/api/2.0/documents/translate":{"post":{"deprecated":true,"description":"Use /documents/translate/batch route instead","requestBody":{"content":{"application/json":{"schema":{"example":{"document_id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","extracted":"2022-12-30T22:59:57.502Z","fields":["title","text"],"language":"french"},"properties":{"document_id":{"description":"The document's identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","format":"uuid","title":"Document Id","type":"string"},"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-11-25T14:31:10.834Z","format":"date-time","title":"Document Id","type":"string"},"fields":{"default":["title","text"],"description":"Fields to translate","items":{"enum":["title","text"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"},"language":{"default":"english","description":"The language in which you want the document to be translated. See [Language Support](/guide/languages#translation) page for more information.","example":"italian","format":"language-code","title":"Target language","type":"string"}},"required":["document_id"],"title":"Documents Translate","type":"object"}}},"description":"Translate Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"partial":false,"text":"the document's text translated","title":"the document's title translated"},"properties":{"partial":{"description":"Whether the document has been partially translated or not.","example":false,"title":"Partial","type":"boolean"},"text":{"description":"The document's text translated. Undefined if 'text' is not in the requested fields.","example":"A translated text","title":"Text","type":"string"},"title":{"description":"The document's title translated. Undefined if 'title' is not in the requested fields.","example":"A translated title","title":"Title","type":"string"}},"title":"Translate Response","type":"object"}}},"description":"An identifier of the analysis to retrieve results"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Translate a document's text and/or title to the desired language.","tags":["Documents"]}},"/api/2.0/documents/translate/batch":{"post":{"description":"This route allow its users to translate all documents except the text of premium ones. For premium news, users still can translate the title.\n","requestBody":{"content":{"application/json":{"schema":{"example":{"documents":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"}],"fields":["title","text"],"language":"french"},"properties":{"documents":{"description":"List of documents to translate","items":{"properties":{"extracted":{"description":"The document's extraction date. If absent, the most recent document will be used.","example":"2022-12-30T22:59:57.502Z","format":"date-time","title":"Document Id","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"}},"title":"Document","type":"object"},"maxItems":25,"minItems":1,"title":"Documents","type":"array"},"fields":{"default":["title","text"],"description":"Fields to translate","items":{"enum":["title","text"],"example":["title"],"type":"string"},"minItems":1,"title":"Fields","type":"array"},"language":{"default":"english","description":"The language in which you want the documents to be translated. See [Language Support](/guide/languages#translation) page for more information.","example":"italian","format":"language-code","title":"Target language","type":"string"}},"required":["documents"],"title":"Documents Translate","type":"object"}}},"description":"Translate Schema"},"responses":{"200":{"content":{"application/json":{"examples":{"--":{"value":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text translated","title":"the document's title translated"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a","partial":true,"text":"the document's text translated","title":"the document's title translated"}]},"Documents with errors":{"value":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text translated","title":"the document's title translated"},{"error":{"message":"Document 0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a not found on date 2022-12-28T13:15:06.644Z","statusCode":404},"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a"},{"error":{"field":{"title":{"message":"Failed to translate title","statusCode":500}}},"extracted":"2023-06-27T13:49:14.740Z","id":"6ab99392-b8cb-4533-9c28-01718a2360fe","text":"the document's text translated"}]}},"schema":{"example":[{"extracted":"2022-12-30T22:59:57.502Z","id":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","text":"the document's text translated","title":"the document's title translated"},{"extracted":"2022-12-28T13:15:06.644Z","id":"0d285bcb024438d022c91d75556c4159786e72b7f3b4b3a22562ca9d1dbabb4a","partial":true,"text":"the document's text translated","title":"the document's title translated"}],"properties":{"error":{"oneOf":[{"properties":{"field":{"description":"Optional dictionary detailing which fields caused this error","properties":{"{field}":{"properties":{"message":{"example":"Failed to translate title","type":"string"},"statusCode":{"example":400,"title":"Status Code","type":"number"}},"required":["message","statusCode"],"type":"object"}},"title":"Field","type":"object"}},"required":["field"],"title":"With field","type":"object"},{"properties":{"message":{"example":"Source language {language} not available for translation","title":"Message explaining the cause of the error","type":"string"},"statusCode":{"example":400,"title":"Status Code","type":"number"}},"required":["statusCode","message"],"title":"Without field","type":"object"}],"title":"Error"},"extracted":{"description":"The document's extraction date.","example":"2022-11-25T14:31:10.834Z","format":"date-time","title":"Document Id","type":"string"},"id":{"description":"The document identifier.","example":"c34ac671a1b0b80078f9acd7e80217e28e8c554e14e1de707fb4370e52299add","title":"Document Id","type":"string"},"partial":{"description":"Whether the document has been partially translated or not.","example":true,"title":"Partial","type":"boolean"},"text":{"description":"The document's text translated. Undefined if 'text' is not in the requested fields.","example":"A translated text","title":"Text","type":"string"},"title":{"description":"The document's title translated. Undefined if 'title' is not in the requested fields.","example":"A translated title","title":"Title","type":"string"}},"required":["id","extracted"],"title":"Translated Document","type":"object"}}},"description":"An identifier of the analysis to retrieve results"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"503":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"example":"Service Unavailable","title":"Message explaining the cause of the error","type":"string"},"statusCode":{"example":503,"title":"Status Code","type":"number"}},"required":["statusCode","message"],"title":"Error"}},"required":["error"],"title":"Request Failed","type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Translate documents text and/or title to the desired language.","tags":["Documents"]}},"/api/2.0/kg/browse":{"post":{"requestBody":{"content":{"application/json":{"schema":{"example":{"entity_of_interest":"apple","properties_list":["chief_executive_officer","domain","founders","legal_name","subsidiaries","ticker"],"source":"corporate_kg"},"properties":{"entity_of_interest":{"description":"The identifier of an Entity.","title":"Entity identifier","type":"string"},"properties_list":{"description":"The properties to look for in the KG.<br/> If *source* is corporate_kg, defaults to *[ \"chief_executive_officer\", \"domain\", \"founders\", \"legal_name\", \"subsidiaries\", \"ticker\" ]*<br/>  If *source* is general_kg, defaults to the full list of properties corresponding to the entity provided.","items":{"type":"string"},"title":"Properties list parameter","type":"array"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"},"uuid":{"description":"The uuid identifier of an Entity. Available only with corporate_kg source.","format":"uuid","title":"Uuid","type":"string"}},"required":["entity_of_interest"],"title":"KG Browse","type":"object"}}},"description":"Browse Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"FIGI":["BBG000B9XRY4"],"ISIN":["US0378331005"],"aliases":{"en":["Apple Computer"]},"description":{"en":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software."},"labels":{"en":"apple"},"properties":{"chief_executive_officer":{"labels":[{"en":"Tim Cook"}]},"domain":{"labels":[{"en":"apple.com"}]},"founders":{"labels":[{"en":"David Pakman"},{"en":"Ron Wayne"},{"en":"Steve Jobs"},{"en":"Steve Wozniak"}]},"legal_name":{"labels":[{"en":"Apple Inc."}]},"subsidiaries":{"labels":[{"en":"AC Wellness"},{"en":"FileMaker"},{"en":"Braeburn Capital"}]},"ticker":{"labels":[{"en":"AAPL"}]}},"websites":{"en":["https://www.apple.com/at"]}},"properties":{"FIGI":{"description":"Financial Instrument Global Identifier of the entity.","example":["BBG000B9XRY4"],"items":{"type":"string"},"title":"FIGI","type":"array"},"ISIN":{"description":"International Securities Identification Numbers of the entity.","example":["US0378331005"],"items":{"type":"string"},"title":"ISIN","type":"array"},"aliases":{"description":"The entity aliases.","properties":{"language":{"description":"aliases in language","items":{"type":"string"},"type":"array"}},"title":"Aliases","type":"object"},"description":{"description":"A short description of the entity.","example":{"en":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software."},"properties":{"language":{"description":"description in given language","type":"string"}},"title":"Description","type":"object"},"labels":{"description":"The entity labels.","example":{"en":"Apple"},"properties":{"language":{"description":"label in language","type":"string"}},"title":"Labels","type":"object"},"properties":{"description":"The entity properties.","properties":{"property":{"description":"The entity property.","properties":{"property_name":{"description":"The property name.","items":{"properties":{"language":{"description":"Value in language.","example":"Tim Cook","type":"string"}},"type":"object"},"type":"array"}},"title":"Property","type":"object"}},"title":"Properties","type":"object"},"websites":{"description":"The websites of the company.","example":{"en":["apple.com.cn","apple.com"]},"properties":{"language":{"description":"Websites in language.","items":{"type":"string"},"type":"array"}},"title":"Websites","type":"object"}},"title":"Browse Response","type":"object"}}},"description":"Browse Response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get aliases and keywords for a given entity and properties.","tags":["Knowledge Graph"]}},"/api/2.0/kg/candidates":{"post":{"requestBody":{"content":{"application/json":{"schema":{"example":{"keyword_of_interest":"Apple","max_results":5,"source":"corporate_kg"},"properties":{"keyword_of_interest":{"description":"The fuzzy keyword to look-up in the the KG.","example":"Apple","title":"Keyword of Interest","type":"string"},"max_results":{"default":5,"description":"The maximum results number to retrieve.","example":5,"maximum":10000,"minimum":0,"title":"Maximum Results","type":"number"},"mode":{"default":"pagerank","deprecated":true,"description":"The sorting mode.","enum":["pagerank","no_ranking"],"example":"pagerank","title":"Page Rank (deprecated)","type":"string"},"search_aliases":{"default":true,"deprecated":true,"description":"Get aliases if set to True.","example":true,"title":"Search Aliases (deprecated)","type":"boolean"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"}},"required":["keyword_of_interest"],"title":"KG Candidates","type":"object"}}},"description":"Candidates Schema"},"responses":{"200":{"content":{"application/json":{"examples":{"Spotting Apple with Corporate KG":{"value":[{"FIGI":["BBG000B9XRY4"],"itemDescription":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","item_id":"apple","label":"Apple","ticker":"AAPL","uuid":"7063d087-96b8-2cc1-ee88-c221288acc2a"},{"FIGI":["BBG006473QX9"],"itemDescription":"Apple Hospitality REIT is a real estate investment trust.","item_id":"apple-hospitality-reit-inc","label":"Apple Hospitality REIT Inc","ticker":"APLE","uuid":"5ee62a78-8d1a-4c50-936f-21df4ddc5969"},{"itemDescription":"Apple International is an automobile exporter company.","item_id":"apple-international-56e9","label":"Apple International","ticker":"2788","uuid":"4bc20bc0-517d-4493-929f-9199d3ac56e9"},{"itemDescription":"Red Apple Group is a conglomerate that owns and operates assets in the energy, real estate, investment, insurance, and food industries.","item_id":"red-apple-group","label":"Red Apple Group","uuid":"70f66ec3-9a6a-47b4-939d-57b3edce7e7a"},{"itemDescription":"Apple & Associates is a staffing and recruiting company that offers jobs in the medical, pharmaceutical, and consumer product industries.","item_id":"apple-associates","label":"Apple & Associates","uuid":"f7d6a9a1-c18a-4f96-8f8f-1ae1805a89ea"}]},"Spotting Apple with General KG":{"value":[{"FIGI":["BBG000B9XRY4"],"ISIN":["US0378331005"],"itemDescription":"American multinational technology company based in Cupertino, California","item_id":"Q312","label":"Apple"},{"itemDescription":"musical","item_id":"Q3521067","label":"The Golden Apple"},{"itemDescription":"1968 UK 2xLP by The Beatles; Apple Records \u2013 PMC 7067/8","item_id":"Q61295007","label":"The Beatles"},{"itemDescription":"most populous city in the United States of America","item_id":"Q60","label":"New York City"},{"itemDescription":"fictional cigarette brand","item_id":"Q104635402","label":"Red Apple cigarettes"}]}},"schema":{"items":{"properties":{"FIGI":{"description":"Financial Instrument Global Identifier of the entity.","example":["BBG000B9XRY4"],"items":{"type":"string"},"title":"FIGI","type":"array"},"ISIN":{"description":"International Securities Identification Numbers of the entity.","example":["US0378331005"],"items":{"type":"string"},"title":"ISIN","type":"array"},"itemDescription":{"description":"A description of the entity","example":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","title":"Item Description","type":"string"},"item_id":{"description":"The entity identifier","example":"apple","title":"Item Identifier","type":"string"},"label":{"description":"The entity label.","example":"Apple","title":"Label","type":"string"},"ticker":{"description":"The entity ticker.","example":"AAPL","title":"Ticker","type":"string"},"uuid":{"description":"The unique identifier of a company.","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Company uuid","type":"string"}},"type":"object"},"title":"Candidates Response","type":"array"}}},"description":"Candidates Response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get candidate entities following an initial user request.","tags":["Knowledge Graph"]}},"/api/2.0/kg/entities":{"get":{"parameters":[{"in":"query","name":"limit","schema":{"example":100,"maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"search_after","schema":{"type":"string"}},{"description":"Sectors of the organization.","in":"query","name":"sectors","schema":{"example":["Financial Services","Internet Services"],"items":{"type":"string"},"type":"array"}},{"description":"The current public status of the Organization. Accepted values are private, public and delisted.","in":"query","name":"ipo_status","schema":{"example":["private","public","delisted"],"items":{"type":"string"},"type":"array"}},{"in":"query","name":"sub_sectors","schema":{"example":["Gaming"],"items":{"type":"string"},"type":"array"}},{"description":"Operating Status of Organization. Accepted values are active and closed.","in":"query","name":"operating_status","schema":{"example":["active","closed"],"items":{"type":"string"},"type":"array"}},{"description":"The current type of the Organization. Accepted values are for_profit and non_profit.","in":"query","name":"company_type","schema":{"example":["for_profit","non_profit"],"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"example":{"count":325763,"entities":[{"aliases":["Apple Computer"],"company_name":"Apple","company_type":"for_profit","country":"United States","description":"Apple is a corporation that designs, manufactures, and markets mobile communication and media devices, personal computers, portable digital music players, and sells a variety of related software, services, peripherals, networking solutions, and third-party digital content and applications.\n\n\nApple provides many products and services, including iPhone; iPad; iPod; Mac; Apple TV; a portfolio of consumer and professional software applications; the iOS and OS X operating systems; iCloud; and accessories, service, and support offerings. \n\n\nIt sells its products worldwide through its retail stores, online stores, direct sales force and third-party cellular network carriers, wholesalers, retailers, and value-added resellers to the consumer and also sells third-party iPhone, iPad, Mac and iPod compatible products, including application software and accessories through its online and retail stores.\n\n\nIntroduced in 1984, the Macintosh was the first widely sold personal computer with a graphical user interface (GUI). That feature and others such as an improved floppy drive design and a low-cost hard drive that made data retrieval faster helped Apple cultivate a reputation for innovation.\n\n\nApple was named as the most admired company in the United States in 2008 and in the world from 2008 to 2012 by the Fortune magazine.\n\n\nThe company was founded by Steven Paul Jobs, Steve Wozniak, and Ronald Gerald Wayne on April 1, 1976, and is headquartered in Cupertino, California.","employee_count":"10000+","founded_on":"1976-04-01T00:00:00.000Z","funding_total":6180230000,"ipo_status":"public","last_funding_type":"post_ipo_equity","legal_name":"Apple Inc.","operating_status":"active","revenue_range":"10B+","sectors":["Consumer Electronics","Hardware","Mobile","Platforms","Software"],"status":"ipo","sub_sectors":["Consumer Electronics","Hardware","Mobile Devices","Operating Systems","Wearables"],"uuid":"7063d087-96b8-2cc1-ee88-c221288acc2a"},{"aliases":["SESAMm SAS"],"company_name":"SESAMm","company_type":"for_profit","country":"France","description":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.\n\nIts team builds analytics and investment signals by analyzing billions of web articles and messages using natural language processing and machine learning. \n\nWith its NLP platform TextReveal and its quantitative data science platform SignalReveal, SESAMm addresses the entire value chain of alpha research. \n\nSESAMm\u2019s 90 people team in Paris, New York, Tokyo, Tunis, UK, and Metz, works with major hedge funds, banks, and asset management clients around the world for both fundamental and quantitative use cases.","employee_count":"51-100","founded_on":"2014-04-28T00:00:00.000Z","funding_total":18365552,"ipo_status":"private","last_funding_type":"series_b","legal_name":"SESAMm","operating_status":"active","revenue_range":null,"sectors":["Artificial Intelligence","Data and Analytics","Design","Financial Services","Information Technology","Lending and Investments","Science and Engineering","Software"],"status":"operating","sub_sectors":["Analytics","Artificial Intelligence","Asset Management","Data Visualization","Finance","FinTech","Impact Investing","Machine Learning","Natural Language Processing","Predictive Analytics"],"uuid":"923e84d9-f307-0b5e-c8f8-2696b7c4a320"}],"search_after":"example_search_after"},"schema":{"example":{"count":325763,"entities":[{"aliases":["Apple Computer"],"company_name":"Apple","company_type":"for_profit","country":"United States","description":"Apple is a corporation that designs, manufactures, and markets mobile communication and media devices, personal computers, portable digital music players, and sells a variety of related software, services, peripherals, networking solutions, and third-party digital content and applications.\n\n\nApple provides many products and services, including iPhone; iPad; iPod; Mac; Apple TV; a portfolio of consumer and professional software applications; the iOS and OS X operating systems; iCloud; and accessories, service, and support offerings. \n\n\nIt sells its products worldwide through its retail stores, online stores, direct sales force and third-party cellular network carriers, wholesalers, retailers, and value-added resellers to the consumer and also sells third-party iPhone, iPad, Mac and iPod compatible products, including application software and accessories through its online and retail stores.\n\n\nIntroduced in 1984, the Macintosh was the first widely sold personal computer with a graphical user interface (GUI). That feature and others such as an improved floppy drive design and a low-cost hard drive that made data retrieval faster helped Apple cultivate a reputation for innovation.\n\n\nApple was named as the most admired company in the United States in 2008 and in the world from 2008 to 2012 by the Fortune magazine.\n\n\nThe company was founded by Steven Paul Jobs, Steve Wozniak, and Ronald Gerald Wayne on April 1, 1976, and is headquartered in Cupertino, California.","employee_count":"10000+","founded_on":"1976-04-01T00:00:00.000Z","funding_total":6180230000,"ipo_status":"public","last_funding_type":"post_ipo_equity","legal_name":"Apple Inc.","operating_status":"active","revenue_range":"10B+","sectors":["Consumer Electronics","Hardware","Mobile","Platforms","Software"],"status":"ipo","sub_sectors":["Consumer Electronics","Hardware","Mobile Devices","Operating Systems","Wearables"],"uuid":"7063d087-96b8-2cc1-ee88-c221288acc2a"},{"aliases":["SESAMm SAS"],"company_name":"SESAMm","company_type":"for_profit","country":"France","description":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.\n\nIts team builds analytics and investment signals by analyzing billions of web articles and messages using natural language processing and machine learning. \n\nWith its NLP platform TextReveal and its quantitative data science platform SignalReveal, SESAMm addresses the entire value chain of alpha research. \n\nSESAMm\u2019s 90 people team in Paris, New York, Tokyo, Tunis, UK, and Metz, works with major hedge funds, banks, and asset management clients around the world for both fundamental and quantitative use cases.","employee_count":"51-100","founded_on":"2014-04-28T00:00:00.000Z","funding_total":18365552,"ipo_status":"private","last_funding_type":"series_b","legal_name":"SESAMm","operating_status":"active","revenue_range":null,"sectors":["Artificial Intelligence","Data and Analytics","Design","Financial Services","Information Technology","Lending and Investments","Science and Engineering","Software"],"status":"operating","sub_sectors":["Analytics","Artificial Intelligence","Asset Management","Data Visualization","Finance","FinTech","Impact Investing","Machine Learning","Natural Language Processing","Predictive Analytics"],"uuid":"923e84d9-f307-0b5e-c8f8-2696b7c4a320"}],"search_after":"example_search_after"},"properties":{"count":{"description":"The total number of found entities.","example":326753,"title":"Count","type":"number"},"entities":{"items":{"description":"The entity information","properties":{"aliases":{"items":{"type":"string"},"maxItems":255,"type":"array"},"company_name":{"type":"string"},"company_type":{"enum":["for_profit","non_profit"],"type":"string"},"country":{"type":"string"},"description":{"type":"string"},"employee_count":{"enum":["1-10","11-50","51-100","101-250","251-500","501-1000","1001-5000","5001-10000","10000+"],"type":"string"},"founded_on":{"format":"date","type":"string"},"funding_total":{"type":"number"},"ipo_status":{"enum":["public","private","delisted"],"type":"string"},"last_funding_type":{"type":"string"},"legal_name":{"type":"string"},"operating_status":{"enum":["active","closed"],"type":"string"},"revenue_range":{"enum":["0-1M","1M-10M","10M-50M","50M-100M","100M-500M","500M-1B","1B-10B","10B+"],"type":"string"},"sectors":{"items":{"type":"string"},"type":"array"},"status":{"enum":["ipo","operating","closed","was_acquired"],"type":"string"},"sub_sectors":{"items":{"type":"string"},"type":"array"},"uuid":{"format":"uuid","type":"string"}},"title":"Information","type":"object"},"title":"Entities","type":"array"},"search_after":{"description":"Use this value to paginate the results","example":"search_after_example","title":"Search After","type":"string"}},"title":"Browse Response","type":"object"}}},"description":"Get Entities Response"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Source entities based on a list of filters.","tags":["Knowledge Graph"]}},"/api/2.0/kg/entities/bulk":{"post":{"requestBody":{"content":{"application/json":{"schema":{"description":"You need to provide at least one value in *uuids* or *entitied_ids*.","example":{"entities_ids":["apple","sesamm"],"language":"english","properties_list":["chief_executive_officer","domain","founders","legal_name","subsidiaries","ticker"],"source":"corporate_kg","uuids":[]},"properties":{"entities_ids":{"example":["apple","sesamm"],"items":{"type":"string"},"title":"An array of the wanted entity ids.","type":"array"},"properties_list":{"description":"The properties to look for in the KG.<br/> If *source* is corporate_kg, defaults to *[ \"chief_executive_officer\", \"domain\", \"founders\", \"legal_name\", \"subsidiaries\", \"ticker\" ]*<br/>  If *source* is general_kg, defaults to the full list of properties corresponding to the entity provided.","items":{"type":"string"},"title":"Properties list parameter","type":"array"},"source":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"},"uuid":{"default":false,"description":"Whether to return company uuid or not.","example":false,"type":"boolean"},"uuids":{"description":"Array of companies uuids to look for.","example":["923e84d9-f307-0b5e-c8f8-2696b7c4a320"],"items":{"format":"uuid","type":"string"},"title":"Uuids","type":"array"}},"title":"KG Entities Bulk","type":"object"}}},"description":"Entities Bulk Schema"},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"entities":[{"context":"Apple is a technology company that designs, manufactures, and markets consumer electronics, personal computers, and software.","entity_of_interest":"apple","keywords":["FileMaker","Apple","Braeburn Capital","AC Wellness","Ron Wayne","Tim Cook","Steve Jobs","AAPL","Steve Wozniak","Apple Inc.","David Pakman","Apple Computer","apple.com"]},{"context":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","entity_of_interest":"sesamm","keywords":["Sylvain Fort\u00e9","Pierre Rinaldi","Florian Aubry","SESAMm","SESAMm SAS","sesamm.com"]}],"not_found":[]},"properties":{"entities":{"items":{"properties":{"context":{"description":"short description of the entity","example":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.","title":"Context","type":"string"},"entity_of_interest":{"description":"entity id","example":"sesamm","title":"Entity Of Interest","type":"string"},"keywords":{"description":"Related properties to the entity","example":["SESAMm","SESAMm SAS","sesamm.com"],"items":{"type":"string"},"title":"Keywords","type":"array"},"uuid":{"description":"The unique identifier of a company","example":"a62caf56-5961-4fff-ba2e-6d4dcf98960f","format":"uuid","title":"Company uuid","type":"string"}},"required":["context","entity_of_interest","keywords"],"type":"object"},"title":"Entities","type":"array"},"not_found":{"example":[],"items":{"type":"string"},"title":"An array containing not found entities","type":"array"}},"title":"Entities Bulk Response","type":"object"}}},"description":"Entities Bulk Response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Generate keywords and context for multiple Entities. To use as input to the analyze/dataset/bulk route request.","tags":["Knowledge Graph"]}},"/api/2.0/kg/entities/{entity_id}/properties":{"get":{"parameters":[{"description":"Entity ID","in":"path","name":"entity_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"source","schema":{"default":"corporate_kg","description":"The knowledge graph source.","enum":["general_kg","corporate_kg"],"example":"corporate_kg","title":"Kg source","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"Apple (Q312) properties using General KG":{"value":[{"en":"instance of"},{"en":"external auditor"},{"en":"owner of"},{"en":"country of origin"},{"en":"owned by"},{"en":"copyright status as a creator"},{"en":"described by source"},{"en":"named after"},{"en":"founded by"},{"en":"subsidiary"},{"en":"product or material produced"},{"en":"chief executive officer"},{"en":"topic's main category"},{"en":"stock exchange"},{"en":"headquarters location"},{"en":"industry"},{"en":"board member"},{"en":"permanent duplicated item"},{"en":"legal form"},{"en":"Wikimedia outline"},{"en":"topic's main Wikimedia portal"},{"en":"business division"},{"en":"has works in the collection"},{"en":"category for employees of the organization"},{"en":"archives at"},{"en":"country"},{"en":"motto"},{"en":"member of"},{"en":"chairperson"},{"en":"location of formation"},{"en":"part of"}]},"Apple (apple) properties using Corporate KG":{"value":[{"en":"ticker"},{"en":"chief_executive_officer"},{"en":"domain"},{"en":"subsidiaries"},{"en":"founders"},{"en":"legal_name"},{"en":"stock_exchange_symbol"}]}},"schema":{"description":"The entity properties","items":{"properties":{"en":{"example":"instance of","type":"string"}},"type":"object"},"title":"Properties","type":"array"}}},"description":"Entity properties Response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"the errors","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get all properties for an entity.","tags":["Knowledge Graph"]}},"/api/2.0/kg/entities/{entity_uuid}":{"get":{"parameters":[{"description":"Entity UUID","in":"path","name":"entity_uuid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"Apple (7063d087-96b8-2cc1-ee88-c221288acc2a) information":{"value":{"aliases":["Apple Computer"],"company_name":"Apple","company_type":"for_profit","country":"United States","description":"Apple is a corporation that designs, manufactures, and markets mobile communication and media devices, personal computers, portable digital music players, and sells a variety of related software, services, peripherals, networking solutions, and third-party digital content and applications.\n\n\nApple provides many products and services, including iPhone; iPad; iPod; Mac; Apple TV; a portfolio of consumer and professional software applications; the iOS and OS X operating systems; iCloud; and accessories, service, and support offerings. \n\n\nIt sells its products worldwide through its retail stores, online stores, direct sales force and third-party cellular network carriers, wholesalers, retailers, and value-added resellers to the consumer and also sells third-party iPhone, iPad, Mac and iPod compatible products, including application software and accessories through its online and retail stores.\n\n\nIntroduced in 1984, the Macintosh was the first widely sold personal computer with a graphical user interface (GUI). That feature and others such as an improved floppy drive design and a low-cost hard drive that made data retrieval faster helped Apple cultivate a reputation for innovation.\n\n\nApple was named as the most admired company in the United States in 2008 and in the world from 2008 to 2012 by the Fortune magazine.\n\n\nThe company was founded by Steven Paul Jobs, Steve Wozniak, and Ronald Gerald Wayne on April 1, 1976, and is headquartered in Cupertino, California.","employee_count":"10000+","founded_on":"1976-04-01T00:00:00.000Z","funding_total":6180230000,"ipo_status":"public","last_funding_type":"post_ipo_equity","legal_name":"Apple Inc.","operating_status":"active","revenue_range":"10B+","sectors":["Consumer Electronics","Hardware","Mobile","Platforms","Software"],"status":"ipo","sub_sectors":["Consumer Electronics","Hardware","Mobile Devices","Operating Systems","Wearables"]}},"SESAMm (923e84d9-f307-0b5e-c8f8-2696b7c4a320) information":{"value":{"aliases":["SESAMm SAS"],"company_name":"SESAMm","company_type":"for_profit","country":"France","description":"SESAMm is a fintech company that specializes in big data and artificial intelligence for investment.\n\nIts team builds analytics and investment signals by analyzing billions of web articles and messages using natural language processing and machine learning. \n\nWith its NLP platform TextReveal and its quantitative data science platform SignalReveal, SESAMm addresses the entire value chain of alpha research. \n\nSESAMm\u2019s 90 people team in Paris, New York, Tokyo, Tunis, UK, and Metz, works with major hedge funds, banks, and asset management clients around the world for both fundamental and quantitative use cases.","employee_count":"51-100","founded_on":"2014-04-28T00:00:00.000Z","funding_total":18365552,"ipo_status":"private","last_funding_type":"series_b","legal_name":"SESAMm","operating_status":"active","revenue_range":null,"sectors":["Artificial Intelligence","Data and Analytics","Design","Financial Services","Information Technology","Lending and Investments","Science and Engineering","Software"],"status":"operating","sub_sectors":["Analytics","Artificial Intelligence","Asset Management","Data Visualization","Finance","FinTech","Impact Investing","Machine Learning","Natural Language Processing","Predictive Analytics"]}}},"schema":{"description":"The entity information","properties":{"aliases":{"items":{"type":"string"},"maxItems":255,"type":"array"},"company_name":{"type":"string"},"company_type":{"enum":["for_profit","non_profit"],"type":"string"},"country":{"type":"string"},"description":{"type":"string"},"employee_count":{"enum":["1-10","11-50","51-100","101-250","251-500","501-1000","1001-5000","5001-10000","10000+"],"type":"string"},"founded_on":{"format":"date","type":"string"},"funding_total":{"type":"number"},"ipo_status":{"enum":["public","private","delisted"],"type":"string"},"last_funding_type":{"type":"string"},"legal_name":{"type":"string"},"operating_status":{"enum":["active","closed"],"type":"string"},"revenue_range":{"enum":["0-1M","1M-10M","10M-50M","50M-100M","100M-500M","500M-1B","1B-10B","10B+"],"type":"string"},"sectors":{"items":{"type":"string"},"type":"array"},"status":{"enum":["ipo","operating","closed","was_acquired"],"type":"string"},"sub_sectors":{"items":{"type":"string"},"type":"array"}},"required":["aliases","sectors","sub_sectors","company_name","company_type","country","description","employee_count","founded_on","ipo_status","last_funding_type","funding_total","legal_name","operating_status","revenue_range","status"],"title":"Information","type":"object"}}},"description":"Entity Response"},"400":{"content":{"application/json":{"schema":{"properties":{"field":{"description":"The field where the error happened.","items":{"description":"The errors.","example":"string","type":"string"},"type":"array"}},"type":"object"}}},"description":"Bad request"},"404":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get information about an entity.","tags":["Knowledge Graph"]}},"/api/2.0/kg/sectors":{"get":{"responses":{"200":{"content":{"application/json":{"example":[{"name":"Agriculture and Farming","sub_sectors":["Agriculture","AgTech","Animal Feed","Aquaculture","Equestrian","Farming","Forestry","Horticulture","Hydroponics","Livestock"]},{"name":"Gaming","sub_sectors":["Casual Games","Console Games","Contests","Fantasy Sports","Gambling","Gamification","Gaming","MMO Games","Online Games","PC Games","Serious Games","Video Games"]}],"schema":{"items":{"properties":{"name":{"description":"The name of the sector","example":"Agriculture and Farming","title":"Name","type":"string"},"sub_sectors":{"description":"The sub-sectors of a sector","example":["Agriculture","AgTech","Animal Feed","Aquaculture","Equestrian","Farming","Forestry","Horticulture","Hydroponics","Livestock"],"items":{"type":"string"},"title":"Sub-Sectors","type":"array"}},"type":"object"},"title":"Sectors","type":"array"}}},"description":"Sectors Response"},"500":{"content":{"application/json":{"schema":{"properties":{"value":{"example":"string","type":"string"}},"type":"object"}}},"description":"Request failed"}},"security":[{"oAuth2Sesamm":[]}],"summary":"Get available sectors with the associated sub-sectors in the Corporate Knowledge Graph.","tags":["Knowledge Graph"]}}},"servers":[{"url":"https://api.textreveal.com"}],"tags":[{"description":"Launch custom Natural Language Processing (NLP) pipelines and retrieve timeseries of indicators","name":"Analyze"},{"description":"Use Knowledge Graph (KG) routes to retrieve data information before analysis","name":"Knowledge Graph"},{"description":"Use documents routes to perform actions on SESAMm's datalake documents","name":"Documents"}]}
