Skip to main content
Actions are Yoshi’s safety layer for operations that modify financial data. Instead of executing immediately, mutating operations create a pending action that must be approved before taking effect.

Why actions exist

Financial operations — placing trades, creating accounts, transferring funds — carry real consequences. The action model ensures:
  • Every mutating operation requires explicit approval
  • You can review what will happen before it executes
  • Actions are auditable with full history
  • Integrations can propose operations that a human approves

The action lifecycle

Create an action

Actions are created automatically when you call mutating endpoints like paper trading. You can also create custom actions:

Check action status

Poll the action to check whether it’s been approved:

List and filter actions

View all actions with optional filters:

Approve or reject

Submit an approval decision programmatically:
You can also approve from the Yoshi web app using the approval_url returned when the action was created.

Use idempotency keys

Prevent duplicate actions when retrying:
If a pending action with the same idempotency key already exists, the API returns the existing action instead of creating a duplicate. A 409 Conflict is returned if the key matches but the parameters differ.

What’s next

Paper trading

See actions in practice with paper trades.

Idempotency

Prevent duplicate operations safely.
Last modified on April 17, 2026