KosmoKrator

automation

Airtop CLI for CI

Use the Airtop CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

8 functions 5 read 3 write API key auth

Airtop CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Airtop CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Airtop CLI for CI
kosmokrator integrations:configure airtop --set api_key="$AIRTOP_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call airtop.airtop_create_session '{"profile":"example_profile","proxy":"example_proxy"}' --json

Discovery Before Execution

Agents and scripts can inspect Airtop docs and schemas before choosing a function.

kosmo integrations:docs airtop --json
kosmo integrations:docs airtop.airtop_create_session --json
kosmo integrations:schema airtop.airtop_create_session --json
kosmo integrations:search "Airtop" --json
kosmo integrations:list --json

Useful Airtop CLI Functions

FunctionTypeParametersDescription
airtop.airtop_create_session Write profile, proxy Create a new cloud browser session in Airtop. A session is a container for one or more browser windows. Returns the session ID needed to create windows and interact with pages.
airtop.airtop_get_session Read session_id Get details of an existing Airtop browser session, including its status and associated windows.
airtop.airtop_create_window Write session_id, url, width, height Open a new browser window within an existing Airtop session. Optionally specify a starting URL to navigate to immediately.
airtop.airtop_get_window Read session_id, window_id Get details of a browser window in an Airtop session, including its current URL and status.
airtop.airtop_navigate Write session_id, window_id, url, wait_until Navigate a browser window to a specified URL in an Airtop session. Waits for the page to load before returning.
airtop.airtop_get_page_content Read session_id, window_id Extract the content of the currently loaded page in an Airtop browser window. Returns the page text content, which can be used for analysis, summarization, or data extraction.
airtop.airtop_list_sessions Read none List all active browser sessions in Airtop. Returns session IDs and their current status.
airtop.airtop_get_current_user Read none Get the profile of the currently authenticated Airtop user. Useful for verifying API credentials and checking account details.

Automation Notes

Related Airtop CLI Pages