{
  "opencollection": "1.0.0",
  "info": {
    "name": "LangWatch Agents Graphs API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Auth-Token",
      "value": "{{X-Auth-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Graphs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getApiGraphs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.langwatch.ai/api/graphs",
            "params": [
              {
                "name": "dashboardId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all custom graphs, optionally filtered by dashboard"
        },
        {
          "info": {
            "name": "postApiGraphs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.langwatch.ai/api/graphs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a custom graph on a dashboard"
        },
        {
          "info": {
            "name": "getApiGraphsById",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.langwatch.ai/api/graphs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a custom graph by its ID"
        },
        {
          "info": {
            "name": "patchApiGraphsById",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.langwatch.ai/api/graphs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a custom graph's name, definition, or filters"
        },
        {
          "info": {
            "name": "deleteApiGraphsById",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.langwatch.ai/api/graphs/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a custom graph"
        }
      ]
    }
  ],
  "bundled": true
}