sdkDeterministic

Get scrubby verification

pipeline.getScrubbyVerification

Read saved Scrubby operation progress and results by Pipeline operation ID. This read does not contact Scrubby.

Parameters

workspaceIdrequired
string
No description.
operationIdrequired
string
Stable ID for the same verification. Reuse it after a timeout or disconnect.

Example

TypeScripttypescript
await pipeline.getScrubbyVerification({
"workspaceId": "00000000-0000-4000-8000-000000000000",
"operationId": "00000000-0000-4000-8000-000000000000"
})

Response

Success response schemajson schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"operationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable ID for the same verification. Reuse it after a timeout or disconnect."
},
"mode": {
"type": "string",
"enum": [
"quick_single",
"quick_bulk",
"deep_bulk"
]
},
"state": {
"type": "string",
"enum": [
"submitting",
"processing",
"completed",
"failed",
"submission_uncertain",
"expired"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"nextCheckAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"errorCode": {
"type": "string"
},
"retryAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"estimatedCredits": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"creditsUsed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"overdueSeconds": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"verdict": {
"type": "string",
"enum": [
"valid",
"invalid",
"risky",
"unknown"
]
},
"verified": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"final": {
"type": "object",
"properties": {
"rawVerdict": {
"type": "string"
},
"status": {
"type": "string"
},
"quickStatus": {
"type": "string"
}
},
"additionalProperties": false
},
"windows": {
"type": "object",
"properties": {
"24": {
"type": "object",
"properties": {
"rawVerdict": {
"type": "string"
},
"status": {
"type": "string"
},
"quickStatus": {
"type": "string"
}
},
"additionalProperties": false
},
"48": {
"type": "object",
"properties": {
"rawVerdict": {
"type": "string"
},
"status": {
"type": "string"
},
"quickStatus": {
"type": "string"
}
},
"additionalProperties": false
},
"72": {
"type": "object",
"properties": {
"rawVerdict": {
"type": "string"
},
"status": {
"type": "string"
},
"quickStatus": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"email",
"verdict",
"verified"
],
"additionalProperties": false
}
}
},
"required": [
"operationId",
"mode",
"state",
"createdAt",
"updatedAt",
"nextCheckAt",
"estimatedCredits",
"overdueSeconds",
"results"
],
"additionalProperties": false
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline