Season the swordfish cubes lightly with salt. Heat the olive oil in a skillet over medium-high heat and sear the fish for about 90 seconds total, just until the outside turns opaque. Set aside.
In the same skillet, sauté the diced sweet potato and red onion for 4 to 5 minutes, until the onion softens and the sweet potato starts to color at the edges. Let cool slightly.
In a large bowl, whisk the eggs, milk, salt, and pepper until fully combined.
Grease a 7-inch round pan that fits inside your Instant Pot. Spread the sweet potato and onion mixture evenly in the bottom, then scatter the seared swordfish over the top.
Pour the egg mixture over the fish and vegetables, then sprinkle the cheese on top.
Cover the pan tightly with foil. Pour 1 cup of water into the Instant Pot and set a trivet inside, then lower the pan onto the trivet.
Lock the lid, set the valve to sealing, and cook on high pressure for 18 minutes.
Let the pressure release naturally for 10 minutes, then carefully release any remaining pressure.
Remove the pan, uncover, and check that the center is set by inserting a knife; it should come out clean.
Let it rest for 5 minutes, top with fresh chives, and slice into wedges.