{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fast ACCOUNT_COSTS Copilot API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Copilot",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Tasks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/tasks",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Get Session History",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/session",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Create Session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/session",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Complete Chat",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/session/:session_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "session_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Chat",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/session/:session_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "session_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Get Tables",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/tables",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all violations.\n- table_id: search parameter"
        },
        {
          "info": {
            "name": "Quick Explain Query",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-explain/:query_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Quick Explain Query"
        },
        {
          "info": {
            "name": "Quick Explain Query V2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-explain/v2/:query_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Quick Explain Query V2"
        },
        {
          "info": {
            "name": "Quick Explain Query Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-group-explain/:query_hash",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_hash",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Quick Explain Query Group"
        },
        {
          "info": {
            "name": "Quick Explain Query Group V2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-group-explain/v2/:query_hash",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_hash",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Quick Explain Query Group V2"
        },
        {
          "info": {
            "name": "Process Inputs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/process_inputs",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Processes workflow inputs"
        },
        {
          "info": {
            "name": "Analyze Query V2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-analysis/v2/:query_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "model_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Analyze a SQL query and provide optimization recommendations\n\nArgs:\n    query_id: The query ID to analyze\n    model_type: The model to use for analysis (CLAUDE or DEEPSEEK)\n    instance_id: The Snowflake instance ID"
        },
        {
          "info": {
            "name": "Analyze Table V2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/table-analysis/v2/:table_name",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "table_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "model_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Analyze a Snowflake table and provide optimization recommendations\n\nArgs:\n    table_name: The complete table name (db.schema.table)\n    model_type: The model to use for analysis (CLAUDE or DEEPSEEK)\n    instance_id: The Snowflake instance ID"
        },
        {
          "info": {
            "name": "Analyze Query V2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-analysis/v2/plain/:query_id",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "query_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "model_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "include_sql",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Analyze a SQL query and provide optimization recommendations\n\nArgs:\n    query_id: The query ID to analyze\n    model_type: The model to use for analysis (CLAUDE or DEEPSEEK)\n    instance_id: The Snowflake instance ID"
        },
        {
          "info": {
            "name": "Analyze Table V2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/table-analysis/v2/plain/:table_name",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "table_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "model_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Analyze a SQL query and provide optimization recommendations\n\nArgs:\n    query_id: The query ID to analyze\n    model_type: The model to use for analysis (CLAUDE or DEEPSEEK)\n    instance_id: The Snowflake instance ID"
        },
        {
          "info": {
            "name": "Analyze Query Static Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-static-analysis",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Perform static analysis on a SQL query without executing it.\n\nThis endpoint analyzes the query structure to identify potential issues\nsuch as SELECT *, functions in JOIN/filter conditions, missing LIMIT,\nand Cartesian products.\n\nArgs:\n    request: Contains the SQL query and optional dialect (default: snowflake)\n\nReturns:\n    Analysis results with identified issues and recommendations"
        },
        {
          "info": {
            "name": "Get Table Metadata Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/copilot/quickchat/table-metadata",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get comprehensive table metadata, statistics, and clustering information.\n\nThis endpoint provides all data needed for table optimization analysis:\n- Table metadata (schema, columns, data types)\n- Table statistics (storage, read/write counts, costs)\n- Clustering information (if clustering keys exist)\n\nArgs:\n    request: Contains fully_qualified_names (list of database.schema.table)\n             and optional instance_id\n\nReturns:\n    Dictionary with table names as keys and optimization data as val"
        },
        {
          "info": {
            "name": "Get Query Optimization Guide Endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/copilot/quickchat/query-optimization-guide",
            "headers": [
              {
                "name": "x-tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "dialect",
                "value": "",
                "type": "query",
                "description": "SQL dialect (currently only snowflake supported)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the query optimization guide for a specific SQL dialect.\n\nThis endpoint returns best practices, workflow guidelines, and anti-patterns\nto avoid when optimizing queries."
        }
      ]
    }
  ],
  "bundled": true
}