openapi: 3.0.0
info:
title: Parcha Admin RunFlashCheck API
version: 1.0.0
description: API for managing Parcha jobs and checks
servers:
- url: https://api.parcha.ai/api/v1
description: Agent Hub API server
- url: https://demo.parcha.ai/api/v1
description: Sandbox API server
- url: https://us1.parcha.ai/api/v1
description: Legacy API server
- url: http://{your-company-domain}.parcha.ai/api/v1
description: Custom Enterpris server (your company's API server)
security:
- bearerAuth: []
tags:
- name: RunFlashCheck
paths:
/runFlashCheck:
post:
security:
- bearerAuth: []
summary: Run flash check
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CheckJobInput'
responses:
'200':
description: Flash check completed successfully
'400':
description: Invalid input
'401':
description: Unauthorized
tags:
- RunFlashCheck
/api/v1/runFlashCheck:
post:
summary: Run Flash Check
description: 'Run a flash check directly without using celery.
This is used for quick checks that don''t need to be queued.'
operationId: run_flash_check_api_v1_runFlashCheck_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- RunFlashCheck
components:
schemas:
CheckJobInput:
type: object
required:
- agent_key
- check_id
- case_id
- case_type
properties:
agent_key:
type: string
description: The unique identifier for the agent
check_id:
type: string
description: The ID of the check to run
case_id:
type: string
description: The ID of the case
case_type:
type: string
enum:
- kyb
- kyc
- entity
description: The type of case
check_args:
type: object
description: Additional arguments for the check
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.