Skip to main content
The Anything API lets you describe a task in plain English, and Notte will build, deploy, and run a web automation function for you — all through a single HTTP request. The response is an SSE stream so you can follow the agent’s progress in real time.

Try it now

Open the Anything API web app.

Get your API key

Create an account on the Console to get started.

Quick start

The API streams back SSE events as the agent works. When it’s done, the final done event contains the function_id of the created function, which you can re-run later via the Notte CLI or SDK.

Request

query
string
required
A natural-language description of the task you want automated.
POST /api/anything/start
Headers

Response

The response is a text/event-stream. Each line follows the SSE spec:

Event types

Terminal events

The stream ends after one of these events: done, error, timeout, or cancelled.

Example: done event

Re-running the created function

Once the agent finishes, it typically creates a reusable Notte Function. Use the function_id from the done event to run it again:

Consuming the SSE stream

Python

consume_sse.py

TypeScript

Error handling

If the stream connects successfully but the agent encounters an error, you will receive an error event in the SSE stream instead of an HTTP error status.

Pricing

Each request is billed based on the LLM usage incurred by the agent. The total_cost_usd field in the done event reports the exact cost for that run.