> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting started with the REST API

In this quickstart, you will authenticate to the Nebius AI Cloud with your user account and make your first REST API request.

## Prerequisites

[Install and configure](/cli/install) the Nebius AI Cloud CLI.

You will use the CLI to get an access token for the REST API.

## Steps

### Get an access token

Create an access token for your user account:

```bash theme={null}
nebius iam get-access-token
```

The command returns an access token that is valid for 12 hours. You will add this token to your first API request.

### Make your first API request

Get the profile of your user account:

```bash theme={null}
curl --request GET \
  --url 'https://api.nebius.cloud/iam/v1/profiles' \
  --header 'Authorization: Bearer <access_token>'
```

Specify the access token that you created in the previous step. The response contains your user profile, confirming that the request was authenticated successfully.

## What's next

* Explore the [REST API reference](/rest-api/reference) to find other requests that you can make.
* [Create a Serverless AI job by using the REST API](/serverless/quickstart/jobs#run-a-serverless-ai-job).
