Exposed API Keys scans text you already collected for API keys, tokens, and other credentials.POST /api/lookup/breaches/exposed-keysRequires an Encrata API key in the Authorization header.
Request
string
required
The text to scan. Send a crawled page, paste, message, or dump. The maximum
size is 256 KB per request.
integer
default:"0"
Detection profile: 0 uses the standard engine, 1 uses the alternate
engine, and 2 runs both and merges duplicate findings.
string
A label for the source, such as crawler, paste, or telegram. It
appears in activity history and does not affect detection.
object
Optional detection and validation settings.
Show config
string[]
Run only the specified detection rule IDs. Omit this field to run every
available rule.
string
Return findings at or above critical, high, medium, or low.
string[]
Suppress findings you have already reviewed.
boolean
Include findings flagged as likely false positives.
integer
Limit the number of findings returned.
boolean
Check whether supported credentials still work. Omit this field to use the
deployment default. Set it to false for detection only.
This endpoint scans only the supplied content. It does not fetch a URL.
Use GitHub Leaks to scan a public
repository and its history.
The internal target ID used to store and authorize the result.
string
Always keys for this endpoint.
string
A SHA-256 identifier for the submitted content. The raw content is not
stored in this field.
integer
The detection profile that ran: 0, 1, or 2.
string
The SHA-256 digest of the submitted content.
integer
Always 0. Text scans have no repository history.
object
The effective configuration used for the scan.
object
Counts and timing for the scan.
Show summary
integer
Number of findings returned.
object
Finding counts grouped by severity.
object
Finding counts grouped under encrata intelligence.
string[]
Detection sources that ran.
integer
Number of requested rules. 0 means every available rule.
boolean
Omitted for this endpoint because text has no repository history.
integer
Scan duration in milliseconds.
integer
Findings removed by rules, severity filters, or baseline fingerprints.
integer
Findings that received a validation verdict.
integer
Validated credentials that still work.
boolean
Whether max_findings truncated the result.
object[]
Detected credentials. Raw credentials are never returned.
Show finding
string
Stable hash-derived ID for deduplication and baselines.
string
Detection rule that matched.
string
Human-readable finding type.
string
critical, high, medium, low, or unknown.
string
engine or unreported.
string[]
Detection sources that reported the location.
string
Source file name when the submitted text includes file context.
integer
1-based first line of the match.
integer
1-based last line of the match.
integer
1-based starting column.
string
Masked preview of the credential.
number
Shannon entropy of the match.
string
Commit SHA when source context contains one.
string
Commit author when source context contains one.
string
Commit author email when source context contains one.
string
Commit timestamp when source context contains one.
boolean
Whether the finding is flagged as a likely false positive.
object
Live-credential check. Present only when validation ran, and only on
the response from the scan that ran it. A reused scan
(reused: true) and GET /api/lookup/breaches/exposed-keys/{id}
return findings without validation.
Show validation
string
valid, invalid, or undetermined.
number
Confidence in the validation result.
string
ISO 8601 timestamp for the validation check.
boolean
Whether an existing scan of identical content and configuration answered
the request.
boolean
Whether the request deducted credits.
integer
Credits deducted. The cost is one credit per finding.
string
Omitted from the POST response. GET /api/lookup/breaches/exposed-keys/{id}
returns it.
Read a stored scan
Read a previous result without rescanning or charging again:
The optional min_severity query filters stored findings. It does not run the
scanner again.
Stored scans don’t keep validation. Findings from this endpoint, and from a
reused POST scan, have no validation object. Keep the first POST
response if you need the live-credential verdict.
Errors
Status
Cause
400
The JSON body cannot be read.
401
The API key is missing or invalid.
402
The account has no available credits.
413
content exceeds 256 KB.
422
content is empty, type is outside 0-2, or a repository-only option was sent.
502
The scanner could not complete the request.
503
Secret scanning or the selected detection profile is unavailable.
504
The scan exceeded its time limit.
Credits
You pay 1 credit per exposed credential found. A clean scan is free.
Submitting identical content with the same configuration reuses the stored scan,
so your account is not charged twice. See Credits.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Encrata","description":"Turn any email address into structured person and company intelligence - validity, identity, and breach exposure. Built for AI agents and developers.","colors":{"primary":"#DA7756","light":"#DA7756","dark":"#DA7756"},"logo":{"light":"https://mintcdn.com/encrata/MIGYfhts8_CZTVNw/logo/light.svg?fit=max\u0026auto=format\u0026n=MIGYfhts8_CZTVNw\u0026q=85\u0026s=78c13b7e6fada3e98b35abf8413364ef","dark":"https://mintcdn.com/encrata/Ov5bkKx_wmw3x5s5/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ov5bkKx_wmw3x5s5\u0026q=85\u0026s=3fb90fd04c751e77f827720c01e1262b"},"favicon":"https://mintcdn.com/encrata/EN96i1Av07M0QsrB/images/Encrata.png?fit=max\u0026auto=format\u0026n=EN96i1Av07M0QsrB\u0026q=85\u0026s=6f03d9ec8807625331a9e283e07759b3","api":{"examples":{"autogenerate":false},"mdx":{"auth":{"method":"key","name":"Authorization"},"server":"https://developer.encrata.com"}},"appearance":{"default":"system"},"background":{"color":{"light":"#FAF9F7","dark":"#1f1f1d"}},"navbar":{"links":[{"href":"https://status.encrata.com","label":"Status"},{"href":"https://encrata.com/contact","label":"Contact"}],"primary":{"type":"button","label":"Get API key","href":"https://app.encrata.com/signup"}},"fonts":{"family":"Inter","weight":400},"icons":{"library":"fontawesome"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"vesper"}},"latex":false},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"markdown":{"instructions":["## Submitting feedback","If you find an error, a missing step, or information that is outdated or misleading on this page — especially if it stopped you from completing your task — report it so the Encrata docs team can fix it.","Send a POST request to https://docs.encrata.com/feedback with a JSON body containing `path` (the full URL of the page, for example `https://docs.encrata.com/quickstart`) and `feedback` (what was wrong and what you expected):","curl -X POST https://docs.encrata.com/feedback -H 'Content-Type: application/json' -d '{\"path\": \"https://docs.encrata.com/quickstart\", \"feedback\": \"Step 3 uses a parameter that the API rejects.\"}'","Do not include API keys, personal data, or other secrets in your feedback."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"encrata","hasAudioNarration":false,"actualSubdomain":"encrata","customDomains":["docs.encrata.com"],"gitSource":{"type":"github","owner":"encratahq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afff3509b0f276295227575","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":37},{"language":"default","tag":"Guides","count":14},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Malware","count":9},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"API Keys","count":7},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Email","count":5},{"language":"default","tag":"auth.md","count":5},{"language":"default","tag":"Account","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".sidebar-title,.sidebar-title *{font-weight:700!important}html.light [class*=\"step-indicator\"][class*=\"rounded-full\"]{background-color:#f0e7e1!important;box-shadow:inset 0 0 0 1px rgba(0, 0, 0, 0.08)!important}"}]}
{"page":{"pagePath":"api-reference/endpoint/exposed-api-keys","slug":"/api-reference/endpoint/exposed-api-keys","pageMetadata":{"title":"Exposed API Keys","api":"POST /api/lookup/breaches/exposed-keys","description":"Scan collected text for exposed credentials and check whether supported credentials are still live.","href":"/api-reference/endpoint/exposed-api-keys"},"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: \"Scan collected text for exposed credentials and check whether supported credentials are still live.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Exposed API Keys scans text you already collected for API keys, tokens, and other credentials.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /api/lookup/breaches/exposed-keys`})}),`\n`,_jsxs(_components.p,{children:[`Requires an `,_jsx(_components.a,{href:`/authentication`,children:`Encrata API key`}),` in the `,_jsx(_components.code,{children:`Authorization`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,required:true,id:`param-content`,children:_jsx(_components.p,{children:`The text to scan. Send a crawled page, paste, message, or dump. The maximum\nsize is 256 KB per request.`})}),`\n`,_jsx(ParamField,{body:`type`,type:`integer`,default:`0`,id:`param-type`,children:_jsxs(_components.p,{children:[`Detection profile: `,_jsx(_components.code,{children:`0`}),` uses the standard engine, `,_jsx(_components.code,{children:`1`}),` uses the alternate\nengine, and `,_jsx(_components.code,{children:`2`}),` runs both and merges duplicate findings.`]})}),`\n`,_jsx(ParamField,{body:`source`,type:`string`,id:`param-source`,children:_jsxs(_components.p,{children:[`A label for the source, such as `,_jsx(_components.code,{children:`crawler`}),`, `,_jsx(_components.code,{children:`paste`}),`, or `,_jsx(_components.code,{children:`telegram`}),`. It\nappears in activity history and does not affect detection.`]})}),`\n`,_jsxs(ParamField,{body:`config`,type:`object`,id:`param-config`,children:[_jsx(_components.p,{children:`Optional detection and validation settings.`}),_jsxs(Expandable,{title:`config`,children:[_jsx(ParamField,{body:`rules`,type:`string[]`,id:`param-rules`,children:_jsx(_components.p,{children:`Run only the specified detection rule IDs. Omit this field to run every\navailable rule.`})}),_jsx(ParamField,{body:`min_severity`,type:`string`,id:`param-min-severity`,children:_jsxs(_components.p,{children:[`Return findings at or above `,_jsx(_components.code,{children:`critical`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`low`}),`.`]})}),_jsx(ParamField,{body:`baseline_fingerprints`,type:`string[]`,id:`param-baseline-fingerprints`,children:_jsx(_components.p,{children:`Suppress findings you have already reviewed.`})}),_jsx(ParamField,{body:`include_likely_false_positives`,type:`boolean`,id:`param-include-likely-false-positives`,children:_jsx(_components.p,{children:`Include findings flagged as likely false positives.`})}),_jsx(ParamField,{body:`max_findings`,type:`integer`,id:`param-max-findings`,children:_jsx(_components.p,{children:`Limit the number of findings returned.`})}),_jsx(ParamField,{body:`validate`,type:`boolean`,id:`param-validate`,children:_jsxs(_components.p,{children:[`Check whether supported credentials still work. Omit this field to use the\ndeployment default. Set it to `,_jsx(_components.code,{children:`false`}),` for detection only.`]})})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This endpoint scans only the supplied `,_jsx(_components.code,{children:`content`}),`. It does not fetch a URL.\nUse `,_jsx(_components.a,{href:`/api-reference/endpoint/github-leaks`,children:`GitHub Leaks`}),` to scan a public\nrepository and its history.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -X`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` POST`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"content\": \"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"source\": \"crawler\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"validate\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"min_severity\": \"medium\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` headers`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` json`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"crawler\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"validate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`True`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"min_severity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The endpoint always runs synchronously. A `,_jsx(_components.code,{children:`200 OK`}),` response uses the\n`,_jsx(_components.code,{children:`{success, result, message}`}),` envelope.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`53`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`53`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"scan_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"8f4ae53c-8b72-4d63-93ef-5bb369a8e351\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"repository_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"3edce238-986c-4897-b088-826791967f52\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"keys\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"target\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sha256:8a2ff5c3...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"commit_sha\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"8a2ff5c3...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"depth\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"min_severity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"validate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"by_severity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"by_engine\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`\"encrata intelligence\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"engines_run\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"encrata intelligence\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"rules_requested\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"duration_ms\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`84`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"suppressed\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"validated\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"live\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"truncated\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"findings\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"fingerprint\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"b9d1...e2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"rule_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"aws-access-key-id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"AWS access key ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"severity_source\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"engine\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"engines\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"encrata intelligence\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"start_line\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"end_line\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"column\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`19`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"preview\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"AKIA****************\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"entropy\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3.8`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"likely_false_positive\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"validation\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"invalid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"checked_at\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"2026-10-07T09:30:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"reused\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"charged\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"credits\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Scan complete. 1 exposed credential found.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the scan completed.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`A human-readable summary of the result.`})}),`\n`,_jsxs(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:[_jsx(_components.p,{children:`The scan result.`}),_jsxs(Expandable,{title:`result`,children:[_jsx(ResponseField,{name:`scan_id`,type:`string`,id:`param-scan-id`,children:_jsx(_components.p,{children:`The stored scan ID.`})}),_jsx(ResponseField,{name:`repository_id`,type:`string`,id:`param-repository-id`,children:_jsx(_components.p,{children:`The internal target ID used to store and authorize the result.`})}),_jsx(ResponseField,{name:`kind`,type:`string`,id:`param-kind`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`keys`}),` for this endpoint.`]})}),_jsx(ResponseField,{name:`target`,type:`string`,id:`param-target`,children:_jsx(_components.p,{children:`A SHA-256 identifier for the submitted content. The raw content is not\nstored in this field.`})}),_jsx(ResponseField,{name:`type`,type:`integer`,id:`param-type-1`,children:_jsxs(_components.p,{children:[`The detection profile that ran: `,_jsx(_components.code,{children:`0`}),`, `,_jsx(_components.code,{children:`1`}),`, or `,_jsx(_components.code,{children:`2`}),`.`]})}),_jsx(ResponseField,{name:`commit_sha`,type:`string`,id:`param-commit-sha`,children:_jsx(_components.p,{children:`The SHA-256 digest of the submitted content.`})}),_jsx(ResponseField,{name:`depth`,type:`integer`,id:`param-depth`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`0`}),`. Text scans have no repository history.`]})}),_jsx(ResponseField,{name:`config`,type:`object`,id:`param-config-1`,children:_jsx(_components.p,{children:`The effective configuration used for the scan.`})}),_jsxs(ResponseField,{name:`summary`,type:`object`,id:`param-summary`,children:[_jsx(_components.p,{children:`Counts and timing for the scan.`}),_jsxs(Expandable,{title:`summary`,children:[_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsx(_components.p,{children:`Number of findings returned.`})}),_jsx(ResponseField,{name:`by_severity`,type:`object`,id:`param-by-severity`,children:_jsx(_components.p,{children:`Finding counts grouped by severity.`})}),_jsx(ResponseField,{name:`by_engine`,type:`object`,id:`param-by-engine`,children:_jsxs(_components.p,{children:[`Finding counts grouped under `,_jsx(_components.code,{children:`encrata intelligence`}),`.`]})}),_jsx(ResponseField,{name:`engines_run`,type:`string[]`,id:`param-engines-run`,children:_jsx(_components.p,{children:`Detection sources that ran.`})}),_jsx(ResponseField,{name:`rules_requested`,type:`integer`,id:`param-rules-requested`,children:_jsxs(_components.p,{children:[`Number of requested rules. `,_jsx(_components.code,{children:`0`}),` means every available rule.`]})}),_jsx(ResponseField,{name:`deep_scan`,type:`boolean`,id:`param-deep-scan`,children:_jsx(_components.p,{children:`Omitted for this endpoint because text has no repository history.`})}),_jsx(ResponseField,{name:`duration_ms`,type:`integer`,id:`param-duration-ms`,children:_jsx(_components.p,{children:`Scan duration in milliseconds.`})}),_jsx(ResponseField,{name:`suppressed`,type:`integer`,id:`param-suppressed`,children:_jsx(_components.p,{children:`Findings removed by rules, severity filters, or baseline fingerprints.`})}),_jsx(ResponseField,{name:`validated`,type:`integer`,id:`param-validated`,children:_jsx(_components.p,{children:`Findings that received a validation verdict.`})}),_jsx(ResponseField,{name:`live`,type:`integer`,id:`param-live`,children:_jsx(_components.p,{children:`Validated credentials that still work.`})}),_jsx(ResponseField,{name:`truncated`,type:`boolean`,id:`param-truncated`,children:_jsxs(_components.p,{children:[`Whether `,_jsx(_components.code,{children:`max_findings`}),` truncated the result.`]})})]})]}),_jsxs(ResponseField,{name:`findings`,type:`object[]`,id:`param-findings`,children:[_jsx(_components.p,{children:`Detected credentials. Raw credentials are never returned.`}),_jsxs(Expandable,{title:`finding`,children:[_jsx(ResponseField,{name:`fingerprint`,type:`string`,id:`param-fingerprint`,children:_jsx(_components.p,{children:`Stable hash-derived ID for deduplication and baselines.`})}),_jsx(ResponseField,{name:`rule_id`,type:`string`,id:`param-rule-id`,children:_jsx(_components.p,{children:`Detection rule that matched.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Human-readable finding type.`})}),_jsx(ResponseField,{name:`severity`,type:`string`,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`critical`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`low`}),`, or `,_jsx(_components.code,{children:`unknown`}),`.`]})}),_jsx(ResponseField,{name:`severity_source`,type:`string`,id:`param-severity-source`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`engine`}),` or `,_jsx(_components.code,{children:`unreported`}),`.`]})}),_jsx(ResponseField,{name:`engines`,type:`string[]`,id:`param-engines`,children:_jsx(_components.p,{children:`Detection sources that reported the location.`})}),_jsx(ResponseField,{name:`file`,type:`string`,id:`param-file`,children:_jsx(_components.p,{children:`Source file name when the submitted text includes file context.`})}),_jsx(ResponseField,{name:`start_line`,type:`integer`,id:`param-start-line`,children:_jsx(_components.p,{children:`1-based first line of the match.`})}),_jsx(ResponseField,{name:`end_line`,type:`integer`,id:`param-end-line`,children:_jsx(_components.p,{children:`1-based last line of the match.`})}),_jsx(ResponseField,{name:`column`,type:`integer`,id:`param-column`,children:_jsx(_components.p,{children:`1-based starting column.`})}),_jsx(ResponseField,{name:`preview`,type:`string`,id:`param-preview`,children:_jsx(_components.p,{children:`Masked preview of the credential.`})}),_jsx(ResponseField,{name:`entropy`,type:`number`,id:`param-entropy`,children:_jsx(_components.p,{children:`Shannon entropy of the match.`})}),_jsx(ResponseField,{name:`commit`,type:`string`,id:`param-commit`,children:_jsx(_components.p,{children:`Commit SHA when source context contains one.`})}),_jsx(ResponseField,{name:`author`,type:`string`,id:`param-author`,children:_jsx(_components.p,{children:`Commit author when source context contains one.`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`Commit author email when source context contains one.`})}),_jsx(ResponseField,{name:`date`,type:`string`,id:`param-date`,children:_jsx(_components.p,{children:`Commit timestamp when source context contains one.`})}),_jsx(ResponseField,{name:`likely_false_positive`,type:`boolean`,id:`param-likely-false-positive`,children:_jsx(_components.p,{children:`Whether the finding is flagged as a likely false positive.`})}),_jsxs(ResponseField,{name:`validation`,type:`object`,id:`param-validation`,children:[_jsxs(_components.p,{children:[`Live-credential check. Present only when validation ran, and only on\nthe response from the scan that ran it. A reused scan\n(`,_jsx(_components.code,{children:`reused: true`}),`) and `,_jsx(_components.code,{children:`GET /api/lookup/breaches/exposed-keys/{id}`}),`\nreturn findings without `,_jsx(_components.code,{children:`validation`}),`.`]}),_jsxs(Expandable,{title:`validation`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`valid`}),`, `,_jsx(_components.code,{children:`invalid`}),`, or `,_jsx(_components.code,{children:`undetermined`}),`.`]})}),_jsx(ResponseField,{name:`confidence`,type:`number`,id:`param-confidence`,children:_jsx(_components.p,{children:`Confidence in the validation result.`})}),_jsx(ResponseField,{name:`checked_at`,type:`string`,id:`param-checked-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp for the validation check.`})})]})]})]})]}),_jsx(ResponseField,{name:`reused`,type:`boolean`,id:`param-reused`,children:_jsx(_components.p,{children:`Whether an existing scan of identical content and configuration answered\nthe request.`})}),_jsx(ResponseField,{name:`charged`,type:`boolean`,id:`param-charged`,children:_jsx(_components.p,{children:`Whether the request deducted credits.`})}),_jsx(ResponseField,{name:`credits`,type:`integer`,id:`param-credits`,children:_jsx(_components.p,{children:`Credits deducted. The cost is one credit per finding.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Omitted from the `,_jsx(_components.code,{children:`POST`}),` response. `,_jsx(_components.code,{children:`GET /api/lookup/breaches/exposed-keys/{id}`}),`\nreturns it.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`read-a-stored-scan`,children:`Read a stored scan`}),`\n`,_jsx(_components.p,{children:`Read a previous result without rescanning or charging again:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://developer.encrata.com/api/lookup/breaches/exposed-keys/{scan_id}?min_severity=high\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The optional `,_jsx(_components.code,{children:`min_severity`}),` query filters stored findings. It does not run the\nscanner again.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Stored scans don’t keep `,_jsx(_components.code,{children:`validation`}),`. Findings from this endpoint, and from a\nreused `,_jsx(_components.code,{children:`POST`}),` scan, have no `,_jsx(_components.code,{children:`validation`}),` object. Keep the first `,_jsx(_components.code,{children:`POST`}),`\nresponse if you need the live-credential verdict.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The JSON body cannot be read.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing or invalid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:`The account has no available credits.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`content`}),` exceeds 256 KB.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`content`}),` is empty, `,_jsx(_components.code,{children:`type`}),` is outside `,_jsx(_components.code,{children:`0-2`}),`, or a repository-only option was sent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:`The scanner could not complete the request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Secret scanning or the selected detection profile is unavailable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`504`})}),_jsx(_components.td,{children:`The scan exceeded its time limit.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`credits`,children:`Credits`}),`\n`,_jsxs(_components.p,{children:[`You pay `,_jsx(_components.strong,{children:`1 credit per exposed credential found`}),`. A clean scan is free.\nSubmitting identical content with the same configuration reuses the stored scan,\nso your account is not charged twice. See `,_jsx(_components.a,{href:`/credits`,children:`Credits`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"Exposed API Keys","api":"POST /api/lookup/breaches/exposed-keys","description":"Scan collected text for exposed credentials and check whether supported credentials are still live.","href":"/api-reference/endpoint/exposed-api-keys"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[398,403,"questExample,Respons"],[751,768,"questExample)_missingMdxReference(`RequestExample`,true);if(!ResponseField)_miss"],[45454,45882,",`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -X`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` POST`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"content\": \"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"source\": \"crawler\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"validate\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"min_severity\": \"medium\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` headers`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` json`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"crawler\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"validate\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`True`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"min_severity\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(response.json())`})]}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Read a stored scan","slug":"read-a-stored-scan","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Credits","slug":"credits","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">curl\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -X\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> POST\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -d\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"content\": \"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"source\": \"crawler\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"validate\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"min_severity\": \"medium\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"https://developer.encrata.com/api/lookup/breaches/exposed-keys\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\"> headers\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\"> json\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"content\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"source\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"crawler\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"validate\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">True\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"min_severity\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"medium\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">response.raise_for_status()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">print\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(response.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Exposed API Keys","path":"/api/lookup/breaches/exposed-keys","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"content":[{"type":"string","description":"The text to scan. Send a crawled page, paste, message, or dump. The maximum size is 256 KB per request.","required":true}],"type":[{"type":"integer","description":"Detection profile: `0` uses the standard engine, `1` uses the alternate engine, and `2` runs both and merges duplicate findings."}],"source":[{"type":"string","description":"A label for the source, such as `crawler` , `paste` , or `telegram` . It appears in activity history and does not affect detection."}],"config":[{"type":"object","properties":{"rules":[{"type":"array","items":[{"type":"string"}],"description":"Run only the specified detection rule IDs. Omit this field to run every available rule."}],"min_severity":[{"type":"string","description":"Return findings at or above `critical` , `high` , `medium` , or `low` ."}],"baseline_fingerprints":[{"type":"array","items":[{"type":"string"}],"description":"Suppress findings you have already reviewed."}],"include_likely_false_positives":[{"type":"boolean","description":"Include findings flagged as likely false positives."}],"max_findings":[{"type":"integer","description":"Limit the number of findings returned."}],"validate":[{"type":"boolean","description":"Check whether supported credentials still work. Omit this field to use the deployment default. Set it to `false` for detection only."}]},"description":"Optional detection and validation settings."}]}}],"examples":{"example":{"value":{"content":"\u003cstring>","type":123,"source":"\u003cstring>","config":{"rules":["\u003cstring>"],"min_severity":"\u003cstring>","baseline_fingerprints":["\u003cstring>"],"include_likely_false_positives":true,"max_findings":123,"validate":true}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the scan completed."}],"message":[{"type":"string","description":"A human-readable summary of the result."}],"result":[{"type":"object","properties":{"scan_id":[{"type":"string","description":"The stored scan ID."}],"repository_id":[{"type":"string","description":"The internal target ID used to store and authorize the result."}],"kind":[{"type":"string","description":"Always `keys` for this endpoint."}],"target":[{"type":"string","description":"A SHA-256 identifier for the submitted content. The raw content is not stored in this field."}],"type":[{"type":"integer","description":"The detection profile that ran: `0` , `1` , or `2` ."}],"commit_sha":[{"type":"string","description":"The SHA-256 digest of the submitted content."}],"depth":[{"type":"integer","description":"Always `0` . Text scans have no repository history."}],"config":[{"type":"object","properties":{},"description":"The effective configuration used for the scan."}],"summary":[{"type":"object","properties":{"total":[{"type":"integer","description":"Number of findings returned."}],"by_severity":[{"type":"object","properties":{},"description":"Finding counts grouped by severity."}],"by_engine":[{"type":"object","properties":{},"description":"Finding counts grouped under `encrata intelligence` ."}],"engines_run":[{"type":"array","items":[{"type":"string"}],"description":"Detection sources that ran."}],"rules_requested":[{"type":"integer","description":"Number of requested rules. `0` means every available rule."}],"deep_scan":[{"type":"boolean","description":"Omitted for this endpoint because text has no repository history."}],"duration_ms":[{"type":"integer","description":"Scan duration in milliseconds."}],"suppressed":[{"type":"integer","description":"Findings removed by rules, severity filters, or baseline fingerprints."}],"validated":[{"type":"integer","description":"Findings that received a validation verdict."}],"live":[{"type":"integer","description":"Validated credentials that still work."}],"truncated":[{"type":"boolean","description":"Whether `max_findings` truncated the result."}]},"description":"Counts and timing for the scan."}],"findings":[{"type":"array","items":[{"type":"object","properties":{"fingerprint":[{"type":"string","description":"Stable hash-derived ID for deduplication and baselines."}],"rule_id":[{"type":"string","description":"Detection rule that matched."}],"description":[{"type":"string","description":"Human-readable finding type."}],"severity":[{"type":"string","description":"`critical` , `high` , `medium` , `low` , or `unknown` ."}],"severity_source":[{"type":"string","description":"`engine` or `unreported` ."}],"engines":[{"type":"array","items":[{"type":"string"}],"description":"Detection sources that reported the location."}],"file":[{"type":"string","description":"Source file name when the submitted text includes file context."}],"start_line":[{"type":"integer","description":"1-based first line of the match."}],"end_line":[{"type":"integer","description":"1-based last line of the match."}],"column":[{"type":"integer","description":"1-based starting column."}],"preview":[{"type":"string","description":"Masked preview of the credential."}],"entropy":[{"type":"number","description":"Shannon entropy of the match."}],"commit":[{"type":"string","description":"Commit SHA when source context contains one."}],"author":[{"type":"string","description":"Commit author when source context contains one."}],"email":[{"type":"string","description":"Commit author email when source context contains one."}],"date":[{"type":"string","description":"Commit timestamp when source context contains one."}],"likely_false_positive":[{"type":"boolean","description":"Whether the finding is flagged as a likely false positive."}],"validation":[{"type":"object","properties":{"status":[{"type":"string","description":"`valid` , `invalid` , or `undetermined` ."}],"confidence":[{"type":"number","description":"Confidence in the validation result."}],"checked_at":[{"type":"string","description":"ISO 8601 timestamp for the validation check."}]},"description":"Live-credential check. Present only when validation ran, and only on the response from the scan that ran it. A reused scan ( `reused: true` ) and `GET /api/lookup/breaches/exposed-keys/{id}` return findings without `validation` ."}]}}],"description":"Detected credentials. Raw credentials are never returned."}],"reused":[{"type":"boolean","description":"Whether an existing scan of identical content and configuration answered the request."}],"charged":[{"type":"boolean","description":"Whether the request deducted credits."}],"credits":[{"type":"integer","description":"Credits deducted. The cost is one credit per finding."}],"status":[{"type":"string","description":"Omitted from the `POST` response. `GET /api/lookup/breaches/exposed-keys/{id}` returns it."}]},"description":"The scan result."}]}}],"examples":{"example":{"value":{"success":true,"message":"\u003cstring>","result":{"scan_id":"\u003cstring>","repository_id":"\u003cstring>","kind":"\u003cstring>","target":"\u003cstring>","type":123,"commit_sha":"\u003cstring>","depth":123,"config":{},"summary":{"total":123,"by_severity":{},"by_engine":{},"engines_run":["\u003cstring>"],"rules_requested":123,"deep_scan":true,"duration_ms":123,"suppressed":123,"validated":123,"live":123,"truncated":true},"findings":[{"fingerprint":"\u003cstring>","rule_id":"\u003cstring>","description":"\u003cstring>","severity":"\u003cstring>","severity_source":"\u003cstring>","engines":["\u003cstring>"],"file":"\u003cstring>","start_line":123,"end_line":123,"column":123,"preview":"\u003cstring>","entropy":123,"commit":"\u003cstring>","author":"\u003cstring>","email":"\u003cstring>","date":"\u003cstring>","likely_false_positive":true,"validation":{"status":"\u003cstring>","confidence":123,"checked_at":"\u003cstring>"}}],"reused":true,"charged":true,"credits":123,"status":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"encrata","siteName":"Encrata","title":"Exposed API Keys - Encrata","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T07:14:32.004Z","originalFileLocation":"api-reference/endpoint/exposed-api-keys.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=\"Scan collected text for exposed credentials and check whether supported credentials are still live.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Encrata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_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/encrata/eoAHG9XPuf6Amhi3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Exposed API Keys - Encrata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Scan collected text for exposed credentials and check whether supported credentials are still live.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Encrata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://encrata.mintlify.site/_mintlify/api/og/v2?division=Breaches\u0026amp;title=Exposed+API+Keys\u0026amp;description=Scan+collected+text+for+exposed+credentials+and+check+whether+supported+credentials+are+still+live.\u0026amp;theme=f1dd8a68c493427f5d548a11\u0026amp;signature=a0da1576f6b66274d02aa89656665960e338c9adc34507ae8ffef9644c648d72\">\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=\"Exposed API Keys - Encrata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Scan collected text for exposed credentials and check whether supported credentials are still live.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://encrata.mintlify.site/_mintlify/api/og/v2?division=Breaches\u0026amp;title=Exposed+API+Keys\u0026amp;description=Scan+collected+text+for+exposed+credentials+and+check+whether+supported+credentials+are+still+live.\u0026amp;theme=f1dd8a68c493427f5d548a11\u0026amp;signature=a0da1576f6b66274d02aa89656665960e338c9adc34507ae8ffef9644c648d72\">\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/encrata/eoAHG9XPuf6Amhi3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Encrata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#DA7756\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/exposed-api-keys.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.encrata.com/#organization\",\"name\":\"Encrata\",\"url\":\"https://docs.encrata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/encrata/MIGYfhts8_CZTVNw/logo/light.svg?fit=max\u0026auto=format\u0026n=MIGYfhts8_CZTVNw\u0026q=85\u0026s=78c13b7e6fada3e98b35abf8413364ef\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.encrata.com#website\",\"name\":\"Encrata\",\"url\":\"https://docs.encrata.com\",\"publisher\":{\"@id\":\"https://docs.encrata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys#webpage\",\"url\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys\",\"name\":\"Exposed API Keys\",\"description\":\"Scan collected text for exposed credentials and check whether supported credentials are still live.\",\"dateModified\":\"2026-11-20T07:14:32.004Z\",\"isPartOf\":{\"@id\":\"https://docs.encrata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Breaches\",\"item\":\"https://docs.encrata.com/api-reference/endpoint/password-breaches\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exposed API Keys\",\"item\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys#apireference\",\"headline\":\"Exposed API Keys\",\"name\":\"Exposed API Keys\",\"description\":\"Scan collected text for exposed credentials and check whether supported credentials are still live.\",\"url\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys\",\"mainEntityOfPage\":{\"@id\":\"https://docs.encrata.com/api-reference/endpoint/exposed-api-keys#webpage\"},\"dateModified\":\"2026-11-20T07:14:32.004Z\",\"publisher\":{\"@id\":\"https://docs.encrata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.encrata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Encrata\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Encrata\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/exposed-api-keys.md","siteName":"Encrata","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/guides/workspaces"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API Overview","href":"/api-reference/overview"},{"title":"Response Fields","href":"/api-reference/fields"}]},{"group":"Email","icon":"envelope","pages":[{"title":"Email Validity","api":"POST /api/lookup/email/validity","href":"/api-reference/endpoint/validate-email"},{"title":"Email Identity","api":"POST /api/lookup/email/identity","href":"/api-reference/endpoint/email-identity"},{"title":"Email Gender","api":"POST /api/lookup/email/gender","href":"/api-reference/endpoint/email-gender"},{"title":"Email Breaches","api":"POST /api/lookup/email/breaches","href":"/api-reference/endpoint/check-breaches"},{"title":"Email Compliance","api":"POST /api/lookup/email/compliance","href":"/api-reference/endpoint/email-compliance"}]},{"group":"Breaches","icon":"shield-halved","pages":[{"title":"Password Breaches","api":"POST /api/lookup/email/password/breaches","href":"/api-reference/endpoint/password-breaches"},{"title":"GitHub Leaks","api":"POST /api/lookup/breaches/github","description":"Scan a public GitHub repository for leaked secrets. 1 credit per leak found - a clean scan is free.","href":"/api-reference/endpoint/github-leaks"},{"title":"Exposed API Keys","api":"POST /api/lookup/breaches/exposed-keys","href":"/api-reference/endpoint/exposed-api-keys"}]},{"group":"Malware","icon":"bug","pages":[{"title":"Malware Scan","sidebarTitle":"Overview","api":"POST /api/lookup/malware/scan","description":"Scan a URL, QR code, barcode, image, or file for malicious and suspicious content.","href":"/api-reference/endpoint/malware-scan"},{"title":"URL Scan","sidebarTitle":"URL Scan","api":"POST /api/lookup/malware/scan","href":"/api-reference/endpoint/url-scan"},{"title":"QR Code Scan","sidebarTitle":"QR Code Scan","api":"POST /api/lookup/malware/scan","href":"/api-reference/endpoint/qr-code-scan"},{"title":"Barcode Scan","sidebarTitle":"Barcode Scan","api":"POST /api/lookup/malware/scan","href":"/api-reference/endpoint/barcode-scan"},{"title":"Image Scan","sidebarTitle":"Image Scan","api":"POST /api/lookup/malware/scan","href":"/api-reference/endpoint/image-scan"},{"title":"File Scan","sidebarTitle":"File Scan","api":"POST /api/lookup/malware/scan","href":"/api-reference/endpoint/file-scan"},{"title":"Get Malware Scan","sidebarTitle":"Get Scan","api":"GET /api/lookup/malware/scans/{scan_id}","href":"/api-reference/endpoint/get-malware-scan"},{"title":"List Malware Scans","sidebarTitle":"List Scans","api":"GET /api/lookup/malware/scans","href":"/api-reference/endpoint/list-malware-scans"},{"title":"Export Malware Scans","sidebarTitle":"Export Scans","api":"GET /api/lookup/malware/scans/export","href":"/api-reference/endpoint/export-malware-scans"}]},{"group":"API Keys","icon":"key","pages":[{"title":"List API Keys","api":"GET /api/account/keys","href":"/api-reference/endpoint/list-keys"},{"title":"Create API Key","api":"POST /api/account/keys","href":"/api-reference/endpoint/create-key"},{"title":"Reveal API Key","api":"GET /api/account/keys/reveal","href":"/api-reference/endpoint/reveal-key"},{"title":"Rename API Key","api":"PUT /api/account/keys","href":"/api-reference/endpoint/rename-key"},{"title":"Enable or Disable API Key","api":"PATCH /api/account/keys","href":"/api-reference/endpoint/toggle-key"},{"title":"Set API Key Credit Limit","api":"POST /api/account/keys/limit","href":"/api-reference/endpoint/set-key-limit"},{"title":"Revoke or Delete API Key","api":"DELETE /api/account/keys","href":"/api-reference/endpoint/revoke-key"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List webhooks","api":"GET /api/webhooks","href":"/api-reference/endpoint/webhook"},{"title":"Get webhook","api":"GET /api/webhooks/{id}","href":"/api-reference/endpoint/get-webhook"},{"title":"Create webhook","api":"POST /api/webhooks","href":"/api-reference/endpoint/create-webhook"},{"title":"Update webhook","api":"PUT /api/webhooks","href":"/api-reference/endpoint/update-webhook"},{"title":"Delete webhook","api":"DELETE /api/webhooks/{id}","href":"/api-reference/endpoint/delete-webhook"},{"title":"Test webhook","api":"POST /api/webhooks/test","href":"/api-reference/endpoint/test-webhook"},{"title":"List deliveries","api":"GET /api/webhooks/deliveries","href":"/api-reference/endpoint/webhook-deliveries"}]},{"group":"Account","icon":"gauge","pages":[{"title":"Credits","api":"GET /api/account/credits","href":"/api-reference/endpoint/credits"},{"title":"Credit Transactions","api":"GET /api/account/credit-transactions","href":"/api-reference/endpoint/credit-transactions"},{"title":"Credit Analytics","api":"GET /api/account/credit-analytics","href":"/api-reference/endpoint/credit-analytics"},{"title":"Health Check","api":"GET /api/health","href":"/api-reference/endpoint/health"}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Exposed API Keys - Encrata","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js"]}