Dear Student,
KI3 is actually formed between K+ and I3- ions. In I3- ion there is a 3 centre 4 electron bond between I2 & I- ions, thus making the oxidation state of iodine as -1 as the oxidation states of I atoms in I2 is taken as zero.
KI3 ---> KI + I2
Here I2 has 0 oxidation state and in KI , +1 for K and -1 for I.
So,the oxidation state of I in KI3 is -1.
Regards