---
title: "Get Token"
method: GET
path: "/v2/token"
tags: ["auth"]
---

# Get Token

`GET /v2/token`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/v2/token`
- Auth: one of:
  - API key in header `Galileo-API-Key`
  - API key in header `Splunk-AO-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

## Query parameters

- `organization_id` string, uuid4, nullable
- `organization_slug` string, nullable

## Response `200`

Successful Response

- GetTokenResponse
  - `access_token` string, required
  - `token_type` string
  - `expires_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/galileo/apis/galileo-api.md) - [All operations](https://skmtc.dev/galileo/apis/galileo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/galileo/apis/galileo-api/revisions/441b96da8c30?raw)
