---
title: "Validate Token"
method: POST
path: "/api/v1/dbt/cloud/validate"
tags: ["DBT_CLOUD", "dbt_cloud"]
---

# Validate Token

`POST /api/v1/dbt/cloud/validate`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/api/v1/dbt/cloud/validate`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Validate a dbt Cloud API token without creating a connection.

Use this to verify credentials before creating a connection.

## Request body

- DbtCloudValidateTokenRequest: Request to validate a dbt Cloud API token.
  - `api_token` string, required: dbt Cloud service token
  - `account_id` string, required: dbt Cloud account ID
  - `api_base_url` string, nullable: API base URL (for single-tenant or regional deployments)

## Response `200`

Successful Response

- DbtCloudValidationResponse: Response after validating API token.
  - `valid` boolean, required
  - `account_id` string, nullable
  - `account_name` string, nullable
  - `message` string, nullable
  - `projects_discovered` integer, nullable
  - `environments_discovered` integer, nullable
  - `projects` DbtCloudDiscoveredProject[], nullable
    - `id` string, required
    - `name` string, nullable
    - `environments` DbtCloudDiscoveredEnvironment[]
      - `id` string, required
      - `name` string, nullable
      - `environment_type` string, nullable

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: Not found
- `422`: Validation Error

---

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