/
DE
desplega-ai
/
Agent Swarm API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 1h ago · Updated 4h ago
View markdown
desplega-ai
Agent Swarm API
post
Write a script run journal step
v68
OpenAPI 3.1.0
raw.githubusercontent.com
2026-08-07
344
69
1.3 MB
Active Sessions
8
Agents
12
API Keys
8
ApprovalRequests
4
Apps
20
Assets
4
Budgets
5
Config
7
Debug
1
Ecosystem
1
Events
4
External APIs
1
Favorites
2
FS
9
Heartbeat
2
Inbox State
2
Integrations
2
KV
10
MCP OAuth
8
MCP Servers
8
Memory
12
Metrics
9
OAuth
6
Pages
17
Poll
2
Pricing
6
PromptTemplates
10
Repos
5
Schedules
7
Script Connections
21
Script Runs
10
get
List script workflow runs
post
Launch a durable script workflow run
get
Get a script workflow run with journal
delete
Cancel a script workflow run
get
Get a script run journal step
post
Write a script run journal step
post
Record a script run heartbeat
post
Update script run status from subprocess
post
Execute a raw LLM call for a script workflow
post
Create or wait for a script workflow agent task step
Scripts
16
Session Data
6
Sessions
2
Skills
17
Stats
6
Status
2
Task Templates
1
Tasks
21
Trackers
14
Users
12
Webhooks
5
WorkflowEvents
2
Workflows
17
Script Runs
Write a script run journal step
post
/api/internal/script-runs/{runId}/steps
Path parameters
runId
string
uuid
required
Request body
object
required
stepKey
string
required
stepType
string
required
{"stackTrail":"paths:/api/internal/script-runs/{runId}/steps:post:requestBody:content:application/json:schema:properties:config","oasType":"schema","type":"unknown"}
status
'completed'
|
'failed'
required
{"stackTrail":"paths:/api/internal/script-runs/{runId}/steps:post:requestBody:content:application/json:schema:properties:result","oasType":"schema","type":"unknown"}
error
string
durationMs
integer
Response
Journal step written
object
required
ok
true
required