---
title: "Analyze Table V2"
method: POST
path: "/copilot/quickchat/table-analysis/v2/plain/{table_name}"
tags: ["Copilot"]
---

# Analyze Table V2

`POST /copilot/quickchat/table-analysis/v2/plain/{table_name}`

## 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/copilot/quickchat/table-analysis/v2/plain/{table_name}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Analyze a SQL query and provide optimization recommendations

Args:
    query_id: The query ID to analyze
    instance_id: The Snowflake instance ID

## Path parameters

- `table_name` string, required

## Query parameters

- `instance_id` string

## Headers

- `x-tenant` string

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: Not supported for public user
- `403`: Not supported for public user
- `422`: Validation Error

## Changes

- **2026-10-14** `1b2d675195d7`: 1 warning
  - deleted the `query` request parameter `model_type`

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/copilot/quickchat/table-analysis/v2/plain/:table_name/post.md)

---

[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)
