cliDeterministic

Save comment draft

pipeline save-comment-draft

Save a caller-authored comment as a reviewable draft for a tracked post. It never posts to LinkedIn.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
trackedPostIdrequired
string
No description.
linkedinAccountIdrequired
string
No description.
commentrequired
string
No description.
alternatives
string[]
No description.
confidenceScore
number
No description.
reasoning
string
No description.

Example

CLI commandbash
pipeline save-comment-draft \
--tracked-post-id "00000000-0000-4000-8000-000000000000" \
--linkedin-account-id "00000000-0000-4000-8000-000000000000" \
--comment "example"

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"draft": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"tracked_post_id": {
"type": "string"
},
"approval_status": {
"type": "string",
"enum": [
"pending",
"approved",
"rejected",
"edited",
"sent",
"expired"
]
}
},
"required": [
"id",
"workspace_id",
"tracked_post_id",
"approval_status"
]
}
},
"required": [
"draft"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline