What classifies as attempting suicide or being suicidal?

I saw my doctor about my mental health and she was taking my history. She asked me if I've ever attempted suicide before and I didn't know how to answer that question. I told her my story because I was too nervous to ask what exactly it means lol. Basically, I had severe depression before and I wanted to kill myself and had done research on ways to kill oneself and picked my method. But I didn't actually follow through with it (obviously lol I wouldn't be writing this if I had). Would it classify as attempting suicide, being suicidal, or suicidal ideation?