Monitors

Get a monitor

Get a monitor by id.

GET/v1/monitors/{id}
0credits
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
idstringrequiredpath

Monitor identifier.

min 1 chars

Response fields
19

Endpoint-specific response payload.

dataid
string

Stable identifier for the monitor.

min 1 chars

dataname
string

Display name for the monitor.

dataoperationId
string

Watchable public API operation this monitor polls.

dataparams
object

Canonicalized parameters used for each poll.

datastatus
string

Current lifecycle status of the monitor.

one of: active, paused, exhausted, broken

datastatusReason
stringnullable

Human-readable reason for the current status when set.

dataschedule

Polling schedule for a monitor: a fixed interval or a cron expression.

datanextRunAt
string

ISO-8601 timestamp for the monitor's next scheduled poll.

datawebhookEndpointId
stringnullable

Webhook endpoint this monitor delivers events to, if any.

dataspendCapCredits
integernullable

Optional monthly credit spend cap for this monitor.

≥ 0

dataspendThisMonth
integer

Credits spent by this monitor in the current billing month.

≥ 0

datacreatedAt
string

ISO-8601 timestamp for when the monitor was created.

dataupdatedAt
string

ISO-8601 timestamp for when the monitor was last updated.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.

Code example

curl "https://api.socialfetch.dev/v1/monitors/abc123" \
  -H "x-api-key: YOUR_API_KEY"

Responses

The requested monitor.