sdkDeterministic

Submit agent artifact

pipeline.submitAgentArtifact

Submit a validated external coding agent artifact to its claimed Agent Teams work order. The server verifies the live claim, bundle identity, bundle version, task type, artifact schema, and canonical evidence references, then stores the result for inspection and completes the preparation task. Submission does not approve, launch, mutate a campaign, or send outreach.

Parameters

workspaceId
string
Optional with an API key, inferred from the key.
workOrderIdrequired
string
No description.
claimTokenrequired
string
Lease token returned by claim-agent-work-order.
bundleIdrequired
string
Immutable execution bundle id returned by claim-agent-work-order.
bundleVersionrequired
number
Execution bundle version returned by claim-agent-work-order.
taskTyperequired
string
No description.
campaign_strategy | campaign_table_design | company_list_build | people_fanout | account_map | company_research | person_research | personalization_research | signal_research | icp_qualification | linkedin_connection_note | linkedin_dm | linkedin_followup | reply_classification | reply_draft | campaign_analysis | experiment_design | content_ideation | content_draft
artifactrequired
object
No description.

Example

TypeScripttypescript
await pipeline.submitAgentArtifact({
"workOrderId": "00000000-0000-4000-8000-000000000000",
"claimToken": "00000000-0000-4000-8000-000000000001",
"bundleId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bundleVersion": 1,
"taskType": "campaign_strategy",
"artifact": {}
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"workOrder": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"status": {
"type": "string"
},
"revision": {
"type": "number"
},
"artifacts": {
"type": "object"
},
"nextDecision": {
"type": "object"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"status",
"revision",
"artifacts",
"updatedAt"
]
}
},
"required": [
"workOrder"
]
}

Exceptions

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