EU Parliament Monitor — API Documentation - v0.8.59
    Preparing search index...
    • Execute the fetch_url tool call.

      Only URLs matching the IMF SDMX 3.0 allowlist are permitted. Non-matching or malformed URLs receive a JSON-RPC error response; HTTP errors and network failures also surface as errors.

      Parameters

      • id: string | number | null

        Request id to echo.

      • url: string | undefined

        URL to fetch.

      • fetchImpl: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        } = globalThis.fetch

        Injectable fetch implementation (defaults to global).

          • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
          • Parameters

            • input: URL | RequestInfo
            • Optionalinit: RequestInit

            Returns Promise<Response>

          • (input: string | URL | Request, init?: RequestInit): Promise<Response>
          • Parameters

            • input: string | URL | Request
            • Optionalinit: RequestInit

            Returns Promise<Response>

      Returns Promise<JsonRpcSuccess | JsonRpcError>

      JSON-RPC success or error.