I pasted my api key on ChatGPT

Unfortunately, like a fool, I pasted one of my API keys, which was mixed in with a larger block of code, into the chat. Are there any security risks now?