---
title: "Poll an event subscription now"
method: POST
path: "/v1/agents/{agent_id}/event-subscriptions/{id}/poll"
tags: ["Connectors"]
---

# Poll an event subscription now

`POST /v1/agents/{agent_id}/event-subscriptions/{id}/poll`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/event-subscriptions/{id}/poll`
- Auth: HTTP bearer

Runs one poll immediately instead of waiting for the interval. The first
poll of a fresh subscription primes it; a subscription switched off by
repeated failures is switched back on if the poll succeeds. Human users
only. A failed poll returns 400 with the source's error and is recorded
on the subscription like a scheduled failure.

## Path parameters

- `agent_id` string, uuid, required
- `id` string, uuid, required

## Response `200`

Polled

- object
  - `emitted` integer, required
  - `subscription` EventSubscription, required
    - `id` string, uuid, required
    - `agent_id` string, uuid, required
    - `binding_id` string, uuid, required
    - `event_type` string, required
    - `interval_secs` integer, required
    - `is_active` boolean, required
    - `primed` boolean, required: False until the first poll has recorded what already exists. That poll emits nothing.
    - `next_poll_at` string, date-time, required
    - `last_polled_at` string, date-time, nullable
    - `last_error` string, nullable
    - `consecutive_errors` integer, required
    - `events_emitted` integer, required
    - `created_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `403`: Insufficient permissions
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
