cliDeterministic
Save segment
pipeline save-segment
Deterministically create or update one coding-agent-authored Launchpad segment by workspace and slug. Does not invoke hosted inference.
Parameters
workspaceIdrequired
string
No description.
segmentrequired
object
No description.
Example
CLI commandbash
pipeline save-segment \--workspace-id "00000000-0000-4000-8000-000000000000" \--segment-json '{"name":"example"}'
Response
Success response schemajson schema
{"type": "object","properties": {"segment": {"type": "object"}},"required": ["segment"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.