Skip to content

Polling Status

Request

Get the current status of polling-based enrichment.

Overview

This endpoint provides information about the current polling status, including last poll time, records processed, watermark value, and next scheduled poll.

Response Fields

  • last_poll_time: ISO timestamp of last poll
  • records_processed: Number of records processed in last poll
  • watermark_value: Current watermark value
  • next_poll_time: ISO timestamp of next scheduled poll

Use Cases

  • Monitor polling performance
  • Debug enrichment issues
  • Verify watermark progression
  • Check polling schedule
Security
BearerAuth
curl -i -X GET \
  https://api-gateway.agenthq.withlantern.com/v1/triggers/polling/status \
  -H 'Authorization: Bearer <YOUR_ApiToken_HERE>'

Responses

Success Response

Bodyapplication/json
last_poll_timestring(Last Poll Time)required

ISO timestamp of last poll

records_processedinteger(Records Processed)required

Number of records processed in last poll

watermark_valuestring(Watermark Value)required

Current watermark value

next_poll_timestring(Next Poll Time)required

ISO timestamp of next scheduled poll

Response
{ "last_poll_time": "string", "records_processed": 0, "watermark_value": "string", "next_poll_time": "string" }