/
DE
desplega-ai
/
Agent Swarm API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 2h ago · Updated 1d ago
View markdown
desplega-ai
Agent Swarm API
post
Force-refresh the access token for an MCP server
v
latest
OpenAPI 3.1.0
raw.githubusercontent.com
2026-08-08
347
69
1.3 MB
Active Sessions
8
Agents
12
API Keys
8
ApprovalRequests
4
Apps
20
Assets
6
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
get
Probe OAuth metadata (PRMD + AS) for an MCP server
get
Get the current OAuth connection status for an MCP server
get
Start an OAuth flow. Redirects to the provider.
get
Build an OAuth authorize URL. Returns JSON so the browser can navigate without losing the Bearer auth header.
get
OAuth redirect target. Exchanges code -> tokens and redirects back to dashboard.
post
Force-refresh the access token for an MCP server
delete
Revoke and delete the OAuth token for an MCP server
post
Register a pre-existing OAuth client (DCR fallback)
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
Session Data
6
Sessions
2
Skills
17
Stats
6
Status
2
Task Templates
1
Tasks
21
Trackers
14
Users
13
Webhooks
5
WorkflowEvents
2
Workflows
17
MCP OAuth
Force-refresh the access token for an MCP server
post
/api/mcp-oauth/{mcpServerId}/refresh
Path parameters
mcpServerId
string
required
Request body
object
required
userId
string
Response
Refreshed token
object
required
ok
true
required
expiresAt
string
nullable
required
scope
string
nullable
required