This endpoint allows you to run a specific check for either Know Your Business (KYB) or Know Your Customer (KYC) processes.
API Endpoint
POST https://api.parcha.ai/api/v1/runCheck
Request Body
string
required
The unique identifier for the agent to be used for the check.
string
required
The identifier of the specific check you want to run.
string
Optional. A unique identifier (UUID) that you can provide for this check job.
If provided, this ID will be used as an idempotency key.
If a job with this ID already exists, the API will return a 409 Conflict error, and you can then use this job_id to retrieve the existing check job’s status and results using an appropriate endpoint (e.g., /getJobById or a check-specific status endpoint if available).
If not provided, a new unique ID will be automatically generated for the check job.
object
The KYB schema containing the information for business verification checks.
Show Common Object Types
object
Standard address format used throughout the schema.
Show Address Properties
string
required
Primary street address line
string
Secondary street address line (optional)
string
required
City name
string
required
State/province code
string
required
Two-letter ISO country code (e.g., “US”, “GB”)
string
required
Postal/ZIP code
object
Standard document format used throughout the schema.
Show Document Properties
string
URL to access the document. Required if b64_document is not provided.
string
required
Name of the file including extension
string
Description of the document
string
required
Type of document source. One of: “file_url”, “gdrive”, “dropbox”, etc.
string
Base64 encoded document content. Required if url is not provided.
integer
Number of pages in the document
Show KYB Schema Properties
string
required
A unique identifier for this check case.
string
required
The name of the business
string
The registered name of the business
object
The address where the business is incorporated. Uses the Address Object format defined above.
object
The address of primary business operations. Uses the Address Object format defined above.
string | array
The website(s) of the business
string
The business purpose
string
Description of the business
string
The industry of the business
string
The tax identification number
string | array
Business partners that should be screened
string | array
Customers that should be screened
string | array
The source of funds for the business
array
List of countries where the business has customers
string
The incorporation date in YYYY-MM-DD format
string
The business registration number
string
The cannabis license number (if applicable)
string
The MCC code of the business
string
The contact email for the business
string
The contact phone number for the business
array
List of incorporation documents. Each item uses the Document Object format defined above.
array
List of business ownership documents. Each item uses the Document Object format defined above.
array
List of promotional/marketing documents. Each item uses the Document Object format defined above.
array
List of proof of address documents. Each item uses the Document Object format defined above.
array
List of source of funds documents. Each item uses the Document Object format defined above.
array
List of EIN documents. Each item uses the Document Object format defined above.
array
List of cannabis license documents. Each item uses the Document Object format defined above.
array
List of bank check documents. Each item uses the Document Object format defined above.
object
The KYC schema containing the information for individual verification checks.
Show Common Object Types
object
Standard address format used throughout the schema.
Show Address Properties
string
required
Primary street address line
string
Secondary street address line (optional)
string
required
City name
string
required
State/province code
string
required
Two-letter ISO country code (e.g., “US”, “GB”)
string
required
Postal/ZIP code
object
Standard document format used throughout the schema.
Show Document Properties
string
URL to access the document. Required if b64_document is not provided.
string
required
Name of the file including extension
string
Description of the document
string
required
Type of document source. One of: “file_url”, “gdrive”, “dropbox”, etc.
string
Base64 encoded document content. Required if url is not provided.
integer
Number of pages in the document
Show KYC Schema Properties
string
required
A unique identifier for this check case.
string
required
The first name of the individual
string
The middle name of the individual
string
required
The last name of the individual
string
The prefix of the individual (e.g., “Mr.”, “Mrs.”, “Dr.”)
string
The suffix of the individual (e.g., “Jr.”, “Sr.”, “III”)
string
The date of birth of the individual in YYYY-MM-DD format
object
The address of the individual. Uses the Address Object format defined above.
string
The country of nationality of the individual
string
The country of residence of the individual
string
The place of birth of the individual
string
The sex of the individual
string
The email address of the individual
string
The phone number of the individual
string
The job title of the individual
string
The LinkedIn profile URL of the individual
string
The current employer of the individual
string
The industry of the current employer
boolean
Whether the individual is an applicant
boolean
Whether the individual is a business owner
number
The percentage of business ownership (if applicable)
string
Description of the source of funds
array
List of source of funds documents. Each item uses the Document Object format defined above.
array
List of proof of address documents. Each item uses the Document Object format defined above.
string
An optional URL to receive webhook notifications about the check status.
object
Optional arguments specific to the check being run.
Response
string
The unique identifier for the created check job.
string
The current status of the check job (e.g., “PENDING”, “RUNNING”, “COMPLETE”).
string
The timestamp when the check job was created.
string
The timestamp when the check job was last updated.
{ "error": "Job with the provided ID already exists.", "job_id": "your-custom-job-id-123e4567-e89b-12d3-a456-426614174000"}
This endpoint runs a specific check with the provided parameters. The response includes a check job ID that can be used to track the progress and retrieve results of the check.
Implementation Details
The runCheck endpoint is implemented in the shared_router.py file. Here’s a brief overview of the implementation:
The endpoint uses the get_check_schema dependency to parse and validate the incoming request data.
It then calls the celery_enqueue_run_check function, which handles the logic for running a single check.
The function checks if the user has access to the requested agent and validates the check configuration.
If everything is valid, it enqueues the check job using Celery.
Finally, it returns a JSON response with the check job details.
For more detailed information about the implementation, you can refer to the shared_router.py file in the Parcha backend codebase.
Available Checks
Here are some of the available checks that can be run using this endpoint:
kyb.web_presence_check: Verifies the online presence of a business.
kyb.business_registration_check: Checks the registration status of a business.
kyc.identity_verification: Verifies the identity of an individual.
kyc.adverse_media_check: Searches for any negative media coverage related to an individual.
The available checks may vary depending on your subscription level and the specific agent you’re using. Consult the Parcha documentation or contact support for a complete list of checks available to you.
Best Practices
Choose the right check: Make sure you’re using the appropriate check for your use case (KYB or KYC).
Provide comprehensive data: The more details you provide in the payload, the more thorough and accurate the check can be.
Use webhooks: Setting up a webhook_url allows you to receive real-time updates about your check progress.
Handle errors gracefully: Be prepared to handle potential errors or edge cases in your application.
Respect rate limits: Be mindful of any rate limits on the API to ensure smooth operation of your integration.
By following these guidelines, you can effectively use the runCheck endpoint to perform specific checks as part of your KYB or KYC processes.
Authorizations
Authorization
string
header
required
API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.
Body
application/json
agent_key
string
required
The unique identifier for the agent
check_id
string
required
The ID of the check to run
case_id
string
required
The ID of the case
case_type
enum<string>
required
The type of case
Available options:
kyb,
kyc,
entity
check_args
object
Additional arguments for the check
Response
Check started successfully
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Parcha API Documentation","colors":{"primary":"#5D5FEF","light":"#FEFB92","dark":"#5D5FEF"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/parcha/_GDYRpzYlMyc6wKU/images/parcha_purple.svg?fit=max\u0026auto=format\u0026n=_GDYRpzYlMyc6wKU\u0026q=85\u0026s=eb582957b67a0292fa1a30de92e43bf4","dark":"https://mintcdn.com/parcha/_GDYRpzYlMyc6wKU/images/parcha_yellow.svg?fit=max\u0026auto=format\u0026n=_GDYRpzYlMyc6wKU\u0026q=85\u0026s=b6e0a83a96d0a2dee0271201ae9b9a76"},"navbar":{"links":[{"label":"Support","href":"mailto:support@parcha.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://preview.parcha.ai"}},"navigation":{"global":{"anchors":[{"anchor":"Blog","href":"https://parcha.ai/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"parcha","hasAudioNarration":false,"actualSubdomain":"parcha","customDomains":["docs.parcha.ai"],"gitSource":{"type":"github","owner":"parcha-ai","repo":"parcha-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae92129e25383f1c0a5f0a2:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":115},{"language":"default","tag":"Documentation","count":33},{"language":"default","tag":"Know Your Business (KYB)","count":19},{"language":"default","tag":"KYB Checks","count":17},{"language":"default","tag":"Checks Results","count":13},{"language":"default","tag":"Compliance Checks","count":12},{"language":"default","tag":"Business (KYB) Checks","count":10},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Document Verifications","count":6},{"language":"default","tag":"Know Your Customer (KYC)","count":6}]},"assistantConfig":{},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/runCheck","slug":"/api-reference/runCheck","pageMetadata":{"title":"Run Check","description":"Execute a specific check for KYB or KYC processes","openapi":"POST /runCheck","href":"/api-reference/runCheck"},"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: \"Execute a specific check for KYB or KYC processes\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,ResponseField}=_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);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to run a specific check for either Know Your Business (KYB) or Know Your Customer (KYC) processes.`}),`\n`,_jsx(Heading,{level:`2`,id:`api-endpoint`,children:`API Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.parcha.ai/api/v1/runCheck`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`agent_key`,type:`string`,required:true,id:`param-agent-key`,children:_jsx(_components.p,{children:`The unique identifier for the agent to be used for the check.`})}),`\n`,_jsx(ParamField,{body:`check_id`,type:`string`,required:true,id:`param-check-id`,children:_jsx(_components.p,{children:`The identifier of the specific check you want to run.`})}),`\n`,_jsx(ParamField,{body:`job_id`,type:`string`,id:`param-job-id`,children:_jsxs(_components.p,{children:[`Optional. A unique identifier (UUID) that you can provide for this check job.\nIf provided, this ID will be used as an idempotency key.\nIf a job with this ID already exists, the API will return a `,_jsx(_components.code,{children:`409 Conflict`}),` error, and you can then use this `,_jsx(_components.code,{children:`job_id`}),` to retrieve the existing check job’s status and results using an appropriate endpoint (e.g., `,_jsx(_components.code,{children:`/getJobById`}),` or a check-specific status endpoint if available).\nIf not provided, a new unique ID will be automatically generated for the check job.`]})}),`\n`,_jsxs(ParamField,{body:`kyb_schema`,type:`object`,id:`param-kyb-schema`,children:[_jsx(_components.p,{children:`The KYB schema containing the information for business verification checks.`}),_jsxs(Expandable,{title:`Common Object Types`,children:[_jsxs(ParamField,{body:`Address Object`,type:`object`,id:`param-address-object`,children:[_jsx(_components.p,{children:`Standard address format used throughout the schema.`}),_jsxs(Expandable,{title:`Address Properties`,children:[_jsx(ParamField,{body:`street_1`,type:`string`,required:true,id:`param-street-1`,children:_jsx(_components.p,{children:`Primary street address line`})}),_jsx(ParamField,{body:`street_2`,type:`string`,id:`param-street-2`,children:_jsx(_components.p,{children:`Secondary street address line (optional)`})}),_jsx(ParamField,{body:`city`,type:`string`,required:true,id:`param-city`,children:_jsx(_components.p,{children:`City name`})}),_jsx(ParamField,{body:`state`,type:`string`,required:true,id:`param-state`,children:_jsx(_components.p,{children:`State/province code`})}),_jsx(ParamField,{body:`country_code`,type:`string`,required:true,id:`param-country-code`,children:_jsx(_components.p,{children:`Two-letter ISO country code (e.g., “US”, “GB”)`})}),_jsx(ParamField,{body:`postal_code`,type:`string`,required:true,id:`param-postal-code`,children:_jsx(_components.p,{children:`Postal/ZIP code`})})]})]}),_jsxs(ParamField,{body:`Document Object`,type:`object`,id:`param-document-object`,children:[_jsx(_components.p,{children:`Standard document format used throughout the schema.`}),_jsxs(Expandable,{title:`Document Properties`,children:[_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`URL to access the document. Required if b64_document is not provided.`})}),_jsx(ParamField,{body:`file_name`,type:`string`,required:true,id:`param-file-name`,children:_jsx(_components.p,{children:`Name of the file including extension`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Description of the document`})}),_jsx(ParamField,{body:`source_type`,type:`string`,required:true,id:`param-source-type`,children:_jsx(_components.p,{children:`Type of document source. One of: “file_url”, “gdrive”, “dropbox”, etc.`})}),_jsx(ParamField,{body:`b64_document`,type:`string`,id:`param-b64-document`,children:_jsx(_components.p,{children:`Base64 encoded document content. Required if url is not provided.`})}),_jsx(ParamField,{body:`num_pages`,type:`integer`,id:`param-num-pages`,children:_jsx(_components.p,{children:`Number of pages in the document`})})]})]})]}),_jsxs(Expandable,{title:`KYB Schema Properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`A unique identifier for this check case.`})}),_jsx(ParamField,{body:`business_name`,type:`string`,required:true,id:`param-business-name`,children:_jsx(_components.p,{children:`The name of the business`})}),_jsx(ParamField,{body:`registered_business_name`,type:`string`,id:`param-registered-business-name`,children:_jsx(_components.p,{children:`The registered name of the business`})}),_jsx(ParamField,{body:`address_of_incorporation`,type:`object`,id:`param-address-of-incorporation`,children:_jsx(_components.p,{children:`The address where the business is incorporated. Uses the Address Object format defined above.`})}),_jsx(ParamField,{body:`address_of_operation`,type:`object`,id:`param-address-of-operation`,children:_jsx(_components.p,{children:`The address of primary business operations. Uses the Address Object format defined above.`})}),_jsx(ParamField,{body:`website`,type:`string | array`,id:`param-website`,children:_jsx(_components.p,{children:`The website(s) of the business`})}),_jsx(ParamField,{body:`business_purpose`,type:`string`,id:`param-business-purpose`,children:_jsx(_components.p,{children:`The business purpose`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Description of the business`})}),_jsx(ParamField,{body:`industry`,type:`string`,id:`param-industry`,children:_jsx(_components.p,{children:`The industry of the business`})}),_jsx(ParamField,{body:`tin_number`,type:`string`,id:`param-tin-number`,children:_jsx(_components.p,{children:`The tax identification number`})}),_jsx(ParamField,{body:`partners`,type:`string | array`,id:`param-partners`,children:_jsx(_components.p,{children:`Business partners that should be screened`})}),_jsx(ParamField,{body:`customers`,type:`string | array`,id:`param-customers`,children:_jsx(_components.p,{children:`Customers that should be screened`})}),_jsx(ParamField,{body:`source_of_funds`,type:`string | array`,id:`param-source-of-funds`,children:_jsx(_components.p,{children:`The source of funds for the business`})}),_jsx(ParamField,{body:`customer_countries`,type:`array`,id:`param-customer-countries`,children:_jsx(_components.p,{children:`List of countries where the business has customers`})}),_jsx(ParamField,{body:`incorporation_date`,type:`string`,id:`param-incorporation-date`,children:_jsx(_components.p,{children:`The incorporation date in YYYY-MM-DD format`})}),_jsx(ParamField,{body:`business_registration_number`,type:`string`,id:`param-business-registration-number`,children:_jsx(_components.p,{children:`The business registration number`})}),_jsx(ParamField,{body:`cannabis_license_number`,type:`string`,id:`param-cannabis-license-number`,children:_jsx(_components.p,{children:`The cannabis license number (if applicable)`})}),_jsx(ParamField,{body:`mcc_code`,type:`string`,id:`param-mcc-code`,children:_jsx(_components.p,{children:`The MCC code of the business`})}),_jsx(ParamField,{body:`contact_email_address`,type:`string`,id:`param-contact-email-address`,children:_jsx(_components.p,{children:`The contact email for the business`})}),_jsx(ParamField,{body:`contact_phone_number`,type:`string`,id:`param-contact-phone-number`,children:_jsx(_components.p,{children:`The contact phone number for the business`})}),_jsx(ParamField,{body:`incorporation_documents`,type:`array`,id:`param-incorporation-documents`,children:_jsx(_components.p,{children:`List of incorporation documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`business_ownership_documents`,type:`array`,id:`param-business-ownership-documents`,children:_jsx(_components.p,{children:`List of business ownership documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`promo_marketing_documents`,type:`array`,id:`param-promo-marketing-documents`,children:_jsx(_components.p,{children:`List of promotional/marketing documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`proof_of_address_documents`,type:`array`,id:`param-proof-of-address-documents`,children:_jsx(_components.p,{children:`List of proof of address documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`source_of_funds_documents`,type:`array`,id:`param-source-of-funds-documents`,children:_jsx(_components.p,{children:`List of source of funds documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`ein_documents`,type:`array`,id:`param-ein-documents`,children:_jsx(_components.p,{children:`List of EIN documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`cannabis_license_documents`,type:`array`,id:`param-cannabis-license-documents`,children:_jsx(_components.p,{children:`List of cannabis license documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`bank_check_documents`,type:`array`,id:`param-bank-check-documents`,children:_jsx(_components.p,{children:`List of bank check documents. Each item uses the Document Object format defined above.`})})]})]}),`\n`,_jsxs(ParamField,{body:`kyc_schema`,type:`object`,id:`param-kyc-schema`,children:[_jsx(_components.p,{children:`The KYC schema containing the information for individual verification checks.`}),_jsxs(Expandable,{title:`Common Object Types`,children:[_jsxs(ParamField,{body:`Address Object`,type:`object`,id:`param-address-object-1`,children:[_jsx(_components.p,{children:`Standard address format used throughout the schema.`}),_jsxs(Expandable,{title:`Address Properties`,children:[_jsx(ParamField,{body:`street_1`,type:`string`,required:true,id:`param-street-1-1`,children:_jsx(_components.p,{children:`Primary street address line`})}),_jsx(ParamField,{body:`street_2`,type:`string`,id:`param-street-2-1`,children:_jsx(_components.p,{children:`Secondary street address line (optional)`})}),_jsx(ParamField,{body:`city`,type:`string`,required:true,id:`param-city-1`,children:_jsx(_components.p,{children:`City name`})}),_jsx(ParamField,{body:`state`,type:`string`,required:true,id:`param-state-1`,children:_jsx(_components.p,{children:`State/province code`})}),_jsx(ParamField,{body:`country_code`,type:`string`,required:true,id:`param-country-code-1`,children:_jsx(_components.p,{children:`Two-letter ISO country code (e.g., “US”, “GB”)`})}),_jsx(ParamField,{body:`postal_code`,type:`string`,required:true,id:`param-postal-code-1`,children:_jsx(_components.p,{children:`Postal/ZIP code`})})]})]}),_jsxs(ParamField,{body:`Document Object`,type:`object`,id:`param-document-object-1`,children:[_jsx(_components.p,{children:`Standard document format used throughout the schema.`}),_jsxs(Expandable,{title:`Document Properties`,children:[_jsx(ParamField,{body:`url`,type:`string`,id:`param-url-1`,children:_jsx(_components.p,{children:`URL to access the document. Required if b64_document is not provided.`})}),_jsx(ParamField,{body:`file_name`,type:`string`,required:true,id:`param-file-name-1`,children:_jsx(_components.p,{children:`Name of the file including extension`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-2`,children:_jsx(_components.p,{children:`Description of the document`})}),_jsx(ParamField,{body:`source_type`,type:`string`,required:true,id:`param-source-type-1`,children:_jsx(_components.p,{children:`Type of document source. One of: “file_url”, “gdrive”, “dropbox”, etc.`})}),_jsx(ParamField,{body:`b64_document`,type:`string`,id:`param-b64-document-1`,children:_jsx(_components.p,{children:`Base64 encoded document content. Required if url is not provided.`})}),_jsx(ParamField,{body:`num_pages`,type:`integer`,id:`param-num-pages-1`,children:_jsx(_components.p,{children:`Number of pages in the document`})})]})]})]}),_jsxs(Expandable,{title:`KYC Schema Properties`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`A unique identifier for this check case.`})}),_jsx(ParamField,{body:`first_name`,type:`string`,required:true,id:`param-first-name`,children:_jsx(_components.p,{children:`The first name of the individual`})}),_jsx(ParamField,{body:`middle_name`,type:`string`,id:`param-middle-name`,children:_jsx(_components.p,{children:`The middle name of the individual`})}),_jsx(ParamField,{body:`last_name`,type:`string`,required:true,id:`param-last-name`,children:_jsx(_components.p,{children:`The last name of the individual`})}),_jsx(ParamField,{body:`name_prefix`,type:`string`,id:`param-name-prefix`,children:_jsx(_components.p,{children:`The prefix of the individual (e.g., “Mr.”, “Mrs.”, “Dr.”)`})}),_jsx(ParamField,{body:`name_suffix`,type:`string`,id:`param-name-suffix`,children:_jsx(_components.p,{children:`The suffix of the individual (e.g., “Jr.”, “Sr.”, “III”)`})}),_jsx(ParamField,{body:`date_of_birth`,type:`string`,id:`param-date-of-birth`,children:_jsx(_components.p,{children:`The date of birth of the individual in YYYY-MM-DD format`})}),_jsx(ParamField,{body:`address`,type:`object`,id:`param-address`,children:_jsx(_components.p,{children:`The address of the individual. Uses the Address Object format defined above.`})}),_jsx(ParamField,{body:`country_of_nationality`,type:`string`,id:`param-country-of-nationality`,children:_jsx(_components.p,{children:`The country of nationality of the individual`})}),_jsx(ParamField,{body:`country_of_residence`,type:`string`,id:`param-country-of-residence`,children:_jsx(_components.p,{children:`The country of residence of the individual`})}),_jsx(ParamField,{body:`place_of_birth`,type:`string`,id:`param-place-of-birth`,children:_jsx(_components.p,{children:`The place of birth of the individual`})}),_jsx(ParamField,{body:`sex`,type:`string`,id:`param-sex`,children:_jsx(_components.p,{children:`The sex of the individual`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The email address of the individual`})}),_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:_jsx(_components.p,{children:`The phone number of the individual`})}),_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`The job title of the individual`})}),_jsx(ParamField,{body:`linkedin_profile_url`,type:`string`,id:`param-linkedin-profile-url`,children:_jsx(_components.p,{children:`The LinkedIn profile URL of the individual`})}),_jsx(ParamField,{body:`current_employer`,type:`string`,id:`param-current-employer`,children:_jsx(_components.p,{children:`The current employer of the individual`})}),_jsx(ParamField,{body:`employer_industry`,type:`string`,id:`param-employer-industry`,children:_jsx(_components.p,{children:`The industry of the current employer`})}),_jsx(ParamField,{body:`is_applicant`,type:`boolean`,id:`param-is-applicant`,children:_jsx(_components.p,{children:`Whether the individual is an applicant`})}),_jsx(ParamField,{body:`is_business_owner`,type:`boolean`,id:`param-is-business-owner`,children:_jsx(_components.p,{children:`Whether the individual is a business owner`})}),_jsx(ParamField,{body:`business_ownership_percentage`,type:`number`,id:`param-business-ownership-percentage`,children:_jsx(_components.p,{children:`The percentage of business ownership (if applicable)`})}),_jsx(ParamField,{body:`source_of_funds_description`,type:`string`,id:`param-source-of-funds-description`,children:_jsx(_components.p,{children:`Description of the source of funds`})}),_jsx(ParamField,{body:`source_of_funds_documents`,type:`array`,id:`param-source-of-funds-documents-1`,children:_jsx(_components.p,{children:`List of source of funds documents. Each item uses the Document Object format defined above.`})}),_jsx(ParamField,{body:`proof_of_address_documents`,type:`array`,id:`param-proof-of-address-documents-1`,children:_jsx(_components.p,{children:`List of proof of address documents. Each item uses the Document Object format defined above.`})})]})]}),`\n`,_jsx(ParamField,{body:`webhook_url`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`An optional URL to receive webhook notifications about the check status.`})}),`\n`,_jsx(ParamField,{body:`check_args`,type:`object`,id:`param-check-args`,children:_jsx(_components.p,{children:`Optional arguments specific to the check being run.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`The unique identifier for the created check job.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The current status of the check job (e.g., “PENDING”, “RUNNING”, “COMPLETE”).`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`The timestamp when the check job was created.`})}),`\n`,_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The timestamp when the check job was last updated.`})}),`\n`,_jsx(ResponseField,{name:`agent_id`,type:`string`,id:`param-agent-id`,children:_jsx(_components.p,{children:`The ID of the agent used for this check.`})}),`\n`,_jsx(ResponseField,{name:`input_payload`,type:`object`,id:`param-input-payload`,children:_jsx(_components.p,{children:`The input payload provided for the check job.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.parcha.ai/api/v1/runCheck'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_key\": \"your-kyb-agent-key\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"check_id\": \"kyb.web_presence_check\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"job_id\": \"your-custom-job-id-123e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"kyb_schema\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"parcha-single-check-001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"business_name\": \"Acme Corp\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"website\": \"https://www.acmecorp.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhook_url\": \"https://your-webhook.com/check-updates\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`31`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`31`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_key `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'YOUR_API_KEY'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.parcha.ai/api/v1/runCheck'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'agent_key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your-kyb-agent-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Replace with your actual agent key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'check_id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'kyb.web_presence_check'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'job_id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your-custom-job-id-123e4567-e89b-12d3-a456-426614174000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'kyb_schema'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'parcha-single-check-001'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'business_name'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Acme Corp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'website'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://www.acmecorp.com'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'webhook_url'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://your-webhook.com/check-updates'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.status_code `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 409`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Job with ID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'job_id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` already exists. Fetching existing job details...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Add logic here to call getJobById or equivalent with data.get('job_id')`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # existing_job_response = requests.get(f'https://api.parcha.ai/api/v1/getJobById?job_id={data.get(\"job_id\")}', headers=headers)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # print(existing_job_response.json())`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`35`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`35`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` axios`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'axios'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.parcha.ai/api/v1/runCheck'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_key:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-kyb-agent-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Replace with your actual agent key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` check_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'kyb.web_presence_check'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` job_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-custom-job-id-123e4567-e89b-12d3-a456-426614174000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` kyb_schema:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'parcha-single-check-001'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` business_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Acme Corp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` website:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.acmecorp.com'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` webhook_url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://your-webhook.com/check-updates'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`axios`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`post`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 409`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Job with ID \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`job_id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" already exists. Fetching existing job details...`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Add logic here to call getJobById or equivalent with data.job_id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\" // axios.get(`https://api.parcha.ai/api/v1/getJobById?job_id=${data.job_id}`, { headers: { 'Authorization': `Bearer ${apiKey}` } })\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // .then(existingJobResponse => console.log(existingJobResponse.data))`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // .catch(getJobError => console.error('Error fetching existing job:', getJobError));`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Error:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(_components.p,{children:`Successful creation (200 OK):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"check-12345-abcde\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PENDING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-06-15T15:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-06-15T15:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-agent-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-kyb-agent-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"check_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kyb.web_presence_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"job_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-custom-job-id-123e4567-e89b-12d3-a456-426614174000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kyb_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"parcha-single-check-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"business_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.acmecorp.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-webhook.com/check-updates\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Conflict (409 Conflict) if `,_jsx(_components.code,{children:`job_id`}),` already exists:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Job with the provided ID already exists.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"job_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-custom-job-id-123e4567-e89b-12d3-a456-426614174000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This endpoint runs a specific check with the provided parameters. The response includes a check job ID that can be used to track the progress and retrieve results of the check.`}),`\n`,_jsx(Heading,{level:`2`,id:`implementation-details`,children:`Implementation Details`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`runCheck`}),` endpoint is implemented in the `,_jsx(_components.code,{children:`shared_router.py`}),` file. Here’s a brief overview of the implementation:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`The endpoint uses the `,_jsx(_components.code,{children:`get_check_schema`}),` dependency to parse and validate the incoming request data.`]}),`\n`,_jsxs(_components.li,{children:[`It then calls the `,_jsx(_components.code,{children:`celery_enqueue_run_check`}),` function, which handles the logic for running a single check.`]}),`\n`,_jsx(_components.li,{children:`The function checks if the user has access to the requested agent and validates the check configuration.`}),`\n`,_jsx(_components.li,{children:`If everything is valid, it enqueues the check job using Celery.`}),`\n`,_jsx(_components.li,{children:`Finally, it returns a JSON response with the check job details.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more detailed information about the implementation, you can refer to the `,_jsx(_components.code,{children:`shared_router.py`}),` file in the Parcha backend codebase.`]}),`\n`,_jsx(Heading,{level:`2`,id:`available-checks`,children:`Available Checks`}),`\n`,_jsx(_components.p,{children:`Here are some of the available checks that can be run using this endpoint:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`kyb.web_presence_check`}),`: Verifies the online presence of a business.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`kyb.business_registration_check`}),`: Checks the registration status of a business.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`kyc.identity_verification`}),`: Verifies the identity of an individual.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`kyc.adverse_media_check`}),`: Searches for any negative media coverage related to an individual.`]}),`\n`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The available checks may vary depending on your subscription level and the specific agent you’re using. Consult the Parcha documentation or contact support for a complete list of checks available to you.`})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Choose the right check`}),`: Make sure you’re using the appropriate check for your use case (KYB or KYC).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Provide comprehensive data`}),`: The more details you provide in the payload, the more thorough and accurate the check can be.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use webhooks`}),`: Setting up a `,_jsx(_components.code,{children:`webhook_url`}),` allows you to receive real-time updates about your check progress.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Handle errors gracefully`}),`: Be prepared to handle potential errors or edge cases in your application.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Respect rate limits`}),`: Be mindful of any rate limits on the API to ensure smooth operation of your integration.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`By following these guidelines, you can effectively use the `,_jsx(_components.code,{children:`runCheck`}),` endpoint to perform specific checks as part of your KYB or KYC processes.`]})]})}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":{"config":{},"pageMetadata":{"title":"Run Check","description":"Execute a specific check for KYB or KYC processes","openapi":"POST /runCheck","href":"/api-reference/runCheck"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API Endpoint","slug":"api-endpoint","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Example Response","slug":"example-response","depth":2,"children":[]},{"title":"Implementation Details","slug":"implementation-details","depth":2,"children":[]},{"title":"Available Checks","slug":"available-checks","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["e825f0b4-aeed-4d06-86e6-ac7c9a513b29"],"summary":"Run a check","requestBody":"e7c689a5-4106-414b-8a9a-5241c94da178","responses":{"200":"57cbef3e-7b3f-4662-99f5-8488b1c31675","401":"d4a9c94f-9b67-45c8-8632-5980e1cef9b0"},"method":"post","type":"path","servers":["e55b00ea-4984-4eaf-8501-93bd3d05e784","cb1c0450-4482-4499-881d-99170cecf6e3","e861c3ca-804d-4b34-b528-65116cd075f4","4757613f-4781-4a80-8983-f26fa3d1fee0"],"path":"/runCheck","baseUrlOptions":["https://api.parcha.ai/api/v1","https://demo.parcha.ai/api/v1","https://us1.parcha.ai/api/v1","http://{your-company-domain}.parcha.ai/api/v1"],"title":"Run a check","description":"Execute a specific check for KYB or KYC processes","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agent_key","check_id","case_id","case_type"],"properties":{"agent_key":{"type":"string","description":"The unique identifier for the agent","isRequired":true,"uniqueKey":"agent_key","typeLabel":"string"},"check_id":{"type":"string","description":"The ID of the check to run","isRequired":true,"uniqueKey":"check_id","typeLabel":"string"},"case_id":{"type":"string","description":"The ID of the case","isRequired":true,"uniqueKey":"case_id","typeLabel":"string"},"case_type":{"type":"string","enum":["kyb","kyc","entity"],"description":"The type of case","isRequired":true,"uniqueKey":"case_type","typeLabel":"enum\u003cstring>"},"check_args":{"type":"object","description":"Additional arguments for the check","uniqueKey":"check_args","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent_key":"\u003cstring>","check_id":"\u003cstring>","case_id":"\u003cstring>","check_args":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"57cbef3e-7b3f-4662-99f5-8488b1c31675":{"description":"Check started successfully","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d4a9c94f-9b67-45c8-8632-5980e1cef9b0":{"description":"Unauthorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"e825f0b4-aeed-4d06-86e6-ac7c9a513b29":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.","scopes":[]}}},"servers":{"e55b00ea-4984-4eaf-8501-93bd3d05e784":{"url":"https://api.parcha.ai/api/v1","description":"Agent Hub API server"},"cb1c0450-4482-4499-881d-99170cecf6e3":{"url":"https://demo.parcha.ai/api/v1","description":"Sandbox API server"},"e861c3ca-804d-4b34-b528-65116cd075f4":{"url":"https://us1.parcha.ai/api/v1","description":"Legacy API server"},"4757613f-4781-4a80-8983-f26fa3d1fee0":{"url":"http://{your-company-domain}.parcha.ai/api/v1","description":"Custom Enterpris server (your company's API server)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"parcha","siteName":"Parcha API Documentation","title":"Run Check - Parcha API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-27T05:00:52.303Z","originalFileLocation":"api-reference/runCheck.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=\"Execute a specific check for KYB or KYC processes\">\u003cmeta data-mint-head name=\"application-name\" content=\"Parcha API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_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/parcha/vWy5nEWTx-CmFxeL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run Check - Parcha API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Execute a specific check for KYB or KYC processes\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Parcha API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parcha.ai/api-reference/runCheck\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://parcha.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Run+Check\u0026amp;description=Execute+a+specific+check+for+KYB+or+KYC+processes\u0026amp;theme=9d90c28f390dc4f18139b7b6\u0026amp;signature=124aa77ef2ae91cd0d9678eda5ea96f7c361cc4062c90ff3a549dabfcf5016a0\">\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=\"Run Check - Parcha API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Execute a specific check for KYB or KYC processes\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://parcha.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Run+Check\u0026amp;description=Execute+a+specific+check+for+KYB+or+KYC+processes\u0026amp;theme=9d90c28f390dc4f18139b7b6\u0026amp;signature=124aa77ef2ae91cd0d9678eda5ea96f7c361cc4062c90ff3a549dabfcf5016a0\">\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/parcha/vWy5nEWTx-CmFxeL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Parcha API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5D5FEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parcha.ai/api-reference/runCheck\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/runCheck.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Parcha API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Parcha API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/runCheck.md","siteName":"Parcha API Documentation","nav":{"global":{"anchors":[{"anchor":"Blog","href":"https://parcha.ai/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Getting Started","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"}]},{"group":"Concepts","pages":[{"title":null,"href":"/concepts/case-schema"},{"title":null,"href":"/concepts/anatomy-of-a-parcha-agent"}]},{"group":"Use Cases","pages":[{"title":null,"href":"/use-cases/merchant-code-categorization"},{"title":"Document Verification","href":"/use-cases/document-verification"},{"title":null,"href":"/use-cases/AML-screening"}]},{"group":"Know Your Business (KYB)","pages":[{"title":"How to Run a KYB Agent","href":"/how-to-run-kyb-agent"},{"title":"Business Schema","href":"/schemas/business-schema"},{"group":"KYB Checks","pages":[{"group":"Compliance Checks","pages":[{"title":"High Risk Country Check","href":"/checks/high-risk-country-check"},{"title":"High Risk Industry Check","href":"/checks/high-risk-industry-check"},{"title":"Industry Activity Check","href":"/checks/industry-activity-check"},{"title":"Adverse Media Screening Check","href":"/checks/adverse-media-screening"},{"title":"Sanctions Screening Check (Business)","href":"/checks/sanctions-screening-check"},{"title":"Web Presence Check","href":"/checks/web-presence-check"},{"title":"Basic Business Profile Check","href":"/checks/basic-business-profile-check"},{"title":"Business Reviews Check","href":"/checks/business-reviews-check"},{"title":"Business Registration Check","href":"/checks/business-registration-check"},{"title":"Address Verification Check","href":"/checks/addresses-check"},{"title":"Business Owners Research Check","href":"/checks/business-owners-check"},{"title":"MCC Code Check","href":"/checks/mcc-code-check"}]},{"group":"Document Verifications","pages":[{"title":"Business Ownership Document Verification","href":"/checks/business-ownership-document-verification"},{"title":"Incorporation Document Verification","href":"/checks/incorporation-document-verification"},{"title":"Proof of Address Document Verification","href":"/checks/proof-of-address-document-verification"},{"title":"EIN Document Verification","href":"/checks/ein-document-verification"},{"title":"Source of Funds Document Verification","href":"/checks/source-of-funds-document-verification"}]}]}]},{"group":"Know Your Customer (KYC)","pages":[{"title":null,"href":"/schemas/individual-schema"},{"group":"KYC Checks","pages":[{"group":"Identity \u0026 Screening Checks","pages":[{"title":"Person Web Presence Check","href":"/checks/kyc-person-web-presence-check"},{"title":"Adverse Media Screening (Individual)","href":"/checks/kyc-adverse-media-screening"},{"title":"PEP Screening Check (Individual)","href":"/checks/kyc-pep-screening-check"},{"title":"Sanctions Screening Check (Individual)","href":"/checks/kyc-sanctions-screening-check"}]},{"group":"Document Verifications","pages":[{"title":"Individual (KYC) Proof of Address Document Verification","href":"/checks/kyc-proof-of-address-document-verification"}]}]}]}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction to Parcha API","href":"/api-reference/introduction"},{"title":"Start KYB Agent Job","openapi":"POST /startKYBAgentJob","href":"/api-reference/startKYBAgentJob"},{"title":"Start KYC Agent Job","openapi":"POST /startKYCAgentJob","href":"/api-reference/startKYCAgentJob"},{"title":"Get Job by ID","openapi":"GET /getJobById","href":"/api-reference/getJobById"},{"title":"Get Jobs by Case ID","openapi":"GET /getJobsByCaseId","href":"/api-reference/getJobsByCaseId"},{"title":"Get Specific Check Result","openapi":"GET /getCheckResultFromJob","href":"/api-reference/getCheckResultFromJob"},{"title":"Get All Check Results","openapi":"GET /getCheckResults","href":"/api-reference/getCheckResults"},{"title":null,"href":"/api-reference/webhooks"},{"title":"Job Batches","href":"/api-reference/job-batches"},{"title":"Vendor Data Integration","href":"/api-reference/vendor-data-integration"}]},{"group":"Checks Results","pages":[{"title":"Check Result Object","href":"/api-reference/check-result"},{"group":"Business (KYB) Checks","pages":[{"title":"High Risk Country Check","href":"/api-reference/check-results/high-risk-country-check"},{"title":"Adverse Media Screening Check","href":"/api-reference/check-results/adverse-media-screening-check"},{"title":"Web Presence Check","href":"/api-reference/check-results/web-presence-check"},{"title":"Basic Business Profile Check","href":"/api-reference/check-results/basic-business-profile-check"},{"title":"High Risk Industry Check","href":"/api-reference/check-results/high-risk-industry-check"},{"title":"Incorporation Document Verification Result","href":"/api-reference/check-results/incorporation-document-verification"},{"title":"Business Ownership Document Verification Result","href":"/api-reference/check-results/business-ownership-document-verification"},{"title":"Proof of Address Document Verification Result","href":"/api-reference/check-results/proof-of-address-document-verification"},{"title":"EIN Document Verification Result","href":"/api-reference/check-results/ein-document-verification"},{"title":"Source of Funds Document Verification","href":"/api-reference/check-results/source-of-funds-document-verification"}]},{"group":"Individual (KYC) Checks","pages":[{"title":"Individual (KYC) Proof of Address Document Verification","href":"/api-reference/check-results/kyc-proof-of-address-document-verification"},{"title":"PEP Screening Check","href":"/api-reference/check-results/pep-screening-check"}]}]},{"group":"API Reference","pages":[{"title":"Start a KYB agent job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /startKYBAgentJob","href":"/api-reference/start-a-kyb-agent-job"},{"title":"Start a KYC agent job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /startKYCAgentJob","href":"/api-reference/start-a-kyc-agent-job"},{"title":"Get job by ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobById","href":"/api-reference/get-job-by-id"},{"title":"Get jobs by case ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobsByCaseId","href":"/api-reference/get-jobs-by-case-id"},{"title":"Run a check","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /runCheck","href":"/api-reference/run-a-check"},{"title":"Upload base64 document","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /uploadB64Document","href":"/api-reference/upload-base64-document"},{"title":"Get feedback inputs by key","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getFeedbackInputsByKey","href":"/api-reference/get-feedback-inputs-by-key"},{"title":"Send feedback","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /sendFeedback","href":"/api-reference/send-feedback"},{"title":"Test webhook","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /testWebhook","href":"/api-reference/test-webhook"},{"title":"Test webhook receiver","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /testWebhookReceiver","href":"/api-reference/test-webhook-receiver"},{"title":"Download report","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /downloadReport","href":"/api-reference/download-report"},{"title":"Generate report to Google Drive","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /generateReportToGDrive","href":"/api-reference/generate-report-to-google-drive"},{"title":"Generate bulk case reports","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /generateBulkCaseReports","href":"/api-reference/generate-bulk-case-reports"},{"title":"Export CSV batch","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /exportCSVBatch","href":"/api-reference/export-csv-batch"},{"title":"Get job batches","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobBatches","href":"/api-reference/get-job-batches"},{"title":"Get batch jobs","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getBatchJobs","href":"/api-reference/get-batch-jobs"},{"title":"Enqueue jobs from CSV","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /enqueueFromCSV","href":"/api-reference/enqueue-jobs-from-csv"},{"title":"Run flash check","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /runFlashCheck","href":"/api-reference/run-flash-check"},{"title":"Get checks overview data","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getChecksOverviewData","href":"/api-reference/get-checks-overview-data"},{"title":"Get a specific check result from job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getCheckResultFromJob","href":"/api-reference/get-a-specific-check-result-from-job"},{"title":"Get check all results for a job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getCheckResults","href":"/api-reference/get-check-all-results-for-a-job"},{"title":"Get source contents","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getSourceContents","href":"/api-reference/get-source-contents"},{"title":"Get all sources for an agent instance","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getAllSources","href":"/api-reference/get-all-sources-for-an-agent-instance"},{"title":"Get job metadata","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobMetadata","href":"/api-reference/get-job-metadata"},{"title":"Get job metadata by job ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobMetadataByJobId","href":"/api-reference/get-job-metadata-by-job-id"},{"title":"Get job metadata by case ID","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobMetadataByCaseId","href":"/api-reference/get-job-metadata-by-case-id"},{"title":"Get job status summary","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getJobStatusSummary","href":"/api-reference/get-job-status-summary"},{"title":"Get latest application state","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getLatestApplicationState","href":"/api-reference/get-latest-application-state"},{"title":"Get available checks","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getAvailableChecks","href":"/api-reference/get-available-checks"},{"title":"Get check information","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getCheckInfo","href":"/api-reference/get-check-information"},{"title":"Update application status","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /updateApplicationStatus","href":"/api-reference/update-application-status"},{"title":"Map CSV columns to schema fields","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /mapCsvColumns","href":"/api-reference/map-csv-columns-to-schema-fields"},{"title":"Enqueue jobs from various sources","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /enqueueFromSource","href":"/api-reference/enqueue-jobs-from-various-sources"},{"title":"Extract KYB schemas from source","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /getKybSchemasFromSource","href":"/api-reference/extract-kyb-schemas-from-source"},{"title":"Enqueue KYB schemas as jobs","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /enqueueKybSchemas","href":"/api-reference/enqueue-kyb-schemas-as-jobs"},{"title":"Get available checks with filtering","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /checks","href":"/api-reference/get-available-checks-with-filtering"},{"title":"Get thinking for a command instance","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getThinking","href":"/api-reference/get-thinking-for-a-command-instance"},{"title":"Get agent cost estimate","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /getAgentCostEstimate","href":"/api-reference/get-agent-cost-estimate"},{"title":"Get agent configuration cost estimate","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /getAgentConfigCostEstimate","href":"/api-reference/get-agent-configuration-cost-estimate"},{"title":"Enrich person data","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /enrichPerson","href":"/api-reference/enrich-person-data"},{"title":"Enrich company data","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /enrichCompany","href":"/api-reference/enrich-company-data"},{"title":"Scrape using specialized scrapers","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /specializedScraper","href":"/api-reference/scrape-using-specialized-scrapers"},{"title":"Get agent configuration","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /agent/config","href":"/api-reference/get-agent-configuration"},{"title":"Get agent schemas","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml get /agent-schemas/{agent_key}","href":"/api-reference/get-agent-schemas"},{"title":"Start a Persona KYB job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /startPersonaKYBJob","href":"/api-reference/start-a-persona-kyb-job"},{"title":"Start a Persona KYC job","deprecated":null,"version":null,"openapi":"api-reference/openapi.yaml post /startPersonaKYCJob","href":"/api-reference/start-a-persona-kyc-job"}]}]}]},"basePath":"","title":"Run Check - Parcha API Documentation","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}