Skip to main content
GET
Get automation stats

Authorizations

Authorization
string
header
required

An API key from Settings → API keys in the inDM app, sent as Authorization: Bearer indm_.... Keys belong to one workspace and carry a scope: read for GET routes and the validate dry run, full for everything. Keep keys on your server; never ship one to a browser or a mobile app.

Path Parameters

automation_id
string<uuid>
required

The automation id from List automations.

Query Parameters

days
integer
default:30

How many days back to count, ending now. From 1 to 90.

Required range: 1 <= x <= 90

Response

The automation's results over the window.

automation_id
string<uuid>
required
Example:

"9a4b1c7e-2d3f-4a5b-8c6d-1e2f3a4b5c6d"

name
string
required
Example:

"Spring guide reel"

status
enum<string>
required
Available options:
draft,
live,
paused
Example:

"live"

days
integer
required

The window these counts cover, in days, ending now.

Example:

30

times_triggered
integer
required

Comments that matched a keyword and fired the automation.

Example:

240

messages_sent
integer
required

Messages Instagram accepted.

Example:

231

messages_failed
integer
required

Messages Instagram refused. Account health says why.

Example:

3

messages_waiting
integer
required

Messages queued and not yet sent.

Example:

0