Skip to content
Listener.comDevelopers

Reports

Shared reports, report templates and scheduled reports (report automations).

List shared reports

GET/v1/reports

Shared reports, newest first, with headline reach numbers, element ids, scope and share URLs. search matches title, template id or network name.

SDKlistener.reports.list()client.reports.list()

Query parameters

  • searchstringnullable
    Case-insensitive text filter.
  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Publish a shared report

POST/v1/reports

Publish a shared report with a frozen analytics snapshot and return its id and public URL. Needs "confirm": true because creating it publishes it: the page at urls.public is public and immutable (only DELETE /v1/reports/{report_id} changes it).

template_id is a built-in (network-overview, executive-summary, audio-template, social-reach, short-form, youtube-focused, cluster-overview, <platform>-focused …) or a custom id from GET /v1/report-templates; add_element_ids / remove_element_ids adjust its elements. time_range is 7d, 30d or 90d; on 90 days reach totals, trends and growth come from stored history while per-platform likes, comments and posts cover the last 30 days (noted in warnings). A dry run summarises the snapshot.

Show performance ("our average long form, short form and total reach across these 10 shows"): send show_performance with show_ids, metric_keys (1 to 8 clusters-page metric keys in tile order, e.g. avgLongFormReachPerCluster, avgShortFormReachPerCluster, totalReach; labels such as "Avg long form / cluster" are accepted), metric_source (element or saved: each show's saved clusters-page metrics), window (report or all), summary and title. It adds the table-show-performance element: one block of tiles per show, each computed from that show's own clusters exactly like the clusters page and never pooled; summary: true adds an "Across these shows" row whose counts and reach are summed and whose averages and rates are the mean of the per-show values. template_id can be left out to publish only this element; without show_ids the report is scoped to show_performance.show_ids. The per-show figures are frozen on the element (resolvedShowPerformance) and returned in details.show_performance, dry runs included.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires "confirm": true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.reports.create()client.reports.create()

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • titlestringrequired
    Title shown in Listener and on public pages.
  • template_idstringnullable
  • time_rangestring
    7d, 30d or 90d: the window the published snapshot covers.
    One of7d30d90d

    Default "30d"

  • add_element_idsarray of stringsnullable
  • remove_element_idsarray of stringsnullable
  • comparison_modestring
    previous_period or none.
    One ofprevious_periodnone

    Default "previous_period"

  • show_idsarray of stringsnullable
    Shows this request may reference (default: every show in the workspace).
  • show_performanceobjectnullable
    Settings for the "Show performance" report element (`table-show-performance`): one block of KPI tiles per show, each computed from that show's own clusters, never pooled across shows.
    Show child attributesHide child attributes
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200 · 201

Dry run: what would be created (nothing was written).

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • would_writeobjectrequired
    The fields that would be written, in the resource's snake_case shape.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • idstringnullable
    The resource id (null when a dry run creates something new).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when the write would be refused upstream (see error).
  • errorstringnullable
  • requires_confirmboolean
    Present (true) when the real request needs confirm: true (?confirm=true for DELETE): destructive or metered actions.
  • notestring
    What the real request needs, when requires_confirm is set.

Created.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve a report

GET/v1/reports/{report_id}

One shared report: metadata, scope, headline numbers, every element (KPIs, charts, tables, text) and, with include_data=true, the stored snapshot the public page renders. The snapshot is what was computed when the report was published; arrays over 200 items are truncated (data_truncated).

SDKlistener.reports.retrieve()client.reports.retrieve()

Path parameters

  • report_idstringrequired
    Shared report id (see GET /v1/reports).

Query parameters

  • include_databoolean

    Default true

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • idstringrequired
  • titlestringrequired
  • headlineobjectrequired
    Show child attributesHide child attributes
  • urlsobjectrequired
    Show child attributesHide child attributes
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • network_namestringnullable
  • time_rangestringnullable
  • comparison_modestringnullable
  • created_atstring (date-time)nullable
  • updated_atstring (date-time)nullable
  • created_bystringnullable
  • created_viastringnullable
  • is_automatedboolean

    Default false

  • is_testboolean

    Default false

  • template_idstringnullable
  • element_countinteger

    Default 0

  • element_idsarray of strings
  • element_metricsarray of strings
  • element_typesmap of integer
  • report_scopeobjectnullable
    Show child attributesHide child attributes
  • has_databoolean

    Default false

  • elementsarray of objects
    Show child attributesHide child attributes
  • dataobjectnullable
    The stored data snapshot (arrays truncated to 200 items when data_truncated).
  • data_keysarray of strings
  • data_truncatedboolean

    Default false

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Delete a shared report

DELETE/v1/reports/{report_id}

Permanently delete a shared report so its public page stops resolving, and list report automations whose last report still points at it (left as is, listed in warnings).

  • Send ?dry_run=true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires ?confirm=true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.reports.delete()client.reports.delete()

Path parameters

  • report_idstringrequired
    Shared report id (see GET /v1/reports).

Query parameters

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List report templates

GET/v1/report-templates

Report templates: the built-in ones plus the workspace's custom templates, with their element ids. Use a template's id as template_id in POST /v1/reports.

SDKlistener.reportTemplates.list()client.report_templates.list()

Query parameters

  • searchstringnullable
    Case-insensitive text filter.
  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Save a report template

POST/v1/report-templates

Save a custom report template from a list of element ids, in layout order. Valid ids come from GET /v1/report-elements (also listed as the element_ids enum); an unknown id answers 400 parameter_invalid with param: element_ids. Nothing is published; use the returned id as template_id in POST /v1/reports. show_performance (same fields as on POST /v1/reports) configures the template's table-show-performance element, appended when element_ids lacks it; a template stores settings only and every report built from it computes its own per-show figures.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.reportTemplates.create()client.report_templates.create()

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • namestringrequired
    Display name.
  • element_idsarray of stringsrequired
    Element ids from GET /v1/report-elements, in layout order.
    One ofchart-acast-trendchart-applePodcasts-trendchart-art19-trendchart-audio-trendchart-beehiiv-trendchart-buzzsprout-trendchart-captivate-trendchart-cluster-reach-distributionchart-facebook-trendchart-instagram-trendchart-kitNewsletter-trendchart-linkedin-trendchart-megaphone-trendchart-network-trendchart-omnystudio-trendchart-platform-breakdownchart-podbean-trendchart-podigee-trendchart-simplecast-trendchart-social-trendchart-spotify-trendchart-spreaker-trendchart-substack-trendchart-threads-trendchart-tiktok-trendchart-transistor-trendchart-twitter-trendchart-youtube-trendkpi-acast-avg-performancekpi-acast-reachkpi-applePodcasts-avg-performancekpi-applePodcasts-reachkpi-applepodcasts-avg-playskpi-applepodcasts-engaged-listenerskpi-applepodcasts-episodeskpi-applepodcasts-followerskpi-applepodcasts-hours-listenedkpi-applepodcasts-listenerskpi-applepodcasts-playskpi-applepodcasts-top-countrykpi-art19-avg-listenskpi-art19-avg-performancekpi-art19-downloads-24hkpi-art19-episodeskpi-art19-listenskpi-art19-reachkpi-audio-reachkpi-beehiiv-avg-performancekpi-beehiiv-clickskpi-beehiiv-engagementkpi-beehiiv-open-ratekpi-beehiiv-openskpi-beehiiv-postskpi-beehiiv-reachkpi-beehiiv-subscriberskpi-buzzsprout-reachkpi-captivate-avg-performancekpi-captivate-reachkpi-cluster-audio-reachkpi-cluster-avg-audio-reachkpi-cluster-avg-long-form-reachkpi-cluster-avg-reachkpi-cluster-avg-short-form-reachkpi-cluster-avg-social-reachkpi-cluster-avg-youtube-reachkpi-cluster-countkpi-cluster-long-form-reachkpi-cluster-short-form-reachkpi-cluster-social-reachkpi-cluster-total-reachkpi-cluster-youtube-reachkpi-facebook-avg-performancekpi-facebook-commentskpi-facebook-engagementkpi-facebook-followerskpi-facebook-likeskpi-facebook-reachkpi-facebook-shareskpi-facebook-viewskpi-instagram-avg-performancekpi-instagram-commentskpi-instagram-engagementkpi-instagram-followerskpi-instagram-likeskpi-instagram-playskpi-instagram-reachkpi-instagram-shareskpi-kitNewsletter-avg-performancekpi-kitNewsletter-clickskpi-kitNewsletter-engagementkpi-kitNewsletter-open-ratekpi-kitNewsletter-openskpi-kitNewsletter-postskpi-kitNewsletter-reachkpi-kitNewsletter-subscriberskpi-linkedin-avg-performancekpi-linkedin-commentskpi-linkedin-engagementkpi-linkedin-followerskpi-linkedin-impressionskpi-linkedin-reachkpi-linkedin-reactionskpi-linkedin-shareskpi-megaphone-avg-performancekpi-megaphone-reachkpi-network-reachkpi-omnystudio-avg-downloadskpi-omnystudio-avg-performancekpi-omnystudio-downloadskpi-omnystudio-episodeskpi-omnystudio-estimated-reachkpi-omnystudio-hours-listenedkpi-omnystudio-lifetime-downloadskpi-omnystudio-reachkpi-podbean-reachkpi-podigee-reachkpi-simplecast-avg-downloadskpi-simplecast-avg-performancekpi-simplecast-countrieskpi-simplecast-downloadskpi-simplecast-episodeskpi-simplecast-hours-listenedkpi-simplecast-reachkpi-simplecast-top-appkpi-simplecast-top-countrykpi-social-reachkpi-spotify-avg-performancekpi-spotify-avg-streamskpi-spotify-consumption-hourskpi-spotify-episodeskpi-spotify-followerskpi-spotify-ratingkpi-spotify-reachkpi-spotify-streamskpi-spotify-top-countrykpi-spreaker-reachkpi-substack-avg-performancekpi-substack-clickskpi-substack-engagementkpi-substack-open-ratekpi-substack-openskpi-substack-podcast-downloadskpi-substack-postskpi-substack-reachkpi-substack-subscriberskpi-substack-video-minuteskpi-substack-video-playskpi-threads-avg-performancekpi-threads-reachkpi-tiktok-avg-performancekpi-tiktok-commentskpi-tiktok-engagementkpi-tiktok-followerskpi-tiktok-likeskpi-tiktok-playskpi-tiktok-reachkpi-tiktok-shareskpi-transistor-avg-performancekpi-transistor-reachkpi-twitter-avg-performancekpi-twitter-engagementkpi-twitter-followerskpi-twitter-impressionskpi-twitter-likeskpi-twitter-reachkpi-twitter-replieskpi-twitter-retweetskpi-youtube-avg-performancekpi-youtube-reachtable-show-performancetable-shows-rankingtext-headertext-paragraph
  • descriptionstring
    Free-text description.

    Default ""

  • comparison_modestring
    previous_period or none.
    One ofprevious_periodnone

    Default "previous_period"

  • show_performanceobjectnullable
    Settings for the "Show performance" report element (`table-show-performance`): one block of KPI tiles per show, each computed from that show's own clusters, never pooled across shows.
    Show child attributesHide child attributes
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200 · 201

Dry run: what would be created (nothing was written).

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • would_writeobjectrequired
    The fields that would be written, in the resource's snake_case shape.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • idstringnullable
    The resource id (null when a dry run creates something new).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when the write would be refused upstream (see error).
  • errorstringnullable
  • requires_confirmboolean
    Present (true) when the real request needs confirm: true (?confirm=true for DELETE): destructive or metered actions.
  • notestring
    What the real request needs, when requires_confirm is set.

Created.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List report elements

GET/v1/report-elements

Every report element id (KPI tiles, charts, text blocks, tables) with its name, kind, category, description, metric and platform: the ids POST /v1/report-templates (element_ids) and POST /v1/reports (add_element_ids / remove_element_ids) accept. Filter with kind or platform.

SDKlistener.reports.elements.list()client.reports.elements.list()

Query parameters

  • kindstringnullable
    One ofkpicharttexttable
  • platformstringnullable
    A platform key (e.g. youtube, spotify, apple_podcasts, instagram).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

List report automations

GET/v1/report-automations

Scheduled reports (the older report automations: a report template sent on a daily, weekly or monthly schedule): template, frequency, time range, shows, delivery (email masked, Slack configured or not, never the webhook), enabled flag, last and next run, last report URLs and delivery guardrails. Workflow automations are under GET /v1/automations.

SDKlistener.reportAutomations.list()client.report_automations.list()

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Disable a report automation

POST/v1/report-automations/{automation_id}/disable

Disable a scheduled report (an older report automation) so it stops emailing or posting reports. Creating, enabling and deleting scheduled reports is app-only. Workflow automations are turned on and off with PUT /v1/automations/{automation_id}/status.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.reportAutomations.disable()client.report_automations.disable()

Path parameters

  • automation_idstringrequired
    Report automation id (see GET /v1/report-automations).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error