{"id":19653566,"url":"https://github.com/sematext/sematext-api-client-go","last_synced_at":"2025-07-02T16:33:40.514Z","repository":{"id":45296659,"uuid":"243341296","full_name":"sematext/sematext-api-client-go","owner":"sematext","description":"Sematext API Client","archived":false,"fork":false,"pushed_at":"2024-07-22T14:34:31.000Z","size":349,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-21T11:08:30.054Z","etag":null,"topics":["alerting","api-client","cloud","go","golang","log-shipping","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sematext.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-26T18:56:07.000Z","updated_at":"2023-05-08T07:47:04.000Z","dependencies_parsed_at":"2022-09-14T05:12:04.739Z","dependency_job_id":null,"html_url":"https://github.com/sematext/sematext-api-client-go","commit_stats":null,"previous_names":["sematext/sematext-api-client"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsematext-api-client-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsematext-api-client-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsematext-api-client-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsematext-api-client-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sematext","download_url":"https://codeload.github.com/sematext/sematext-api-client-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251355435,"owners_count":21576358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alerting","api-client","cloud","go","golang","log-shipping","monitoring"],"created_at":"2024-11-11T15:14:31.907Z","updated_at":"2025-04-28T17:31:39.244Z","avatar_url":"https://github.com/sematext.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# \u003cimg src=\"https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png\" valign=\"bottom\" width=\"60px\"/\u003e**\u0026nbsp;\u0026nbsp;sematext-api-client-go**\n\n\u003cbr\u003e\n\n\u003e*A [Sematext Cloud](https://sematext.com/cloud/) API client, for interaction with Sematext Cloud solution monitoring, alerting and log shipping.*\n\n\u003cbr\u003e\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n\u003cbr\u003e\nOne of a family of clients in following flavours:\n\u003cbr\u003e\n\u003cbr\u003e\n\n* [sematext-api-client-javascript](https://github.com/sematext/sematext-api-client-javascript \"Javascript\")\n* [sematext-api-client-rust](https://github.com/sematext/sematext-api-client-rust \"Rust\")\n* [sematext-api-client-ruby](https://github.com/sematext/sematext-api-client-ruby \"Ruby\")\n* [sematext-api-client-python](https://github.com/sematext/sematext-api-client-python \"Python\")\n* [sematext-api-client-php](https://github.com/sematext/sematext-api-client-php \"PHP\")\n* [sematext-api-client-java](https://github.com/sematext/sematext-api-client-java \"Java\")\n* [sematext-api-client-go](https://github.com/sematext/sematext-api-client-go \"Go/Golang\")\n\n\u003cbr\u003e\nRefer to below link for deeper information on the API itself.\n\u003cbr\u003e\n\u003cbr\u003e\n\n* [Sematext Cloud API Reference](https://sematext.com/docs/api/ \"API Reference\")\n\n\u003cbr\u003e\n\n## Contents\n\n- [\u003cimg src=\"https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png\" valign=\"bottom\" width=\"60px\"/\u003e**\u0026nbsp;\u0026nbsp;sematext-api-client-go**](#sematext-api-client-go)\n  - [Contents](#contents)\n  - [Getting Started](#getting-started)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n  - [Authentication](#authentication)\n  - [Versioning](#versioning)\n  - [License](#license)\n  - [Acknowledgements](#acknowledgements)\n  - [Reference](#reference)\n  - [Documentation For Models](#documentation-for-models)\n\n\u003cbr\u003e\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\n* [Go](https://golang.org/) - v1.13.8\n\n\n### Installation\n\nPut the package under your project folder and add the following in import:\n```golang\nimport \"./stcloud\"\n```\n\n## Authentication\n\nThis client code requires a Sematext API Access token to function. You can find this by logging into your [Sematext Cloud Account](https://apps.sematext.com/ui/account/api)\n\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).\n\n\n## License\n\nThis project is licensed under the Apache License - see the [LICENSE](./LICENSE) file for details\n\n\n## Acknowledgements\n\nThis API client was initially generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.\n\n- API version: v3\n- Package version: 1.0.0\n\n\n## Reference\n\nAll URIs are relative to *https://localhost*\n\n| Class                      | Method                                                                                                           | HTTP request                                                        | Description                                                                                             |\n| -------------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| *AlertNotificationsAPI*    | [**GetAlertNotificationsForAppUsingPOST**](docs/AlertNotificationsAPI.md#getalertnotificationsforappusingpost)   | **Post** /users-web/api/v3/apps/{appID}/notifications/alerts        | Get alert notifications for an app                                                                      |\n| *AlertNotificationsAPI*    | [**GetAlertNotificationsForUserUsingPOST**](docs/AlertNotificationsAPI.md#getalertnotificationsforuserusingpost) | **Post** /users-web/api/v3/notifications/alerts                     | Get alert notifications for a user                                                                      |\n| *AlertsAPI*                | [**CreateAlertUsingPOST**](docs/AlertsAPI.md#createalertusingpost)                                               | **Post** /users-web/api/v3/alerts                                   | Create alert rule                                                                                       |\n| *AlertsAPI*                | [**DeleteAlertRuleUsingDELETE**](docs/AlertsAPI.md#deletealertruleusingdelete)                                   | **Delete** /users-web/api/v3/alerts/{updateableAlertID}             | Delete alert rule                                                                                       |\n| *AlertsAPI*                | [**DisableAlertRuleUsingPUT**](docs/AlertsAPI.md#disablealertruleusingput)                                       | **Put** /users-web/api/v3/alerts/{updateableAlertID}/disable        | Disable alert rule                                                                                      |\n| *AlertsAPI*                | [**EnableAlertRuleUsingPUT**](docs/AlertsAPI.md#enablealertruleusingput)                                         | **Put** /users-web/api/v3/alerts/{updateableAlertID}/enable         | Enable alert rule                                                                                       |\n| *AlertsAPI*                | [**GetAlertRulesForAppUsingGET**](docs/AlertsAPI.md#getalertrulesforappusingget)                                 | **Get** /users-web/api/v3/apps/{appID}/alerts                       | Get alert rules for an app                                                                              |\n| *AppsAPI*                  | [**GetAppTypesUsingGET**](docs/AppsAPI.md#getapptypesusingget)                                                   | **Get** /users-web/api/v3/apps/types                                | Get all App types supported for the account identified with apiKey                                      |\n| *AppsAPI*                  | [**GetUsingGET**](docs/AppsAPI.md#getusingget)                                                                   | **Get** /users-web/api/v3/apps/{anyStateAppID}                      | Gets defails for one particular App                                                                     |\n| *AppsAPI*                  | [**InviteAppGuestsUsingPOST**](docs/AppsAPI.md#inviteappguestsusingpost)                                         | **Post** /users-web/api/v3/apps/guests                              | Invite guests to an app                                                                                 |\n| *AppsAPI*                  | [**ListAppsUsersUsingGET**](docs/AppsAPI.md#listappsusersusingget)                                               | **Get** /users-web/api/v3/apps/users                                | Get all users of apps accessible to this account                                                        |\n| *AppsAPI*                  | [**ListUsingGET**](docs/AppsAPI.md#listusingget)                                                                 | **Get** /users-web/api/v3/apps                                      | Get all apps accessible by account identified with apiKey                                               |\n| *AppsAPI*                  | [**UpdateDescriptionUsingPUT**](docs/AppsAPI.md#updatedescriptionusingput)                                       | **Put** /users-web/api/v3/apps/{anyStateAppID}/description          | Update description of the app                                                                           |\n| *AppsAPI*                  | [**UpdateUsingPUT1**](docs/AppsAPI.md#updateusingput1)                                                           | **Put** /users-web/api/v3/apps/{anyStateAppID}                      | Update app                                                                                              |\n| *AwsSettingsControllerAPI* | [**UpdateUsingPUT**](docs/AwsSettingsControllerAPI.md#updateusingput)                                            | **Put** /users-web/api/v3/apps/{appID}/aws                          | Update App\u0026#39;s AWS CloudWatch settings                                                                |\n| *BillingAPI*               | [**GetDetailedInvoiceUsingGET**](docs/BillingAPI.md#getdetailedinvoiceusingget)                                  | **Get** /users-web/api/v3/billing/invoice/{service}/{year}/{month}  | Get invoice details                                                                                     |\n| *BillingAPI*               | [**ListAvailablePlansUsingGET**](docs/BillingAPI.md#listavailableplansusingget)                                  | **Get** /users-web/api/v3/billing/availablePlans                    | Get available plans                                                                                     |\n| *BillingAPI*               | [**UpdatePlanUsingPUT**](docs/BillingAPI.md#updateplanusingput)                                                  | **Put** /users-web/api/v3/billing/info/{appID}                      | Update plan for an app                                                                                  |\n| *LogsAppAPI*               | [**CreateLogseneApplication**](docs/LogsAppAPI.md#createlogseneapplication)                                      | **Post** /logsene-reports/api/v3/apps                               | Create Logs App                                                                                         |\n| *MetricsAPI*               | [**ListDataSeriesUsingPOST**](docs/MetricsAPI.md#listdataseriesusingpost)                                        | **Post** /spm-reports/api/v3/apps/{appID}/metrics/data              | Get metrics data points for an app                                                                      |\n| *MetricsAPI*               | [**ListFiltersUsingPOST1**](docs/MetricsAPI.md#listfiltersusingpost1)                                            | **Post** /spm-reports/api/v3/apps/{appID}/metrics/filters           | Get metrics filters and their values for an app                                                         |\n| *MetricsAPI*               | [**ListMetricsKeysUsingGET**](docs/MetricsAPI.md#listmetricskeysusingget)                                        | **Get** /spm-reports/api/v3/apps/{appID}/metrics/keys               | Get metrics keys for an app                                                                             |\n| *MetricsAPI*               | [**ListMetricsUsingGET**](docs/MetricsAPI.md#listmetricsusingget)                                                | **Get** /spm-reports/api/v3/apps/{appID}/metrics                    | Get metrics info for an app                                                                             |\n| *MonitoringAppAPI*         | [**CreateSpmApplication1**](docs/MonitoringAppAPI.md#createspmapplication1)                                      | **Post** /spm-reports/api/v3/apps                                   | Create Monitoring App                                                                                   |\n| *ResetPasswordAPI*         | [**ResetPasswordUsingPOST**](docs/ResetPasswordAPI.md#resetpasswordusingpost)                                    | **Post** /users-web/api/v3/account/password/reset                   | Reset Password                                                                                          |\n| *SavedQueriesAPI*          | [**DeleteSavedQueryUsingDELETE**](docs/SavedQueriesAPI.md#deletesavedqueryusingdelete)                           | **Delete** /users-web/api/v3/savedQueries/{updateableQueryID}       | Delete saved query                                                                                      |\n| *SavedQueriesAPI*          | [**GetSavedQueriesForAppUsingGET**](docs/SavedQueriesAPI.md#getsavedqueriesforappusingget)                       | **Get** /users-web/api/v3/apps/{appID}/savedQueries                 | Get saved queries for an app                                                                            |\n| *SavedQueriesAPI*          | [**SaveQueryUsingPOST**](docs/SavedQueriesAPI.md#savequeryusingpost)                                             | **Post** /users-web/api/v3/savedQueries                             | Create saved query                                                                                      |\n| *SavedQueriesAPI*          | [**SaveQueryUsingPUT**](docs/SavedQueriesAPI.md#savequeryusingput)                                               | **Put** /users-web/api/v3/savedQueries/{updateableQueryID}          | Update saved query                                                                                      |\n| *SubscriptionsAPI*         | [**ListUsingGET1**](docs/SubscriptionsAPI.md#listusingget1)                                                      | **Get** /users-web/api/v3/apps/{appID}/subscriptions                | Get subscriptions for an app                                                                            |\n| *SubscriptionsAPI*         | [**SendReportUsingPOST**](docs/SubscriptionsAPI.md#sendreportusingpost)                                          | **Post** /users-web/api/v3/apps/{appID}/report/send                 | Trigger emailing of report for an app                                                                   |\n| *TagAPIControllerAPI*      | [**GetTagNamesUsingGET1**](docs/TagAPIControllerAPI.md#gettagnamesusingget1)                                     | **Get** /spm-reports/api/v3/apps/{addIDs}/tagNames                  | Gets tag names for the given application identifiers appearing in the given time frame.                 |\n| *TagAPIControllerAPI*      | [**GetUsingGET1**](docs/TagAPIControllerAPI.md#getusingget1)                                                     | **Get** /spm-reports/api/v3/apps/{addIDs}/tags                      | Gets values for specified tags for the given application identifiers appearing in the given time frame. |\n| *TagAPIControllerAPI*      | [**GetUsingGET2**](docs/TagAPIControllerAPI.md#getusingget2)                                                     | **Get** /spm-reports/api/v3/apps/{addIDs}/metrics/filters           | Gets values for specified tags for the given application identifiers appearing in the given time frame. |\n| *TokensAPIControllerAPI*   | [**CreateAppToken**](docs/TokensAPIControllerAPI.md#createapptoken)                                              | **Post** /users-web/api/v3/apps/{appID}/tokens                      | Create new app token                                                                                    |\n| *TokensAPIControllerAPI*   | [**DeleteAppToken1**](docs/TokensAPIControllerAPI.md#deleteapptoken1)                                            | **Delete** /users-web/api/v3/apps/{appID}/tokens/{tokenID}          | Delete app token                                                                                        |\n| *TokensAPIControllerAPI*   | [**GetAppTokens1**](docs/TokensAPIControllerAPI.md#getapptokens1)                                                | **Get** /users-web/api/v3/apps/{appID}/tokens                       | Get app available tokens                                                                                |\n| *TokensAPIControllerAPI*   | [**RegenerateAppToken**](docs/TokensAPIControllerAPI.md#regenerateapptoken)                                      | **Post** /users-web/api/v3/apps/{appID}/tokens/{tokenID}/regenerate | Regenerate app token)                                                                                   |\n| *TokensAPIControllerAPI*   | [**UpdateAppToken**](docs/TokensAPIControllerAPI.md#updateapptoken)                                              | **Put** /users-web/api/v3/apps/{appID}/tokens/{tokenID}             | Update app token (enable/disable)                                                                       |\n\n\n\n## Documentation For Models\n\n - [AlertNotificationRequest](docs/AlertNotificationRequest.md)\n - [AlertRule](docs/AlertRule.md)\n - [AlertRuleScheduleTimeRangeDto](docs/AlertRuleScheduleTimeRangeDto.md)\n - [AlertRuleScheduleWeekdayDto](docs/AlertRuleScheduleWeekdayDto.md)\n - [App](docs/App.md)\n - [AppDescription](docs/AppDescription.md)\n - [AppMetadata](docs/AppMetadata.md)\n - [BasicAuthMethodDto](docs/BasicAuthMethodDto.md)\n - [BasicOrganizationDto](docs/BasicOrganizationDto.md)\n - [BillingInfo](docs/BillingInfo.md)\n - [CloudWatchSettings](docs/CloudWatchSettings.md)\n - [CreateAppInfo](docs/CreateAppInfo.md)\n - [DataSeriesFilter](docs/DataSeriesFilter.md)\n - [DataSeriesRequest](docs/DataSeriesRequest.md)\n - [FilterValue](docs/FilterValue.md)\n - [GenericAPIResponse](docs/GenericAPIResponse.md)\n - [Invitation](docs/Invitation.md)\n - [ModelError](docs/ModelError.md)\n - [NotificationIntegration](docs/NotificationIntegration.md)\n - [Plan](docs/Plan.md)\n - [ReportInfo](docs/ReportInfo.md)\n - [SavedQuery](docs/SavedQuery.md)\n - [ServiceIntegration](docs/ServiceIntegration.md)\n - [UpdateAppInfo](docs/UpdateAppInfo.md)\n - [UserInfo](docs/UserInfo.md)\n - [UserPermissions](docs/UserPermissions.md)\n - [UserRole](docs/UserRole.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fsematext-api-client-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsematext%2Fsematext-api-client-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fsematext-api-client-go/lists"}