Sumo Logic contentManagement API
Content management API.You can export, import, delete and copy content in your organization’s Library. For more information, see [Library](https://help.sumologic.com/?cid=5173). You can perform the request as a Content Administrator by using the `isAdminMode` parameter. For more information, see [Admin Mode](https://help.sumologic.com/docs/manage/content-sharing/admin-mode). ### ExampleThe following example uses API endpoints in the US1 deployment. Sumo Logic has several deployments that are assigned depending on the geographic location and the date an account is created. For details determining your account's deployment, see [API endpoints](https://help.sumologic.com/?cid=3011).The [Content Import API](#operation/beginAsyncImport) can be used to create or update a Search, Scheduled Search, or Dashboard. Here is an example creating a Scheduled Search:1. Get the identifier of your `Personal` folder. ```bash curl -X GET -u ":" https://api.sumologic.com/api/v2/content/folders/personal ``` Find the identifier of your `Personal` folder in the response. ```json { ... "id": "0000000006A2E86F", :" -H "Content-Type: application/json" -d @search.json https://api.sumologic.com/api/v2/content/folders/0000000006A2E86F/import ``` The data file `search.json` in the above command has the following `SavedSearchWithScheduleSyncDefinition`object. ```json // file: search.json { "type": "SavedSearchWithScheduleSyncDefinition", "name": "demo-scheduled-search", "description": "Runs every hour with timerange of 15m and sends email notifications", "search": { "queryText": "\"error\" and \"warn\"", "defaultTimeRange": "-15m", "byReceiptTime": false, "viewName": "", "viewStartTime": null, "queryParameters": [] }, "searchSchedule": { "cronExpression": "0 0/15 * * * ? *", "displayableTimeRange": "-15m", "parseableTimeRange": { "from": { "relativeTime": "-15m", "type": "RelativeTimeRangeBoundary" }, "to": null, "type": "BeginBoundedTimeRange" }, "timeZone": "America/Los_Angeles", "threshold": null, "notification": { "taskType": "EmailSearchNotificationSyncDefinition", "toList": [ "ops@acme.org" ], "subjectTemplate": "Search Results: {{SearchName}}", "includeQuery": true, "includeResultSet": true, "includeHistogram": true, "includeCsvAttachment": false }, "muteErrorEmails": false, "scheduleType": "1Hour", "parameters": [] } } ``` The response of above request will have the job identifier that you can use to track the statusof the import job. ```json { "id": "74DC17FA765C7443" } ```3. Use the job identifier from the import request to get the [status](#operation/getAsyncImportStatus) of the import job. ```bash curl -X GET -u ":" https://api.sumologic.com/api/v2/content/folders/0000000006A2E86F/import/74DC17FA765C7443/status ``` If you are importing a large item, you might have to wait for the import job to finish. The followingis an example response from a completed job. ```json { "status": "Success", "statusMessage": null, "error": null } ```
Sumo Logic contentManagement API is one of 61 APIs that Sumo Logic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Content Management. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.
This API exposes 13 operations across 13 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.
Requests are made against 10 base URLs: https://api.au.sumologic.com/api/, https://api.ca.sumologic.com/api/, https://api.de.sumologic.com/api/, https://api.eu.sumologic.com/api/, https://api.fed.sumologic.com/api/, https://api.jp.sumologic.com/api/, https://api.kr.sumologic.com/api/, https://api.in.sumologic.com/api/, https://api.sumologic.com/api/, https://api.us2.sumologic.com/api/.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Sumo Logic contentManagement API declares
1 security scheme
for authenticating requests.
It accepts HTTP basic authentication (basicAuth).
By default, every request must be authenticated.
Paths & Operations 13
Across 13 paths, the API surfaces 13 operations — 1 DELETE, 8 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.
Content management API. You can export, import, delete and copy content in your organization’s Library. For more information, see [Library](https://help.sumologic.com/?cid=5173).…
Schemas 11
The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are MetadataModel (4 properties), ErrorDescription (4 properties), ImportResult (3 properties), AsyncJobStatus (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Sumo Logic 12
Other APIs Sumo Logic publishes across the network.
This is an independent, third-party profile of Sumo Logic contentManagement API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.