v1
latestOpenAPI 3.1.02026-07-2658119246.0 KBPublic API
Create Run
Creates a minimal persistent Web Search Agent and starts a run for it. The response includes web_search_agent_id for later agent and run queries.
post/v2/agents/runs
Request body
Example request
{
"input": "Find the 10 fastest growing AI startups in Europe and their latest funding rounds.",
"sources": {
"allow": [
{
"domains": [
"linkedin.com",
"crunchbase.com"
],
"title": "Professional networks"
}
],
"block": [
{
"domains": [
"linkedin.com",
"crunchbase.com"
],
"title": "Professional networks"
}
]
}
}Response
Successful Response
Example response
{
"id": "task_run_c0ffee00-0000-4000-8000-000000000000",
"web_search_agent_id": "wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00"
}