Get an automation
https://api.mentio.dev/v1/automations/{id}Authentication
AuthorizationBearer <token>RequiredAn API key (mk_live_...) from the dashboard or an OAuth access token. See Authentication.
Path parameters
idstringRequiredAutomation id (atm_...).
1 to ∞ charactersResponse
idstringRequiredAutomation id (atm_...).
namestringRequiredAutomation name, unique in the workspace.
enabledbooleanRequiredfalse: kept but not run.
filterobjectRequiredWhich mentions it acts on: the fields of GET /v1/mentions, like a view.
+-Show 46 propertiesHide 46 properties
qstringOptionalSubstring in the post text or the author's name.
1 to 200 characterskeywordIdsarray<string>OptionalOnly matches of any of these keywords.
0 to 50 itemsnotKeywordIdsarray<string>OptionalNever matches of these keywords.
0 to 50 itemskeywordKindsarray<string>OptionalOnly matches of keywords of any of these kinds: brand, competitor, topic.
brandcompetitortopic0 to 3 itemsnotKeywordKindsarray<string>OptionalNever matches of keywords of these kinds.
brandcompetitortopic0 to 3 itemsgroupIdsarray<string>OptionalOnly matches of keywords in any of these groups (grp_...).
0 to 50 itemsnotGroupIdsarray<string>OptionalNever matches of keywords in these groups.
0 to 50 itemsplatformsarray<string>OptionalOnly posts from any of these platforms.
0 to 20 items+-Show 18 enum valuesHide 18 enum values
blueskyhackernewsgithubstackoverflowdevtoredditxyoutubenewslinkedintiktokinstagramfacebookappstoregoogleplaytrustpilotgooglemapsrssnotPlatformsarray<string>OptionalNever posts from these platforms.
0 to 20 items+-Show 18 enum valuesHide 18 enum values
blueskyhackernewsgithubstackoverflowdevtoredditxyoutubenewslinkedintiktokinstagramfacebookappstoregoogleplaytrustpilotgooglemapsrssstatusstringOptionalOnly mentions in this status: open, ignored, done.
openignoreddonerelevantbooleanOptionaltrue: only mentions the classifier scored relevant; false: only the rest.
minRelevanceintegerOptionalOnly mentions scored at least this.
0 to 100minConfidencenumberOptionalOnly mentions whose classifier confidence is at least this.
0 to 1sentimentsarray<string>OptionalOnly these sentiments.
positiveneutralnegative0 to 3 itemsnotSentimentsarray<string>OptionalNever these sentiments; an unscored mention still passes.
positiveneutralnegative0 to 3 itemsintentsarray<string>OptionalOnly mentions carrying any of these intent or topic tags.
0 to 20 itemsnotIntentsarray<string>OptionalNever mentions carrying these tags.
0 to 20 itemsautomatedbooleanOptionaltrue: only posts that read as machine-made; false: only the rest.
languagesarray<string>OptionalOnly posts in any of these languages (ISO 639-1).
0 to 20 itemsnotLanguagesarray<string>OptionalNever posts in these languages; an unknown language still passes.
0 to 20 itemscountriesarray<string>OptionalOnly posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
0 to 100 items+-Show 60 enum valuesHide 60 enum values
uscamxbrarcoclpegbiefrdeesptitnlbechatsenodkfiplczrogrhuuarultlveetrilaesaegngkezamainpkbdlknpcnhktwjpkrsgmyidphvnthaunznotCountriesarray<string>OptionalNever posts whose author is in these countries; an unknown country still passes.
0 to 100 items+-Show 60 enum valuesHide 60 enum values
uscamxbrarcoclpegbiefrdeesptitnlbechatsenodkfiplczrogrhuuarultlveetrilaesaegngkezamainpkbdlknpcnhktwjpkrsgmyidphvnthaunzorganizationbooleanOptionaltrue: only posts by companies, brands and organizations; false: only posts by people.
tagsarray<string>OptionalOnly authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
0 to 20 itemsnotTagsarray<string>OptionalNever authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
0 to 20 itemslabelsarray<string>OptionalOnly mentions carrying any of these labels (exact, case-sensitive).
0 to 20 itemsnotLabelsarray<string>OptionalNever mentions carrying any of these labels.
0 to 20 itemslinkHostsarray<string>OptionalOnly posts linking to any of these hosts, the host itself or a subdomain of it.
0 to 20 itemsnotLinkHostsarray<string>OptionalNever posts linking to these hosts.
0 to 20 itemssubredditsarray<string>OptionalOnly Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
0 to 50 itemsnotSubredditsarray<string>OptionalNever Reddit posts from these subreddits; posts from other platforms still pass.
0 to 50 itemsminFollowersintegerOptionalOnly authors with at least this many followers; unknown reach never passes.
0 to ∞maxFollowersintegerOptionalOnly authors with at most this many followers; unknown reach never passes.
0 to ∞isReplybooleanOptionaltrue: only replies and comments; false: only top-level posts.
kindstringOptionalOnly posts (post), only comments (comment) or only GitHub repository events (repository).
postcommentrepositorynotAuthorsarray<string>OptionalNever these authors: display names, handles or profile URLs.
0 to 200 itemsexcludeAuthorsarray<string>OptionalDeprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
0 to 200 itemsratingsarray<integer>OptionalOnly app store reviews with any of these star ratings; every other post fails it.
0 to 5 itemsnotRatingsarray<integer>OptionalNever reviews with these star ratings; posts that are not reviews still pass.
0 to 5 itemsminLikesintegerOptionalOnly posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minRepostsintegerOptionalOnly posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minRepliesintegerOptionalOnly posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minQuotesintegerOptionalOnly posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minViewsintegerOptionalOnly posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minBookmarksintegerOptionalOnly posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞anyOfarray<object>OptionalOR across groups: a mention passes when it meets every condition of at least one group, and the other conditions too. A group takes view-filter conditions, no anyOf of its own. See anyOf.
1 to 10 items+-Show 45 propertiesHide 45 properties
qstringOptionalSubstring in the post text or the author's name.
1 to 200 characterskeywordIdsarray<string>OptionalOnly matches of any of these keywords.
0 to 50 itemsnotKeywordIdsarray<string>OptionalNever matches of these keywords.
0 to 50 itemskeywordKindsarray<string>OptionalOnly matches of keywords of any of these kinds: brand, competitor, topic.
brandcompetitortopic0 to 3 itemsnotKeywordKindsarray<string>OptionalNever matches of keywords of these kinds.
brandcompetitortopic0 to 3 itemsgroupIdsarray<string>OptionalOnly matches of keywords in any of these groups (grp_...).
0 to 50 itemsnotGroupIdsarray<string>OptionalNever matches of keywords in these groups.
0 to 50 itemsplatformsarray<string>OptionalOnly posts from any of these platforms.
0 to 20 items+-Show 18 enum valuesHide 18 enum values
blueskyhackernewsgithubstackoverflowdevtoredditxyoutubenewslinkedintiktokinstagramfacebookappstoregoogleplaytrustpilotgooglemapsrssnotPlatformsarray<string>OptionalNever posts from these platforms.
0 to 20 items+-Show 18 enum valuesHide 18 enum values
blueskyhackernewsgithubstackoverflowdevtoredditxyoutubenewslinkedintiktokinstagramfacebookappstoregoogleplaytrustpilotgooglemapsrssstatusstringOptionalOnly mentions in this status: open, ignored, done.
openignoreddonerelevantbooleanOptionaltrue: only mentions the classifier scored relevant; false: only the rest.
minRelevanceintegerOptionalOnly mentions scored at least this.
0 to 100minConfidencenumberOptionalOnly mentions whose classifier confidence is at least this.
0 to 1sentimentsarray<string>OptionalOnly these sentiments.
positiveneutralnegative0 to 3 itemsnotSentimentsarray<string>OptionalNever these sentiments; an unscored mention still passes.
positiveneutralnegative0 to 3 itemsintentsarray<string>OptionalOnly mentions carrying any of these intent or topic tags.
0 to 20 itemsnotIntentsarray<string>OptionalNever mentions carrying these tags.
0 to 20 itemsautomatedbooleanOptionaltrue: only posts that read as machine-made; false: only the rest.
languagesarray<string>OptionalOnly posts in any of these languages (ISO 639-1).
0 to 20 itemsnotLanguagesarray<string>OptionalNever posts in these languages; an unknown language still passes.
0 to 20 itemscountriesarray<string>OptionalOnly posts whose author is in any of these countries (ISO 3166-1 alpha-2: us, in, de). An unknown country never passes.
0 to 100 items+-Show 60 enum valuesHide 60 enum values
uscamxbrarcoclpegbiefrdeesptitnlbechatsenodkfiplczrogrhuuarultlveetrilaesaegngkezamainpkbdlknpcnhktwjpkrsgmyidphvnthaunznotCountriesarray<string>OptionalNever posts whose author is in these countries; an unknown country still passes.
0 to 100 items+-Show 60 enum valuesHide 60 enum values
uscamxbrarcoclpegbiefrdeesptitnlbechatsenodkfiplczrogrhuuarultlveetrilaesaegngkezamainpkbdlknpcnhktwjpkrsgmyidphvnthaunzorganizationbooleanOptionaltrue: only posts by companies, brands and organizations; false: only posts by people.
tagsarray<string>OptionalOnly authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
0 to 20 itemsnotTagsarray<string>OptionalNever authors tagged with any of these, in the workspace's tags or those of the mention's own keyword group.
0 to 20 itemslabelsarray<string>OptionalOnly mentions carrying any of these labels (exact, case-sensitive).
0 to 20 itemsnotLabelsarray<string>OptionalNever mentions carrying any of these labels.
0 to 20 itemslinkHostsarray<string>OptionalOnly posts linking to any of these hosts, the host itself or a subdomain of it.
0 to 20 itemsnotLinkHostsarray<string>OptionalNever posts linking to these hosts.
0 to 20 itemssubredditsarray<string>OptionalOnly Reddit posts from any of these subreddits (names without the r/, any case); every other post fails it.
0 to 50 itemsnotSubredditsarray<string>OptionalNever Reddit posts from these subreddits; posts from other platforms still pass.
0 to 50 itemsminFollowersintegerOptionalOnly authors with at least this many followers; unknown reach never passes.
0 to ∞maxFollowersintegerOptionalOnly authors with at most this many followers; unknown reach never passes.
0 to ∞isReplybooleanOptionaltrue: only replies and comments; false: only top-level posts.
kindstringOptionalOnly posts (post), only comments (comment) or only GitHub repository events (repository).
postcommentrepositorynotAuthorsarray<string>OptionalNever these authors: display names, handles or profile URLs.
0 to 200 itemsexcludeAuthorsarray<string>OptionalDeprecated: use notAuthors, the same filter. Both may be given; every author named in either is hidden.
0 to 200 itemsratingsarray<integer>OptionalOnly app store reviews with any of these star ratings; every other post fails it.
0 to 5 itemsnotRatingsarray<integer>OptionalNever reviews with these star ratings; posts that are not reviews still pass.
0 to 5 itemsminLikesintegerOptionalOnly posts with at least this many likes (upvotes, reactions), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minRepostsintegerOptionalOnly posts with at least this many reposts (shares, retweets), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minRepliesintegerOptionalOnly posts with at least this many replies (comments), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minQuotesintegerOptionalOnly posts with at least this many quotes, as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minViewsintegerOptionalOnly posts with at least this many views (plays), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞minBookmarksintegerOptionalOnly posts with at least this many bookmarks (saves), as the platform reported them when the post was found. A post without that count never passes.
0 to ∞actionsobjectRequiredWhat it does to each mention the filter selects.
+-Show 2 propertiesHide 2 properties
addLabelsarray<string>RequiredLabels it adds.
assigneeIdstringnullableRequiredThe member it assigns, or null.
createdAtstringRequiredISO 8601 timestamp, UTC.
updatedAtstringRequiredISO 8601 timestamp, UTC.
+-Show 1 propertyHide 1 property
errorobjectRequiredThe error.
+-Show 4 propertiesHide 4 properties
codestringRequiredStable machine-readable code; branch on this, never on the message. Codes are additive: a client should treat one it does not know as a generic failure of the same status.
+-Show 49 enum valuesHide 49 enum values
unauthorizedforbiddenread_only_keyvalidation_errornot_foundinvalid_cursorpayload_too_largeidempotency_key_in_useidempotency_key_reusedrate_limitedduplicate_keywordinsufficient_balancekeyword_limit_reachedbilling_not_configuredorder_not_creditedschedule_requiredunknown_channelnot_a_digesthourly_email_unsupportedslack_not_connectedslack_not_configuredtelegram_not_configuredfeed_unreadablefeed_login_requiredfeed_login_expiredfeed_limit_reachedfeed_auth_not_configuredemail_not_configuredinvalid_assigneeclassification_pendinginvalid_memberalready_memberlast_ownerduplicate_segmentfilter_too_complexduplicate_viewduplicate_automationautomation_filter_unreadableautomation_limit_reachedduplicate_groupdefault_groupdefault_group_contextgroup_changedinvalid_signaturewebhook_not_configuredinvalid_tokenprotected_userupstream_unavailableinternal_errormessagestringRequiredHuman-readable detail; may change between releases.
requestIdstringOptionalThe id of this request (also the X-Request-Id response header); quote it to support.
retryAfterSecondsintegerOptionalFor rate_limited and other retryable errors: how long to wait before retrying (mirrors the Retry-After header).
+-Show 1 propertyHide 1 property
errorobjectRequiredThe error.
+-Show 4 propertiesHide 4 properties
codestringRequiredStable machine-readable code; branch on this, never on the message. Codes are additive: a client should treat one it does not know as a generic failure of the same status.
+-Show 49 enum valuesHide 49 enum values
unauthorizedforbiddenread_only_keyvalidation_errornot_foundinvalid_cursorpayload_too_largeidempotency_key_in_useidempotency_key_reusedrate_limitedduplicate_keywordinsufficient_balancekeyword_limit_reachedbilling_not_configuredorder_not_creditedschedule_requiredunknown_channelnot_a_digesthourly_email_unsupportedslack_not_connectedslack_not_configuredtelegram_not_configuredfeed_unreadablefeed_login_requiredfeed_login_expiredfeed_limit_reachedfeed_auth_not_configuredemail_not_configuredinvalid_assigneeclassification_pendinginvalid_memberalready_memberlast_ownerduplicate_segmentfilter_too_complexduplicate_viewduplicate_automationautomation_filter_unreadableautomation_limit_reachedduplicate_groupdefault_groupdefault_group_contextgroup_changedinvalid_signaturewebhook_not_configuredinvalid_tokenprotected_userupstream_unavailableinternal_errormessagestringRequiredHuman-readable detail; may change between releases.
requestIdstringOptionalThe id of this request (also the X-Request-Id response header); quote it to support.
retryAfterSecondsintegerOptionalFor rate_limited and other retryable errors: how long to wait before retrying (mirrors the Retry-After header).