Hi Nathaniel,
What exactly are you trying to do?
API keys are generated for a user, either directly in the UI, through the rest API, or through CLI.
The API URL if you are looking to access the cloud API url would come from your workspace when you login.