Skip to main content
POST
/
v1
/
internal
/
vendors
/
risk-assessment
/
trigger-batch
Trigger vendor risk assessment tasks for a batch of vendors (internal)
curl --request POST \
  --url http://localhost:3333/v1/internal/vendors/risk-assessment/trigger-batch \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "org_abc123",
  "vendors": [
    {
      "vendorId": "vnd_abc123",
      "vendorName": "CloudTech Solutions",
      "vendorWebsite": "https://cloudtechsolutions.com"
    }
  ],
  "withResearch": true
}
'

Headers

X-Internal-Token
string

Internal service token (required in production)

Body

application/json
organizationId
string
required

Organization ID

Example:

"org_abc123"

vendors
object[]
required

Vendors to trigger risk assessment for

withResearch
boolean
default:true

If false, skips Firecrawl research (cheaper). Defaults to true.

Response

200

Tasks triggered