ah, I found one thing. for your action to show up in the API docs, you need to add:

# @API Accounts

above this line