Endpoints
    POST/desearch/monitors/{monitor_id}/webhook/test

    Send a test event

    Sends a signed `monitor.test` event with one sample item to the monitor's webhook and reports what your endpoint answered. Free.

    Base URL

    https://api.desearch.ai

    Implementation guidance

    Use Send a test event when your application needs fresh web results without maintaining its own crawler, social-data pipeline, or retrieval infrastructure. The endpoint returns structured data that can be consumed by agents, research tools, dashboards, and retrieval-augmented generation workflows. Keep the request focused on the minimum fields your workflow needs so responses remain fast and easy to validate.

    Send requests to POST /desearch/monitors/{monitor_id}/webhook/test with your Desearch API key in the authorization header. Treat the key as a server-side secret, validate all required parameters before sending the request, and handle non-2xx responses explicitly. Production integrations should use sensible timeouts, retry only transient failures with backoff, and record the response status and request identifier for troubleshooting.

    Test the example request below before integrating it into a larger workflow. Confirm that the returned fields, links, and timestamps meet your freshness requirements, then add schema validation at the application boundary. For agentic systems, preserve source URLs with the generated answer so users can inspect evidence and your application can avoid presenting unsupported claims.

    Path Parameters

    monitor_idstringrequired

    The `monitor_id` returned when the monitor was created.

    Responses

    200Successful Response
    400The monitor has no webhook
    401Unauthorized
    404Monitor not found
    422Validation Error
    500Internal Server Error
    Authorization

    Your API key is sent in the Authorization header.

    Request
    curl -X POST "https://api.desearch.ai/desearch/monitors/YOUR_MONITOR_ID/webhook/test" \
      -H "Authorization: YOUR_API_KEY" \
      -H "Content-Type: application/json"
    ResponseSchema
    {
      "delivered": true,
      "status_code": 0,
      "error": "string",
      "duration_ms": 0
    }

    Possible status codes:

    200401422429500