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

# Validate Token

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

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.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
