Skip to main content
POST
Send command to agent

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

id
string
必填

Resource ID

请求体

application/json
type
string
必填
command
string
必填
args
string[]

响应

202 - application/json

Command queued

commandId
string
agentId
string
status
string
示例:

"queued"