Try it now
Open the Anything API web app.
Get your API key
Create an account on the Console to get started.
Quick start
done event contains the function_id of the created function, which you can re-run later via the Notte CLI or SDK.
Request
A natural-language description of the task you want automated.
POST /api/anything/start
Response
The response is atext/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 thefunction_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. Thetotal_cost_usd field in the done event reports the exact cost for that run.
