sdkDeterministic

Set icp profile

pipeline.setIcpProfile

Create or update the workspace's ICP profile (inferred from auth, no workspaceId needed). If a default profile exists it is updated in place; otherwise a new default profile is created. Provide structured criteria (targetTitles, targetIndustries, etc.) and/or a naturalLanguageCriteria description.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
name
string
No description.
description
string
No description.
isDefault
boolean
No description.
icpSummary
string
No description.
serviceDescription
string
No description.
naturalLanguageCriteria
string
No description.
scoringInstructions
string
No description.
criteria
object
No description.

Example

TypeScripttypescript
await pipeline.setIcpProfile({})

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