Admin API¶
Admin endpoints require admin role (server API key or JWT with admin role).
Health check¶
No authentication required.
Response¶
Restart gateway¶
Requests an in-place gateway restart. Requires config write permission.
Response¶
The gateway starts a replacement process with the same executable and arguments, then exits. This is what the GUI Restart Gateway button uses after provider, channel, MCP, or config changes.
Dead-letter queue (DLQ)¶
Failed agent invocations are pushed to the DLQ for inspection and retry.
List DLQ items¶
Query parameters¶
| Parameter | Default | Description |
|---|---|---|
queue |
— | Filter by agent ID |
limit |
50 |
Items per page |
offset |
0 |
Pagination offset |
Response¶
{
"total": 3,
"items": [
{
"id": "dlq_abc123",
"queue": "researcher",
"payload": { "session_id": "sess_xyz", "message": "..." },
"error_msg": "context deadline exceeded",
"attempts": 2,
"created_at": "2026-05-28T09:15:00Z",
"last_attempt_at": "2026-05-28T09:17:00Z"
}
]
}
Retry a DLQ item¶
Re-dispatches the failed message through the engine.
Response¶
Delete a DLQ item¶
Agent marketplace¶
List marketplace agents¶
Response¶
{
"agents": [
{
"id": "community/web-researcher",
"name": "Web Researcher",
"description": "Deep research agent with web search",
"author": "Soulacy Community",
"tags": ["research", "web"],
"installs": 142
}
]
}