curl --request POST \
--url https://api.webagent.cloud/run \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"prompt": "<string>",
"model": "gpt-4.1",
"provider": "openai",
"webhook_url": "<string>",
"json_schema": "<string>",
"auth_context_id": "<string>",
"timeout": 123
}'
{
"history": [
{
"is_done": true,
"success": true,
"extracted_content": "<string>",
"error": "<string>",
"include_in_memory": true
}
],
"result": "<any>",
"is_done": true,
"is_successful": true,
"status": "pending",
"screenshots": "<any>"
}
curl --request POST \
--url https://api.webagent.cloud/run \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"prompt": "<string>",
"model": "gpt-4.1",
"provider": "openai",
"webhook_url": "<string>",
"json_schema": "<string>",
"auth_context_id": "<string>",
"timeout": 123
}'
{
"history": [
{
"is_done": true,
"success": true,
"extracted_content": "<string>",
"error": "<string>",
"include_in_memory": true
}
],
"result": "<any>",
"is_done": true,
"is_successful": true,
"status": "pending",
"screenshots": "<any>"
}
Successful Response
Represents the complete response from the agent.