Commands
Execute Command
Execute a client command
Commands are processed through Logic Engine command handlers. Supports wildcard triggers (e.g., "action.*").
Command format: category.action Examples:
- check.daily_reward
- action.draw_card
- game.level_up
- shop.purchase
- reward.claim
Args: request: Command request with command string and data current_user: Authenticated user context
Returns: Command execution results
post/api/command
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/command
- 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
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.