{
  "info": {
    "name": "Agentql — mcp.ai",
    "description": "REST API for the Agentql MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/agentql",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "agentql_create_remote_browser_session",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/remote/browser/session",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "remote",
            "browser",
            "session"
          ]
        },
        "description": "Tool to create a remote browser session. Use when you need to run browser automation on remote infrastructure.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"proxy\": {},\n  \"browser_profile\": \"\",\n  \"browser_ua_preset\": \"\",\n  \"inactivity_timeout_seconds\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agentql_get_usage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/usage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "usage"
          ]
        },
        "description": "Retrieves API usage statistics and subscription limits for the AgentQL account. Returns current billing cycle dates, lifetime usage limits, API key usage counts, and total account usage. Useful for mo",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agentql_query_data",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/query/data",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "query",
            "data"
          ]
        },
        "description": "Tool to query structured data as JSON from a web page using an AgentQL query or natural language prompt. Use after defining your query or prompt and a URL or HTML.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"html\": \"\",\n  \"query\": \"\",\n  \"params\": {},\n  \"prompt\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}