DevelopmentApi
Commit org scrape prefill
Commits a reviewed scrape result into organization and optional workspace data once the scrape job is ready.
Commits a reviewed scrape result into organization and optional workspace data once the scrape job is ready.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Path Parameters
jobId*string
Request Body
application/json
organizationName*string
Length
2 <= length <= 128organizationSlug*string
Match
^[a-z0-9-]+$Length
2 <= length <= 64workspaceName?string
Length
2 <= length <= 128workspaceSlug?string
Match
^[a-z0-9-]+$Length
2 <= length <= 64industry?string|null
website?string|null
customerNames?|null
revenueAmount?number|null
revenueCurrency?string|null
revenuePeriod?string|null
employeeCountMin?integer|null
employeeCountMax?integer|null
addressStreet?string|null
addressPostalCode?string|null
addressCity?string|null
addressCountry?string|null
[key: string]?never
Response Body
application/json
curl -X POST "https://loading/api/org-scrape/jobs/string/commit" \ -H "Content-Type: application/json" \ -d '{ "organizationName": "string", "organizationSlug": "string" }'{
"job": {
"$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"
]
},
"organization": {
"$id": "string",
"name": "string",
"slug": "string",
"teamId": "string",
"createdByUserId": "string",
"defaultPrivacyMode": "option_1",
"industry": "string",
"website": "string",
"customerNames": [
"string"
],
"revenueAmount": 0,
"revenueCurrency": "string",
"revenuePeriod": "year",
"employeeCountMin": 0,
"employeeCountMax": 0,
"addressStreet": "string",
"addressPostalCode": "string",
"addressCity": "string",
"addressCountry": "string",
"aiEnrichmentOptIn": true,
"lastEnrichedAt": "string",
"lastEnrichmentSource": "manual",
"logoFileId": "string",
"archivedAt": "string"
},
"workspace": {
"$id": "string",
"organizationId": "string",
"name": "string",
"slug": "string",
"privacyMode": "option_1",
"createdByUserId": "string",
"archivedAt": "string"
}
}Empty
Empty