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"