Commands

Execute Command

Execute a single protein command

Surgical Operations Pattern

  • POST = Create and execute command
  • Returns structured response (Philosophy v0.1.2)
post/api/commands/execute

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/commands/execute
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

command_typestring required
command_namestring required
payloadobject required
priorityinteger
timeout_msinteger
retry_countinteger

Response

Successful Response

successboolean required
command_uuidstring required
statusstring required
resultobject nullable
errorstring nullable
execution_time_msnumber nullable
warningsstring[] nullable

Changes

No recorded changes to this operation across all 1 revision of this API.