{
  "info": {
    "_postman_id": "c17b039e-b159-4a9a-b4e7-65a2da882f8f",
    "name": "helicone-api Agent HeliconeSql API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:54:44.000Z",
    "updatedAt": "2026-07-28T01:54:44.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c17b039e-b159-4a9a-b4e7-65a2da882f8f"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "helicone-sql",
          "item": [
            {
              "name": "schema",
              "item": [
                {
                  "name": "Get database schema",
                  "id": "a03f8fde-09ee-460a-aa30-56fb2226bf47",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/helicone-sql/schema",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "helicone-sql",
                        "schema"
                      ]
                    },
                    "description": "Get ClickHouse schema (tables and columns)"
                  },
                  "response": [
                    {
                      "id": "c0eeed8f-d646-4554-ae2a-d07e30c4252e",
                      "name": "Array of table schemas with columns",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/schema",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "schema"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": [\n    {\n      \"table_name\": \"<string>\",\n      \"columns\": [\n        {\n          \"name\": \"<string>\",\n          \"type\": \"<string>\",\n          \"default_type\": \"<string>\",\n          \"default_expression\": \"<string>\",\n          \"comment\": \"<string>\",\n          \"codec_expression\": \"<string>\",\n          \"ttl_expression\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"type\": \"<string>\",\n          \"default_type\": \"<string>\",\n          \"default_expression\": \"<string>\",\n          \"comment\": \"<string>\",\n          \"codec_expression\": \"<string>\",\n          \"ttl_expression\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"table_name\": \"<string>\",\n      \"columns\": [\n        {\n          \"name\": \"<string>\",\n          \"type\": \"<string>\",\n          \"default_type\": \"<string>\",\n          \"default_expression\": \"<string>\",\n          \"comment\": \"<string>\",\n          \"codec_expression\": \"<string>\",\n          \"ttl_expression\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"type\": \"<string>\",\n          \"default_type\": \"<string>\",\n          \"default_expression\": \"<string>\",\n          \"comment\": \"<string>\",\n          \"codec_expression\": \"<string>\",\n          \"ttl_expression\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"error\": null\n}",
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-c0eeed8f-d646-4554-ae2a-d07e30c4252e"
                    }
                  ],
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-a03f8fde-09ee-460a-aa30-56fb2226bf47"
                }
              ],
              "id": "4d35c7ea-b0f2-4041-a601-914ec59ecd47",
              "createdAt": "2026-07-28T01:54:45.000Z",
              "updatedAt": "2026-07-28T01:54:45.000Z",
              "uid": "35240-4d35c7ea-b0f2-4041-a601-914ec59ecd47"
            },
            {
              "name": "execute",
              "item": [
                {
                  "name": "Execute SQL query",
                  "id": "44bcdde3-f48a-49e1-a32d-c4e30aeabcd0",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"sql\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/helicone-sql/execute",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "helicone-sql",
                        "execute"
                      ]
                    },
                    "description": "Execute a SQL query against ClickHouse"
                  },
                  "response": [
                    {
                      "id": "99bdad5c-16c9-46c4-bc4f-cd85b6ea58d8",
                      "name": "Query results with rows and metadata",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"sql\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/execute",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "execute"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": {\n    \"rowCount\": \"<double>\",\n    \"size\": \"<double>\",\n    \"elapsedMilliseconds\": \"<double>\",\n    \"rows\": [\n      {\n        \"aliqua_ce\": {},\n        \"elitee\": {}\n      },\n      {\n        \"tempora4\": {}\n      }\n    ]\n  },\n  \"error\": null\n}",
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-99bdad5c-16c9-46c4-bc4f-cd85b6ea58d8"
                    }
                  ],
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-44bcdde3-f48a-49e1-a32d-c4e30aeabcd0"
                }
              ],
              "id": "2034a7e3-55ec-4f2a-90ce-40a100d30961",
              "createdAt": "2026-07-28T01:54:45.000Z",
              "updatedAt": "2026-07-28T01:54:45.000Z",
              "uid": "35240-2034a7e3-55ec-4f2a-90ce-40a100d30961"
            },
            {
              "name": "download",
              "item": [
                {
                  "name": "Download query results as CSV",
                  "id": "e99bdeaf-a753-437c-8443-870522d83b88",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"sql\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/helicone-sql/download",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "helicone-sql",
                        "download"
                      ]
                    },
                    "description": "Execute a SQL query and download results as CSV"
                  },
                  "response": [
                    {
                      "id": "b0bcb5aa-8aee-4f82-9daa-787d4233338b",
                      "name": "URL to download the CSV file",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"sql\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/download",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "download"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": \"<string>\",\n  \"error\": null\n}",
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-b0bcb5aa-8aee-4f82-9daa-787d4233338b"
                    }
                  ],
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-e99bdeaf-a753-437c-8443-870522d83b88"
                }
              ],
              "id": "2e3e8a25-1047-4ca5-a3a8-411037e8d7b9",
              "createdAt": "2026-07-28T01:54:45.000Z",
              "updatedAt": "2026-07-28T01:54:45.000Z",
              "uid": "35240-2e3e8a25-1047-4ca5-a3a8-411037e8d7b9"
            },
            {
              "name": "saved-queries",
              "item": [
                {
                  "name": "bulk-delete",
                  "item": [
                    {
                      "name": "Bulk delete saved queries",
                      "id": "f16a8d22-18f4-44cc-8d94-bdc2f2bab427",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-queries/bulk-delete",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-queries",
                            "bulk-delete"
                          ]
                        },
                        "description": "Delete multiple saved queries at once"
                      },
                      "response": [
                        {
                          "id": "d0785a7b-7693-4f6f-b4b9-e7514e156c0c",
                          "name": "Ok",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"ids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/helicone-sql/saved-queries/bulk-delete",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "helicone-sql",
                                "saved-queries",
                                "bulk-delete"
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {},\n  \"error\": null\n}",
                          "createdAt": "2026-07-28T01:54:45.000Z",
                          "updatedAt": "2026-07-28T01:54:45.000Z",
                          "uid": "35240-d0785a7b-7693-4f6f-b4b9-e7514e156c0c"
                        }
                      ],
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-f16a8d22-18f4-44cc-8d94-bdc2f2bab427"
                    }
                  ],
                  "id": "fe87c512-083e-4e0a-9b61-290d686b29ac",
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-fe87c512-083e-4e0a-9b61-290d686b29ac"
                },
                {
                  "name": "List saved queries",
                  "id": "1fd72870-b9f3-497b-ac35-b3ec6f491417",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/helicone-sql/saved-queries",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "helicone-sql",
                        "saved-queries"
                      ]
                    },
                    "description": "Get all saved queries for the organization"
                  },
                  "response": [
                    {
                      "id": "69db4ed1-b849-45fe-9a6f-236ba58c957d",
                      "name": "Array of saved queries",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-queries",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-queries"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"organization_id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"sql\": \"<string>\",\n      \"created_at\": \"<string>\",\n      \"updated_at\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"organization_id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"sql\": \"<string>\",\n      \"created_at\": \"<string>\",\n      \"updated_at\": \"<string>\"\n    }\n  ],\n  \"error\": null\n}",
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-69db4ed1-b849-45fe-9a6f-236ba58c957d"
                    }
                  ],
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-1fd72870-b9f3-497b-ac35-b3ec6f491417"
                }
              ],
              "id": "05688f09-b879-4586-a349-354b1066df9d",
              "createdAt": "2026-07-28T01:54:45.000Z",
              "updatedAt": "2026-07-28T01:54:45.000Z",
              "uid": "35240-05688f09-b879-4586-a349-354b1066df9d"
            },
            {
              "name": "saved-query",
              "item": [
                {
                  "name": "{queryId}",
                  "item": [
                    {
                      "name": "Get saved query",
                      "id": "1eb7bc69-f39a-49d6-a1e5-425c08147c6d",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-query",
                            ":queryId"
                          ],
                          "variable": [
                            {
                              "id": "a7da5c0d-a91e-43e6-9a1f-0bf2219de16e",
                              "key": "queryId",
                              "value": "<string>",
                              "description": "(Required) The ID of the saved query"
                            }
                          ]
                        },
                        "description": "Get a specific saved query by ID"
                      },
                      "response": [
                        {
                          "id": "2963f0e5-f1bd-40fb-a7be-d94024381e7e",
                          "name": "The saved query details",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "helicone-sql",
                                "saved-query",
                                ":queryId"
                              ],
                              "variable": [
                                {
                                  "key": "queryId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"organization_id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"sql\": \"<string>\",\n    \"created_at\": \"<string>\",\n    \"updated_at\": \"<string>\"\n  },\n  \"error\": null\n}",
                          "createdAt": "2026-07-28T01:54:45.000Z",
                          "updatedAt": "2026-07-28T01:54:45.000Z",
                          "uid": "35240-2963f0e5-f1bd-40fb-a7be-d94024381e7e"
                        }
                      ],
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-1eb7bc69-f39a-49d6-a1e5-425c08147c6d"
                    },
                    {
                      "name": "Delete saved query",
                      "id": "467f2a31-1569-4588-9344-a364a3881734",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-query",
                            ":queryId"
                          ],
                          "variable": [
                            {
                              "id": "9cbb22dd-fd26-4318-9a8a-4354808d5898",
                              "key": "queryId",
                              "value": "<string>",
                              "description": "(Required) The ID of the saved query to delete"
                            }
                          ]
                        },
                        "description": "Delete a saved query by ID"
                      },
                      "response": [
                        {
                          "id": "ba31bb7c-27a2-4c1f-ad57-c02f9ae4e301",
                          "name": "Ok",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "helicone-sql",
                                "saved-query",
                                ":queryId"
                              ],
                              "variable": [
                                {
                                  "key": "queryId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {},\n  \"error\": null\n}",
                          "createdAt": "2026-07-28T01:54:45.000Z",
                          "updatedAt": "2026-07-28T01:54:45.000Z",
                          "uid": "35240-ba31bb7c-27a2-4c1f-ad57-c02f9ae4e301"
                        }
                      ],
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-467f2a31-1569-4588-9344-a364a3881734"
                    },
                    {
                      "name": "Update saved query",
                      "id": "6ea66f17-70c1-401c-9c87-dcdf3aba881f",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"sql\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-query",
                            ":queryId"
                          ],
                          "variable": [
                            {
                              "id": "5804fd61-d638-4dc6-9daa-3ceb938f51bf",
                              "key": "queryId",
                              "value": "<string>",
                              "description": "(Required) The ID of the saved query to update"
                            }
                          ]
                        },
                        "description": "Update an existing saved query"
                      },
                      "response": [
                        {
                          "id": "f4460e7e-2cec-4f0d-a840-faff7f5c87a7",
                          "name": "The updated saved query",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"sql\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/helicone-sql/saved-query/:queryId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "helicone-sql",
                                "saved-query",
                                ":queryId"
                              ],
                              "variable": [
                                {
                                  "key": "queryId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"organization_id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"sql\": \"<string>\",\n    \"created_at\": \"<string>\",\n    \"updated_at\": \"<string>\"\n  },\n  \"error\": null\n}",
                          "createdAt": "2026-07-28T01:54:45.000Z",
                          "updatedAt": "2026-07-28T01:54:45.000Z",
                          "uid": "35240-f4460e7e-2cec-4f0d-a840-faff7f5c87a7"
                        }
                      ],
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-6ea66f17-70c1-401c-9c87-dcdf3aba881f"
                    }
                  ],
                  "id": "59247adf-8113-448a-ac18-6bbe410cbbf2",
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-59247adf-8113-448a-ac18-6bbe410cbbf2"
                },
                {
                  "name": "Create saved query",
                  "id": "9d394332-299f-470e-81c3-0e456d6a939a",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"sql\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/helicone-sql/saved-query",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "helicone-sql",
                        "saved-query"
                      ]
                    },
                    "description": "Create a new saved query"
                  },
                  "response": [
                    {
                      "id": "7c02dca1-f91c-4da8-8ed8-494adcfee516",
                      "name": "Array containing the created saved query",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"sql\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/helicone-sql/saved-query",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "helicone-sql",
                            "saved-query"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"organization_id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"sql\": \"<string>\",\n      \"created_at\": \"<string>\",\n      \"updated_at\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"organization_id\": \"<string>\",\n      \"name\": \"<string>\",\n      \"sql\": \"<string>\",\n      \"created_at\": \"<string>\",\n      \"updated_at\": \"<string>\"\n    }\n  ],\n  \"error\": null\n}",
                      "createdAt": "2026-07-28T01:54:45.000Z",
                      "updatedAt": "2026-07-28T01:54:45.000Z",
                      "uid": "35240-7c02dca1-f91c-4da8-8ed8-494adcfee516"
                    }
                  ],
                  "createdAt": "2026-07-28T01:54:45.000Z",
                  "updatedAt": "2026-07-28T01:54:45.000Z",
                  "uid": "35240-9d394332-299f-470e-81c3-0e456d6a939a"
                }
              ],
              "id": "3b5a8d50-64f5-44b2-a237-d434908f7c97",
              "createdAt": "2026-07-28T01:54:45.000Z",
              "updatedAt": "2026-07-28T01:54:45.000Z",
              "uid": "35240-3b5a8d50-64f5-44b2-a237-d434908f7c97"
            }
          ],
          "id": "616f1616-f4c9-4c24-86e3-b90803fbac43",
          "createdAt": "2026-07-28T01:54:45.000Z",
          "updatedAt": "2026-07-28T01:54:45.000Z",
          "uid": "35240-616f1616-f4c9-4c24-86e3-b90803fbac43"
        }
      ],
      "id": "be4bbca0-7c2e-49af-a6fc-6da021314b28",
      "createdAt": "2026-07-28T01:54:45.000Z",
      "updatedAt": "2026-07-28T01:54:45.000Z",
      "uid": "35240-be4bbca0-7c2e-49af-a6fc-6da021314b28"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.helicone.ai/"
    }
  ]
}