sdkDeterministic

Get content authoring context

pipeline.getContentAuthoringContext

Get the active voice configuration, up to five active inspiration posts, content intelligence, and workspace context needed to author LinkedIn content. Read-only and deterministic.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.

Example

TypeScripttypescript
await pipeline.getContentAuthoringContext({})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"voiceConfig": {
"type": [
"object",
"null"
]
},
"inspirationPosts": {
"type": "array",
"items": {
"type": "object"
}
},
"intelligenceContext": {
"type": [
"object",
"null"
]
},
"workspaceContext": {
"type": [
"object",
"null"
]
}
},
"required": [
"voiceConfig",
"inspirationPosts",
"intelligenceContext",
"workspaceContext"
]
}
},
"required": [
"data"
]
}

Exceptions

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