Prospects / TypeScript SDK
Get prospect
Get the full prospect record: profile, company, ICP score + analysis, enrichments, agentExecutions (research/scoring/messaging history), conversion stage, conversation activity, and prospect_lists membership. Use this when you need everything about one prospect - for partial views (just profile or just stage), use the more specific tools.
pipeline.getProspectDeterministic operationParameters
workspaceIdOptional · string- Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
prospectIdRequired · string- See the input schema for this field.
await pipeline.getProspect({
"prospectId": "00000000-0000-4000-8000-000000000000"
})Full input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"minLength": 1,
"description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
},
"prospectId": {
"type": "string"
}
},
"required": [
"prospectId"
]
}