/
DE
desplega-ai
/
Agent Swarm API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 57m ago · Updated 6h ago
View markdown
desplega-ai
Agent Swarm API
patch
Enable/disable or relabel an external API endpoint
v69
OpenAPI 3.1.0
raw.githubusercontent.com
2026-08-08
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
Scripts
16
post
Create or update a reusable script
post
Run a reusable or inline script
post
Search reusable scripts
delete
Delete a reusable script
get
Get script signature and authoring types
get
List saved scripts
get
Get script SDK and stdlib type definitions
get
Get a saved script by id
get
List versions of a saved script
get
List external API endpoints for a script
post
Expose a script as an external HTTP API endpoint
get
Reveal an endpoint's bearer token
delete
Delete an external API endpoint
patch
Enable/disable or relabel an external API endpoint
post
Rotate an endpoint's bearer token
post
Generic MCP tool proxy for the scripts SDK bridge
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
Scripts
Enable/disable or relabel an external API endpoint
patch
/api/scripts/{id}/apis/{endpointId}
Path parameters
id
string
uuid
required
endpointId
string
required
Request body
object
required
enabled
boolean
label
string
nullable
Response
Updated endpoint
ScriptApiRecord
required
id
string
required
scriptId
string
required
agentId
string
required
authMode
'none'
|
'bearer'
required
enabled
boolean
required
label
string
nullable
required
callCount
number
required
lastUsedAt
string
nullable
required
createdAt
string
required