DevelopmentApi
Create org scrape job
Creates a new organization scrape job, validates concurrency constraints, and attempts to enqueue the background function.
Creates a new organization scrape job, validates concurrency constraints, and attempts to enqueue the background function.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Request Body
application/json
organizationId*string
sourceUrl*string
Format
uri[key: string]?never
Response Body
application/json
curl -X POST "https://loading/api/org-scrape/jobs" \ -H "Content-Type: application/json" \ -d '{ "organizationId": "string", "sourceUrl": "http://example.com" }'{
"$id": "string",
"organizationId": "string",
"requestedByUserId": "string",
"sourceUrl": "http://example.com",
"status": "pending",
"inputJson": "string",
"prefillJson": "string",
"errorMessage": "string",
"functionExecutionId": "string",
"modelUsed": "string",
"provider": "string",
"promptVersion": "string",
"startedAt": "string",
"finishedAt": "string",
"parsedPrefill": {
"organizationName": "string",
"organizationSlug": "string",
"workspaceName": "string",
"workspaceSlug": "string",
"industry": "string",
"website": "http://example.com",
"customerNames": [
"string"
],
"revenueAmount": 0,
"revenueCurrency": "str",
"revenuePeriod": "year",
"employeeCountMin": 9007199254740991,
"employeeCountMax": 9007199254740991,
"addressStreet": "string",
"addressPostalCode": "string",
"addressCity": "string",
"addressCountry": "string",
"confidence": 1,
"sourceSummary": "string"
},
"prefillIssues": [
"string"
]
}Empty
Empty