Skip to main content
POST
Send command to agent

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Resource ID

Body

application/json
type
string
required
command
string
required
args
string[]

Response

202 - application/json

Command queued

commandId
string
agentId
string
status
string
Example:

"queued"