Okla. Stat. tit. 12, § 12-929
Costs to successful defendant as matter of course
Costs shall be allowed of course to any defendant, upon a
judgment in his favor in the actions mentioned in the last section.
R.L. 1910, § 5230.
Okla. Stat. tit. 12, § 12-929