API Action (server-side) - how to get status code?

api.status
Its not available in picker.