How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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/.

13 operations 13 paths 11 schemas 1 DELETE8 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.sumologic.com/api
Authentication
HTTP Basic
Resource Areas
1

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.

contentManagement 13

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).…

GET
/v2/content/path
Get Content Item By Path.
getItemByPath 1 param → 200default
GET
/v2/content/{contentId}/path
Get Path Of An Item.
getPathById 1 param → 200default
POST
/v2/content/{id}/export
Start A Content Export Job.
beginAsyncExport 2 params → 200default
GET
/v2/content/{contentId}/export/{jobId}/status
Content Export Job Status.
getAsyncExportStatus 3 params → 200default
GET
/v2/content/{contentId}/export/{jobId}/result
Content Export Job Result.
getAsyncExportResult 3 params → 200default
POST
/v2/content/folders/{folderId}/import
Start A Content Import Job.
beginAsyncImport 3 params body → 200default
GET
/v2/content/folders/{folderId}/import/{jobId}/status
Content Import Job Status.
getAsyncImportStatus 3 params → 200default
GET
/v2/content/folders/{folderId}/import/{jobId}/result
Content Import Job Result.
getAsyncImportResult 3 params → 200default
DELETE
/v2/content/{id}/delete
Start A Content Deletion Job.
beginAsyncDelete 2 params → 200default
GET
/v2/content/{id}/delete/{jobId}/status
Content Deletion Job Status.
getAsyncDeleteStatus 3 params → 200default
POST
/v2/content/{id}/copy
Start A Content Copy Job.
beginAsyncCopy 3 params → 200default
GET
/v2/content/{id}/copy/{jobId}/status
Content Copy Job Status.
asyncCopyStatus 3 params → 200default
POST
/v2/content/{id}/move
Move An Item.
moveItem 3 params → 200default

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.

ContentPath
object
2 properties 1 required
BeginAsyncJobResponse
object
1 property 1 required
Content
object
MetadataModel
object
4 properties 4 required
ImportResult
object
3 properties
ErrorResponse
object
2 properties 2 required
PathSegment
object
A segment of a path.
3 properties 2 required
ErrorDescription
object
4 properties 2 required
AsyncJobStatus
object
3 properties 1 required
ContentSyncDefinition
object
2 properties 2 required
ImportErrorResultItem
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

sumo-logic-contentmanagement-api-openapi.yml Raw ↑

Other APIs Sumo Logic publishes across the network.

Sumo Logic accessKeyManagement API
Sumo Logic accountManagement API
Sumo Logic appManagement API
Sumo Logic appManagementV2 API
Sumo Logic archiveManagement API
Sumo Logic budgetManagement API
Sumo Logic connectionManagement API
Sumo Logic contentPermissions API
Sumo Logic dashboardManagement API
Sumo Logic dataDeletionRules API
Sumo Logic dataMaskingManagement API
Sumo Logic dynamicParsingRuleManagement API
Where this information came from

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.