This could be a statement of contrition for an action, or, as Plato used it, an argument in its defense.
Apology