cliHosted AI, explicit consent
Create segment
pipeline create-segment
Generate GTM buyer segments from company context using the workspace's BYOK LLM and persist them as draft segments. Set regenerate=true to replace existing drafts instead of appending.
Parameters
workspaceIdrequired
string
No description.
count
number
Segments to generate, clamped 3-8. Defaults to 5.
regenerate
boolean
Replace existing draft segments instead of appending.
context
object
No description.
allowHostedAi
boolean
Must be true when this operation uses Pipeline hosted inference.
Example
CLI commandbash
pipeline create-segment \--workspace-id "00000000-0000-4000-8000-000000000000" \--allow-hosted-ai
Response
The operation is available, but its typed response schema has not been published yet.
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.