openapi: 3.2.0 info: title: Sumo Logic App Management API description: '# Getting Started Welcome to the Sumo Logic API reference.' version: 1.0.0 x-logo: url: ./sumologic_logo.png servers: - url: https://api.au.sumologic.com/api/ description: AU deployment API server - url: https://api.ca.sumologic.com/api/ description: CA deployment API server - url: https://api.de.sumologic.com/api/ description: DE deployment API server - url: https://api.eu.sumologic.com/api/ description: EU deployment API server - url: https://api.fed.sumologic.com/api/ description: FED deployment API server - url: https://api.jp.sumologic.com/api/ description: JP deployment API server - url: https://api.kr.sumologic.com/api/ description: KR deployment API server - url: https://api.in.sumologic.com/api/ description: IN deployment API server - url: https://api.sumologic.com/api/ description: US1 deployment API server - url: https://api.us2.sumologic.com/api/ description: US2 deployment API server security: - basicAuth: [] tags: - name: App Management description: 'App installation API. View and install Sumo Logic Applications that deliver out-of-the-box dashboards, saved searches, and field extraction for popular data sources. For more information, see Sumo Logic Apps.' x-displayName: Apps (Beta) paths: /v1/apps: get: tags: - App Management summary: List Available Apps description: Lists all available apps from the App Catalog. operationId: listApps responses: '200': description: List of all available apps. content: application/json: schema: $ref: '#/components/schemas/ListAppsResult' default: description: Operation failed with an error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /v1/apps/{uuid}: get: tags: - App Management summary: Get An App By UUID description: Gets the app with the given universally unique identifier (UUID). operationId: getApp parameters: - name: uuid in: path description: The identifier of the app to retrieve. required: true schema: type: string format: uuid responses: '200': description: The retrieved app. content: application/json: schema: $ref: '#/components/schemas/App' default: description: Operation failed with an error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /v1/apps/{uuid}/install: post: tags: - App Management summary: Install An App By UUID description: Installs the app with given UUID in the folder specified using destinationFolderId. operationId: installApp parameters: - name: uuid in: path description: UUID of the app to install. required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/AppInstallRequest' required: true responses: '200': description: App install job has been scheduled. content: application/json: schema: $ref: '#/components/schemas/BeginAsyncJobResponse' default: description: App installation failed with an error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /v1/apps/install/{jobId}/status: get: tags: - App Management summary: App Install Job Status description: Get the status of an asynchronous app install request for the given job identifier. operationId: getAsyncInstallStatus parameters: - name: jobId in: path description: The identifier of the asynchronous install job. required: true schema: type: string responses: '200': description: The status of the app install job. content: application/json: schema: $ref: '#/components/schemas/AsyncJobStatus' default: description: App installation failed with an error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' components: schemas: ErrorResponse: required: - errors - id type: object properties: id: type: string description: An identifier for the error; this is unique to the specific API request. example: IUUQI-DGH5I-TJ045 errors: type: array description: A list of one or more causes of the error. example: - code: auth:password_too_short message: Your password was too short. - code: auth:password_character_classes message: Your password did not contain any non-alphanumeric characters items: $ref: '#/components/schemas/ErrorDescription' App: required: - appDefinition - appManifest type: object properties: appDefinition: $ref: '#/components/schemas/AppDefinition' appManifest: $ref: '#/components/schemas/AppManifest' ErrorDescription: required: - code - message type: object properties: code: type: string description: An error code describing the type of error. example: auth:password_too_short message: type: string description: A short English-language description of the error. example: Your password was too short. detail: type: string description: An optional fuller English-language description of the error. example: Your password was 5 characters long, the minimum length is 12 characters. See http://example.com/password for more information. meta: type: object description: An optional list of metadata about the error. example: minLength: 12 actualLength: 5 AppInstallRequest: required: - description - destinationFolderId - name type: object properties: name: maxLength: 128 minLength: 1 type: string description: Preferred name of the app to be installed. This will be the name of the app in the selected installation folder. example: Sumo Logic Configuration App description: maxLength: 255 minLength: 1 type: string description: Preferred description of the app to be installed. This will be displayed as the app description in the selected installation folder. example: Sumo Logic Configuration App to configure collectors and data sources destinationFolderId: type: string description: Identifier of the folder in which the app will be installed in hexadecimal format. example: 00000000000001C8 dataSourceValues: maxProperties: 1000 type: object additionalProperties: type: string description: Dictionary of properties specifying log-source name and value. example: logsrc: _sourceCategory = api description: JSON object containing name, description, destinationFolderId, and dataSourceType. AppManifest: required: - description - hoverText - iconURL type: object properties: family: type: string description: The app family example: IIS description: type: string description: Description of the app. example: A description for Sumo Logic Config App. categories: type: array description: Categories that the app belongs to. example: - Sumo Logic - Configuration items: type: string hoverText: type: string description: Text to be displayed when hovered over in UI. example: Sumo Config App iconURL: type: string description: App icon URL. example: https://sumologic-app-data.sumologic.com/icons/sumoconfig.png screenshotURLs: type: array description: App screenshot URLs. example: - https://sumologic-app-data.sumologic.com/icons/sumoconfig/overview.png - https://sumologic-app-data.sumologic.com/screenshots/sumoconfig/details.png items: type: string helpURL: type: string description: App help page URL. example: https://help.sumologic.com/ helpDocIdMap: maxProperties: 1000 type: object additionalProperties: type: string description: the IDs of the docs pages for this app communityURL: type: string description: App community page URL. example: https://support.sumologic.com/hc/en-us/community/topics/200263058-Applications-and-Integrations requirements: type: array description: Requirements for the app. example: [] items: type: string accountTypes: type: array description: Account types that are allowed to install the app example: - free items: type: string requiresInstallationInstructions: type: boolean description: Indicates whether installation instructions are required or not. example: false installationInstructions: type: string description: Installation instructions for the app. example: '' parameters: type: array description: Content identifier of the app. items: $ref: '#/components/schemas/ServiceManifestDataSourceParameter' author: type: string description: App author. example: Sumo Logic authorWebsite: type: string description: App author website URL. example: https://www.sumologic.com ListAppsResult: required: - apps type: object properties: apps: type: array description: An array of Apps items: $ref: '#/components/schemas/App' description: List of all available apps from the App Catalog. BeginAsyncJobResponse: required: - id type: object properties: id: type: string description: Identifier to get the status of an asynchronous job. example: C03E086C137F38B4 ServiceManifestDataSourceParameter: required: - parameterId - parameterType type: object properties: parameterType: pattern: ^DATA_SOURCE$ type: string description: Parameter type. example: DATA_SOURCE x-pattern-message: 'Supported parameter types include: DATA_SOURCE' parameterId: type: string description: Parameter identifier. example: paramId1 dataSourceType: pattern: ^(LOG|METRICS)$ type: string description: Data source type. example: LOG x-pattern-message: 'Supported data source types include: LOG, METRICS' label: type: string description: Label. example: Log label description: type: string description: Description. example: Log data source example: type: string description: Example. example: '' hidden: type: boolean description: Should the UI display? default: false AppDefinition: required: - appVersion - contentId - name - uuid type: object properties: contentId: type: string description: Content identifier of the app in hexadecimal format. example: 00000000000011AE uuid: type: string description: Unique identifier for the app. format: uuid example: 1c57fbc3-3141-4b12-aab3-5f40152bc3d9 name: type: string description: Name of the app. example: Sumo Config appVersion: type: string description: Version of the app. example: '1.0' preview: type: boolean description: Indicates whether the app is in preview or not. example: true manifestVersion: type: string description: Manifest version of the app example: '0.1' AsyncJobStatus: required: - status type: object properties: status: type: string description: Whether or not the request is in progress (`InProgress`), has completed successfully (`Success`), or has completed with an error (`Failed`). statusMessage: type: string description: Additional status message generated if the status is not `Failed`. error: $ref: '#/components/schemas/ErrorDescription' example: status: Success statusMessage: '' securitySchemes: basicAuth: type: http scheme: basic x-tagGroups: - name: Archive Management tags: - archiveManagement - name: Health Events tags: - healthEvents - name: Infrequent Data Tier tags: - logSearchesEstimatedUsage - name: Ingest Budgets Management V2 tags: - ingestBudgetManagementV2 - name: Library Management tags: - appManagement - appManagementV2 - contentManagement - dashboardManagement - folderManagement - lookupManagement - contentPermissions - logSearchesManagement - parsersLibraryManagement - name: Metrics tags: - metricsSearchesManagement - transformationRuleManagement - metricsQuery - metricsSearchesManagementV2 - name: Security Management tags: - accessKeyManagement - oauthManagement - accountManagement - passwordPolicy - policiesManagement - samlConfigurationManagement - serviceAllowlistManagement - serviceAccountManagement - scimUserManagement - name: Organizations Management tags: - orgsManagement - name: Settings Management tags: - connectionManagement - dynamicParsingRuleManagement - extractionRuleManagement - fieldManagementV1 - partitionManagement - scheduledViewManagement - logsDataForwardingManagement - dataDeletionRules - name: Tokens Management tags: - tokensLibraryManagement - name: Tracing tags: - traces - spanAnalytics - serviceMap - name: Users and Roles Management tags: - roleManagement - roleManagementV2 - userManagement - name: Threat Intel Ingest Management tags: - threatIntelIngest - threatIntelIngestProducer - name: OpenTelemetry Collector Management tags: - otCollectorManagementExternal - name: Source Template Management tags: - sourceTemplateManagementExternal - name: Schema Base Management tags: - schemaBaseManagement - name: Event Analytics Management tags: - eventAnalytics - name: Budget Management tags: - budgetManagement - name: Macro Management tags: - macroManagement - name: Muting Schedules Management tags: - mutingSchedulesLibraryManagement - name: SLO Management tags: - slosLibraryManagement - name: Monitor Management tags: - monitorsLibraryManagement