Endpoints
    GET/desearch/monitors/{monitor_id}/runs

    List a monitor's runs

    Runs newest first, with what each source returned, how many items were new and kept, and the cost. Free.

    Base URL

    https://api.desearch.ai

    Implementation guidance

    Use List a monitor's runs when your application needs search-grounded AI 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 GET /desearch/monitors/{monitor_id}/runs 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.

    Query Parameters

    limitinteger

    Default: 20

    cursorstring

    next_cursor from the previous page

    Responses

    200Successful Response
    400Invalid cursor
    401Unauthorized
    404Monitor not found
    422Validation Error
    500Internal Server Error
    Authorization

    Your API key is sent in the Authorization header.

    Request
    curl -X GET "https://api.desearch.ai/desearch/monitors/YOUR_MONITOR_ID/runs" \
      -H "Authorization: YOUR_API_KEY" \
      -H "Content-Type: application/json"
    ResponseSchema
    {
      "runs": [
        {
          "run_id": "Run Id",
          "monitor_id": "Monitor Id",
          "trigger": "schedule",
          "status": "queued",
          "fail_reason": "string",
          "window_start": "string",
          "window_end": "string",
          "item_count": 0,
          "stats": {},
          "summary": "string",
          "reserved_usd": 0,
          "cost_usd": 0,
          "created_at": "Created At",
          "started_at": "string",
          "finished_at": "string"
        }
      ],
      "next_cursor": "string"
    }

    Possible status codes:

    200401422429500