windows
Query a page
Changed onSubmit a prompt that queries the content of a specific browser window. You may extract content from the page, or ask a question about the page and allow the AI to answer it (ex. Is the user logged in?).
post/v1/sessions/{sessionId}/windows/{windowId}/page-query
Request
- Base URLhttps://api.airtop.ai/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The session id for the window.
windowIdstring required
The Airtop window id of the browser window.
Request body
Response
Created
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
defaultwas added to the API
- warning
- info
api operation id
page-queryremoved and replaced withwindows_page-query
- info