Skip to main content
Every agentql.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Browser Sessions

createRemoteBrowserSession

browserSessions.createRemoteBrowserSession Tool to create a remote browser session. Use when you need to run browser automation on remote infrastructure. Risk: write
Input
Output

Data

query

data.query 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. Risk: read
Input
Output

queryDocument

data.queryDocument Tool to extract structured data from PDF or image documents using an AgentQL query or natural language prompt. Accepts a file upload plus query or prompt. Risk: read
Input
Output

Usage

get

usage.get 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 monitoring quota consumption and planning usage. No parameters required - uses the authenticated API key from connection settings. Risk: read
Input: empty object Output