API Keys
Create API key
POST
Create a gateway API key
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://litellm-rust.onrender.com/api/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "alice"
}
'{
"id": "<string>",
"label": "<string>",
"key": "<string>"
}curl --request POST \
--url https://litellm-rust.onrender.com/api/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "alice"
}
'{
"id": "<string>",
"label": "<string>",
"key": "<string>"
}