sdkDeterministic

Get agent setup

pipeline.getAgentSetup

Read Reply Agent, SDR Agent and Content Agent setup readiness before using them. Content uses confirmed author writing preferences, the intended reader and useful approved evidence. Interviews are optional gap filling. Use get-content-setup to choose the author and resume saved setup. Returns missing setup, UI paths and SOP/playbook guidance. Explain blockers to the user and help configure the offer, audience, playbooks, runtime and approval policy. External coding-agent inference needs no Pipeline model key. Read-only.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
executionMode
string
Readiness check mode only, not a saved agent setting. Use pipeline_hosted to check hosted model readiness, or external_agent when the coding agent performs inference itself.
external_agent | pipeline_hosted

Example

TypeScripttypescript
await pipeline.getAgentSetup({})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"label": {
"type": "string"
},
"missing": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"path": {
"type": "string"
}
}
}
}
}
}
},
"executionMode": {
"type": "string"
},
"guidance": {
"type": "string"
}
},
"required": [
"agents",
"executionMode",
"guidance"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline