---
title: "Extract Event From Url"
method: POST
path: "/events/discover-url"
tags: ["events"]
---

# Extract Event From Url

`POST /events/discover-url`

Extract event data from a user-provided URL.
Skips web search and LLM selection — goes directly to Browser Use extraction.
Returns a STREAM of NDJSON (Newline Delimited JSON) events.

Event Types:
- {"type": "status", "msg": "...", "step": "..."}
- {"type": "result", "data": [...events...]}
- {"type": "error", "msg": "..."}

## Query parameters

- `user_id` string, nullable

## Request body

- EventURLSearchRequest
  - `url` string, required
  - `name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/imperfect/apis/imperfect-api.md) · [All operations](https://skmtc.dev/imperfect/apis/imperfect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imperfect/imperfect-api/revisions/cc2293a44257/schema)
