Skip to main content
Version: 0.0.0


Locate your API key

Once you have finished the account and billing setup, you can generate your API key on the Credentials page under your account.

Use your API key

When calling the Anyscale Endpoints APIs, you must attach your API key as the bearer token as part of the request. For example:

curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "meta-llama/Llama-2-7b-chat-hf",
"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Hello!"}],
"temperature": 0.7

Manage your API keys

You can revoke API keys on the Credentials page.