Api referenceToolsApiToolsStagehandAgent
POST /api/tools/stagehand/agent
Authorization
sessionAuth better-auth.session_token<token>
Better Auth session cookie
In: cookie
Request Body
application/json
task*string
startUrl*string
Format
urioutputSchema*object
variables*object
apiKey*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.nuxa.ai/api/tools/stagehand/agent" \ -H "Content-Type: application/json" \ -d '{ "task": "string", "startUrl": "http://example.com", "outputSchema": {}, "variables": {}, "apiKey": "string" }'{}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}