{
"error": "SERVICE_UNAVAILABLE",
"description": "The service is currently unavailable. Please try again later."
}
Endpoints
AI text detection
The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.
The text to scan. It is required except if you supply a website or a file. Minimum 300 characters. Texts under 600 characters may produce unreliable results and should be avoided. Maximum 150 000 characters per request.
A publicly accessible URL to a file to scan. The file must be publicly available online (not a local file path) so our API can access it. The file must be in plain .pdf, .doc or .docx format. The file has priority over the text, so if you give a text and a file, it's the file that will be scanned.
A website URL to scan. If you supply a website, the API will fetch the content of the website and scan it. The website must be publicly accessible. It's important to know that the website has priority over the text and the file, so if you give a text, a file and a website, it's the website that will be scanned.
The model version to use. Our latest and most accurate version is "5.2". Using "latest" will make sure you are always using the latest version. Options: 5.2, 5.1, 5.0, 4.18, 4.17, 4.16, 4.15, 4.14, 4.13, 4.12, 4.11, 4.10, 4.9, 4.8, 4.7, 4.6, 4.5, 4.4, 4.3, 4.2, 4.1, 4.0, 3.1, 3.0, latest. Default: 5.2. Note: Version 3.1 is identical to 3.0 but preserves newline characters in the returned sentences, while 3.0 removes them.
If you put 'auto', the API will automatically detect the language based on the text.
Supported languages [23 languages]:
English (en), French (fr), Spanish (es), Portuguese (pt), Dutch (nl), German (de), Polish (pl), Italian (it), Romanian (ro), Indonesian (id), Tagalog (tl), Russian (ru), Bulgarian (bg), Chinese simplified (zh), Ukrainian (uk), Azerbaijani (az), Czech (cs), Serbian (sr), Belarusian (be), Slovak (sk), Croatian (hr), Bosnian (bs) and Macedonian (mk).
A "human" score between 0 and 100. A low score means our system believes that the text is written by AI, and a higher score means that the system believes that the text is written by a Human.
This is an array of sentence objects. Each object contains two fields: text and score. Please note that assessments on smaller samples are less accurate than the general score.
A readability score between 0 and 100 that indicates how easy it is to read and understand the text based on the provided language. A higher score means the text is more readable and easier to understand.
The credits_used field represents the number of credits consumed for processing your request. Each word that is processed by the API consumes one credit.
The language of the text detected. It can be en | fr | es | pt | nl | de | pl | it | ro | id | tl | ru | bg | zh.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Winston AI API","colors":{"primary":"#3452fe","light":"#3452fe","dark":"#3452fe"},"favicon":"https://mintcdn.com/winstonai/beTS5nQ014LXzWZn/favicon.svg?fit=max\u0026auto=format\u0026n=beTS5nQ014LXzWZn\u0026q=85\u0026s=8678bf8e6758fdfb623de7f3605534b5","logo":{"light":"https://mintcdn.com/winstonai/beTS5nQ014LXzWZn/logo/light.svg?fit=max\u0026auto=format\u0026n=beTS5nQ014LXzWZn\u0026q=85\u0026s=32844a476883f80c86688ed0f21fe842","dark":"https://mintcdn.com/winstonai/beTS5nQ014LXzWZn/logo/dark.svg?fit=max\u0026auto=format\u0026n=beTS5nQ014LXzWZn\u0026q=85\u0026s=95b9598e404ec8daa0b8284c02ca4ac6"},"navbar":{"links":[{"label":"Support","href":"mailto:support@gowinston.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://dev.gowinston.ai"}},"footer":{"socials":{"facebook":"https://twitter.com/mintlify","linkedin":"https://www.linkedin.com/company/92697202/"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Developer dashboard","href":"https://dev.gowinston.ai","icon":"chart-simple"},{"anchor":"Main dashboard","href":"https://app.gowinston.ai","icon":"rocket"},{"anchor":"Blog","href":"https://gowinston.ai/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"winstonai","hasAudioNarration":false,"actualSubdomain":"winstonai","customDomains":["docs.gowinston.ai"],"gitSource":{"type":"github","owner":"gowinston-ai","repo":"winston-ai-api-lambda","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3940b35fc65aee065415f","collectionId":"666ceeb7-b21a-44d6-b764-06cdf75e07ee","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3940b35fc65aee065415f"},"entitlements":{},"buildId":"6ae3940b35fc65aee065415f","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":13},{"language":"default","tag":"Endpoints","count":9},{"language":"default","tag":"API Documentation","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/ai-content-detection/post","slug":"/api-reference/v2/ai-content-detection/post","pageMetadata":{"title":"AI text detection","openapi":"POST /v2/ai-content-detection","version":"v2","description":"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.","href":"/api-reference/v2/ai-content-detection/post"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"AI text detection","openapi":"POST /v2/ai-content-detection","version":"v2","description":"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.","href":"/api-reference/v2/ai-content-detection/post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.","requestBody":"e8acc091-b16c-4ae4-b45c-0801e63d31a1","responses":{"200":"1e8e164e-2867-4eac-9318-516434f20478","400":"f9325777-07c3-4c12-af93-b4a62377cb94","401":"28c18636-1b6a-401a-919e-ef017ee912f7","402":"1e1db3eb-d335-4329-a2e5-46aad0906281","403":"acd5ac5d-ff36-427d-9728-48096402a75e","415":"fa8a5636-0452-4a7d-bd6c-b7a67813b8dc","429":"3ac8c901-c9b9-4a83-a952-bc3c682dcb6f","500":"5ee80345-bb5f-4007-9e7c-7cfd864aeb56","503":"206e05c0-deb7-4653-8b01-4886c2acd27a"},"method":"post","type":"path","servers":["819ff1a1-d814-4c42-a4bd-f3e54a790d28"],"security":["dbbb1adb-47b0-46ad-9b44-7828872322a8"],"path":"/v2/ai-content-detection","baseUrlOptions":["https://api.gowinston.ai/"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"The Ai content detection request V2","content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"description":"The text to scan. It is required except if you supply a website or a file. Minimum 300 characters. Texts under 600 characters may produce unreliable results and should be avoided. Maximum 150 000 characters per request.","type":"string","isRequired":true,"uniqueKey":"text","typeLabel":"string"},"file":{"description":"A publicly accessible URL to a file to scan. The file must be publicly available online (not a local file path) so our API can access it. The file must be in plain .pdf, .doc or .docx format. The file has priority over the text, so if you give a text and a file, it's the file that will be scanned.","type":"string","uniqueKey":"file","typeLabel":"string"},"website":{"description":"A website URL to scan. If you supply a website, the API will fetch the content of the website and scan it. The website must be publicly accessible. It's important to know that the website has priority over the text and the file, so if you give a text, a file and a website, it's the website that will be scanned.","type":"string","uniqueKey":"website","typeLabel":"string"},"version":{"description":"The model version to use. Our latest and most accurate version is \"5.2\". Using \"latest\" will make sure you are always using the latest version. Options: 5.2, 5.1, 5.0, 4.18, 4.17, 4.16, 4.15, 4.14, 4.13, 4.12, 4.11, 4.10, 4.9, 4.8, 4.7, 4.6, 4.5, 4.4, 4.3, 4.2, 4.1, 4.0, 3.1, 3.0, latest. Default: 5.2. Note: Version 3.1 is identical to 3.0 but preserves newline characters in the returned sentences, while 3.0 removes them.","type":"string","uniqueKey":"version","typeLabel":"string"},"sentences":{"description":"Whether the response should include an array of sentences and their scores. Default: true.","type":"boolean","uniqueKey":"sentences","typeLabel":"boolean"},"language":{"description":"2 letter language code. Default: auto. \n\n If you put 'auto', the API will automatically detect the language based on the text. \n\n Supported languages [23 languages]:\n\nEnglish (en), French (fr), Spanish (es), Portuguese (pt), Dutch (nl), German (de), Polish (pl), Italian (it), Romanian (ro), Indonesian (id), Tagalog (tl), Russian (ru), Bulgarian (bg), Chinese simplified (zh), Ukrainian (uk), Azerbaijani (az), Czech (cs), Serbian (sr), Belarusian (be), Slovak (sk), Croatian (hr), Bosnian (bs) and Macedonian (mk).","type":"string","default":"auto","uniqueKey":"language","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"text":"\u003cstring>","file":"\u003cstring>","website":"\u003cstring>","version":"\u003cstring>","sentences":true,"language":"auto"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"1e8e164e-2867-4eac-9318-516434f20478":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"description":"This is a standard HTTP status code. A 200 status means the request was successful.","type":"integer","uniqueKey":"status","typeLabel":"integer"},"score":{"description":"A \"human\" score between 0 and 100. A low score means our system believes that the text is written by AI, and a higher score means that the system believes that the text is written by a Human.","type":"integer","uniqueKey":"score","typeLabel":"integer"},"sentences":{"description":"This is an array of sentence objects. Each object contains two fields: text and score. Please note that assessments on smaller samples are less accurate than the general score.","type":"object","properties":{"text":{"description":"The text field contains the actual text of the sentence that was analyzed.","type":"string","uniqueKey":"sentences.text","typeLabel":"string"},"score":{"description":"The score field within each sentence object indicates the sentiment score assigned to that particular sentence by the AI.","type":"integer","uniqueKey":"sentences.score","typeLabel":"integer"}},"uniqueKey":"sentences","typeLabel":"object"},"input":{"description":"The type of input we scan based on the input you provided. It can be `text | file | website` .","type":"string","uniqueKey":"input","typeLabel":"string"},"attack_detected":{"type":"object","description":"An object with two boolean properties indicating if the text contains zero-width spaces or homoglyph attacks.","properties":{"zero_width_space":{"type":"boolean","description":"Indicates if the text contains zero-width spaces.","uniqueKey":"attack_detected.zero_width_space","typeLabel":"boolean"},"homoglyph_attack":{"type":"boolean","description":"Indicates if the text contains homoglyph attacks.","uniqueKey":"attack_detected.homoglyph_attack","typeLabel":"boolean"}},"uniqueKey":"attack_detected","typeLabel":"object"},"readability_score":{"description":"A readability score between 0 and 100 that indicates how easy it is to read and understand the text based on the provided language. A higher score means the text is more readable and easier to understand.","type":"integer","uniqueKey":"readability_score","typeLabel":"integer"},"credits_used":{"description":"The credits_used field represents the number of credits consumed for processing your request. Each word that is processed by the API consumes one credit.","type":"integer","uniqueKey":"credits_used","typeLabel":"integer"},"credits_remaining":{"description":"The credits_remaining field shows how many credits you have left in your account after your request has been processed.","type":"integer","uniqueKey":"credits_remaining","typeLabel":"integer"},"version":{"description":"The model version used to generate the prediction based on the input you provided.","type":"string","uniqueKey":"version","typeLabel":"string"},"language":{"description":"The language of the text detected. It can be `en | fr | es | pt | nl | de | pl | it | ro | id | tl | ru | bg | zh`.","type":"string","uniqueKey":"language","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"score":123,"sentences":{"text":"\u003cstring>","score":123},"input":"\u003cstring>","attack_detected":{"zero_width_space":true,"homoglyph_attack":true},"readability_score":123,"credits_used":123,"credits_remaining":123,"version":"\u003cstring>","language":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f9325777-07c3-4c12-af93-b4a62377cb94":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"BAD_REQUEST","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"The request was invalid and could not be processed. Make sure you pass valid arguments.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"BAD_REQUEST","description":"The request was invalid and could not be processed. Make sure you pass valid arguments."}}},"exampleType":"generated"}},"exampleType":"generated"},"28c18636-1b6a-401a-919e-ef017ee912f7":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"UNAUTHORIZED","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"Pass a valid API key in the Authorization header as a Bearer token.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UNAUTHORIZED","description":"Pass a valid API key in the Authorization header as a Bearer token."}}},"exampleType":"generated"}},"exampleType":"generated"},"1e1db3eb-d335-4329-a2e5-46aad0906281":{"description":"Payment Required (insufficient credits)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"PAYMENT_REQUIRED","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"Insufficient credits. Make sure you have enough credits to make the request.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"PAYMENT_REQUIRED","description":"Insufficient credits. Make sure you have enough credits to make the request."}}},"exampleType":"generated"}},"exampleType":"generated"},"acd5ac5d-ff36-427d-9728-48096402a75e":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"FORBIDDEN","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"The request was forbidden. Make sure you pass a valid URL or document that we can access.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"FORBIDDEN","description":"The request was forbidden. Make sure you pass a valid URL or document that we can access."}}},"exampleType":"generated"}},"exampleType":"generated"},"fa8a5636-0452-4a7d-bd6c-b7a67813b8dc":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"UNSUPPORTED_MEDIA_TYPE","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"The request content type is not supported. Make sure you pass a valid content type.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UNSUPPORTED_MEDIA_TYPE","description":"The request content type is not supported. Make sure you pass a valid content type."}}},"exampleType":"generated"}},"exampleType":"generated"},"3ac8c901-c9b9-4a83-a952-bc3c682dcb6f":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"TOO_MANY_REQUESTS","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"You have exceeded the rate limit. Please try again later.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"TOO_MANY_REQUESTS","description":"You have exceeded the rate limit. Please try again later."}}},"exampleType":"generated"}},"exampleType":"generated"},"5ee80345-bb5f-4007-9e7c-7cfd864aeb56":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"INTERNAL_SERVER_ERROR","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"An unexpected error occurred. Please try again later.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"INTERNAL_SERVER_ERROR","description":"An unexpected error occurred. Please try again later."}}},"exampleType":"generated"}},"exampleType":"generated"},"206e05c0-deb7-4653-8b01-4886c2acd27a":{"description":"Service Unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","default":"SERVICE_UNAVAILABLE","uniqueKey":"error","typeLabel":"string"},"description":{"type":"string","default":"The service is currently unavailable. Please try again later.","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"SERVICE_UNAVAILABLE","description":"The service is currently unavailable. Please try again later."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"dbbb1adb-47b0-46ad-9b44-7828872322a8":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"819ff1a1-d814-4c42-a4bd-f3e54a790d28":{"url":"https://api.gowinston.ai/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"winstonai","siteName":"Winston AI API","title":"AI text detection - Winston AI API","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/ai-content-detection/post","matchLevel":0},"v1":{"href":"/api-reference/v1/ai-content-detection/post","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2025-09-11T16:41:38.124Z","originalFileLocation":"api-reference/v2/ai-content-detection/post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Winston AI API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AI text detection - Winston AI API\">\u003cmeta data-mint-head property=\"og:description\" content=\"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Winston AI API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://winstonai.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=AI+text+detection\u0026amp;description=The+Human+Score+is+a+metric+used+by+Winston+AI+to+estimate+the+likelihood+that+a+given+piece+of+content+was+generated+by+an+AI+tool+versus+being+written+by+a+hu\u0026amp;theme=470bb873f31386b4230546a2\u0026amp;signature=13aa470cec0e69d5c09ac01bbfe15142f6611c2f1453a503d95663aaae749e93\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"AI text detection - Winston AI API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://winstonai.mintlify.app/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=AI+text+detection\u0026amp;description=The+Human+Score+is+a+metric+used+by+Winston+AI+to+estimate+the+likelihood+that+a+given+piece+of+content+was+generated+by+an+AI+tool+versus+being+written+by+a+hu\u0026amp;theme=470bb873f31386b4230546a2\u0026amp;signature=13aa470cec0e69d5c09ac01bbfe15142f6611c2f1453a503d95663aaae749e93\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/winstonai/SWVHLlfbcEaU7v10/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Winston AI API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3452fe\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/ai-content-detection/post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gowinston.ai/#organization\",\"name\":\"Winston AI API\",\"url\":\"https://docs.gowinston.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/winstonai/beTS5nQ014LXzWZn/logo/light.svg?fit=max\u0026auto=format\u0026n=beTS5nQ014LXzWZn\u0026q=85\u0026s=32844a476883f80c86688ed0f21fe842\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gowinston.ai#website\",\"name\":\"Winston AI API\",\"url\":\"https://docs.gowinston.ai\",\"publisher\":{\"@id\":\"https://docs.gowinston.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post#webpage\",\"url\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post\",\"name\":\"AI text detection\",\"description\":\"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\",\"dateModified\":\"2025-09-11T16:41:38.124Z\",\"isPartOf\":{\"@id\":\"https://docs.gowinston.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Winston AI API\",\"item\":\"https://docs.gowinston.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI text detection\",\"item\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post#apireference\",\"headline\":\"AI text detection\",\"name\":\"AI text detection\",\"description\":\"The Human Score is a metric used by Winston AI to estimate the likelihood that a given piece of content was generated by an AI tool versus being written by a human.\",\"url\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gowinston.ai/api-reference/v2/ai-content-detection/post#webpage\"},\"dateModified\":\"2025-09-11T16:41:38.124Z\",\"publisher\":{\"@id\":\"https://docs.gowinston.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gowinston.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Winston AI API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Winston AI API","nav":{"global":{"anchors":[{"anchor":"Developer dashboard","href":"https://dev.gowinston.ai","icon":"chart-simple"},{"anchor":"Main dashboard","href":"https://app.gowinston.ai","icon":"rocket"},{"anchor":"Blog","href":"https://gowinston.ai/blog","icon":"newspaper"}]},"versions":[{"version":"v2","tabs":[{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Node SDK","href":"/api-reference/node-sdk"},{"title":"MCP Server","href":"/api-reference/mcp-server"},{"title":"Changelog","description":"All notable changes to the Winston AI API will be documented in this file.","href":"/api-reference/changelog"}]},{"group":"Endpoints","pages":[{"title":"AI text detection","openapi":"POST /v2/ai-content-detection","version":"v2","href":"/api-reference/v2/ai-content-detection/post"},{"title":"AI image Detection","openapi":"POST /v2/image-detection","version":"v2","description":"Our image detection feature enables AI-generated image detection by verifying image metadata and using a machine learning system trained to differentiate between human and AI-generated images.","href":"/api-reference/v2/image-detection/post"},{"title":"Advanced AI image Detection","openapi":"POST /v2/advanced-image-detection","version":"v2","href":"/api-reference/v2/advanced-image-detection/post"},{"title":"Plagiarism","openapi":"POST /v2/plagiarism","version":"v2","href":"/api-reference/v2/plagiarism/post"},{"title":"Fact checker","openapi":"POST /v2/fact-checker","version":"v2","href":"/api-reference/v2/fact-checker/post"},{"title":"Text Compare","openapi":"POST /v2/text-compare","version":"v2","href":"/api-reference/v2/text-compare/post"}]}]}]},{"version":"v1","pages":[{"title":"v1","href":"/api-reference/v1/ai-content-detection/post"}]}]},"basePath":"","title":"AI text detection - Winston AI API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}