Skip to main content
Every tinyfish.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.

Agent

cancelRun

agent.cancelRun Cancel a pending or running run Risk: write
Input Output

cancelRuns

agent.cancelRuns Cancel up to 100 runs in one request Risk: write
Input Output

getRun

agent.getRun Get one run with its steps, screenshots and HTML artifacts Risk: read
Input Output

getRuns

agent.getRuns Get up to 100 runs by ID in one request Risk: read
Input Output

getStepHtml

agent.getStepHtml Get the full-page HTML snapshot captured at one step Risk: read
Input Output

getStepScreenshot

agent.getStepScreenshot Get the JPEG screenshot captured at one step of a run Risk: read
Input Output

listRuns

agent.listRuns List automation runs with status and date filters Risk: read
Input Output

run

agent.run Automate a goal on a live website and wait for the result (billed per step) Risk: write
Input
Output

runAsync

agent.runAsync Queue a web automation run and return its run ID (billed per step) Risk: write
Input
Output

runBatch

agent.runBatch Queue up to 100 automation runs in a single atomic request (billed per step) Risk: write
Input
Output

Browser

createSession

browser.createSession Start a cloud browser session and return its CDP connection URL Risk: write
Input
Output

terminateSession

browser.terminateSession Terminate a cloud browser session Risk: write
Input Output

usage

browser.usage List browser session usage and byte volumes Risk: read
Input Output

Fetch

fetch

fetch.fetch Fetch up to 10 URLs as markdown, HTML or JSON with cache revalidation Risk: read
Input Output

usage

fetch.usage List recent fetch requests and their outcomes Risk: read
Input Output

Profiles

create

profiles.create Create a Browser Context Profile Risk: write
Input Output

delete

profiles.delete Delete a profile and all of its saved cookies and sessions Risk: destructive · Irreversible
Input Output

get

profiles.get Get a profile with the domains it has saved state for Risk: read
Input Output

list

profiles.list List Browser Context Profiles Risk: read
Input: empty object Output

update

profiles.update Rename a profile or change its proxy country and default flag Risk: write
Input Output

Research

cancel

research.cancel Cancel a research run Risk: write
Input Output

get

research.get Get a research run with its plan, evidence and report Risk: read
Input Output

list

research.list List research runs with status and date filters Risk: read
Input Output

start

research.start Start a cited research run and return its research run ID Risk: write
Input
Output

search

search.search Search the web with intent, date, domain and academic filters Risk: read
Input Output

usage

search.usage List recent search requests and their stored results Risk: read
Input Output

Vault

list

vault.list List vault items and the credential IDs a run body can reference Risk: read
Input: empty object Output

Wallet

get

wallet.get Get the wallet balance, pending top-up and per-product rates Risk: read
Input: empty object Output