cURL
curl --request GET \ --url https://api.onecli.sh/v1/user/api-key \ --header 'Authorization: Bearer <token>'
{ "apiKey": "<string>" }
Returns the current API key for the authenticated user in the current project.
Documentation IndexFetch the complete documentation index at: https://onecli.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key obtained from the dashboard or GET /user/api-key
GET /user/api-key
API key