sdkHosted AI, explicit consent

Score prospect

pipeline.scoreProspect

Score a prospect against the workspace ICP.

Parameters

workspaceIdrequired
string
No description.
prospectIdrequired
string
No description.
allowHostedAi
boolean
Must be true when this operation uses Pipeline hosted inference.

Example

TypeScripttypescript
await pipeline.scoreProspect({
"prospectId": "00000000-0000-4000-8000-000000000000",
"workspaceId": "00000000-0000-4000-8000-000000000000",
"allowHostedAi": true
})

Response

The operation is available, but its typed response schema has not been published yet.

Exceptions

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