circle-info
Squadcast is now SolarWinds Incident Response

Incidents.Export

Overview

Available Operations

export_async

  • This is an async API, once the request is made the export will start in our workers. You will get a download link to your registered Email ID once the export is completed

Payload

Key
Value
Example

type

csv / json

“csv”

start_time

Date in ISO Format

“2020-01-01T00:00:00.000Z”

end_time

Date in ISO Format

“2020-04-01T00:00:00.000Z”

owner_id

Team ID

“611262a9d5b4ea846b534a3f”

Incident Filters

Key
Value
Example

statuses

Array of triggered / resolved / acknowledged / suppressed

[“triggered”, “acknowleged”]

tags

Array of tags in format “KEY=VALUE”

[“severity=high”, “severity=low”]

sources

Array of Alert Source IDs

[“6077f7225fdc7075e371685f”]

services

Array of Service IDs

["62385fb309bc474014180828"]

assigned_to

Array of Assigned to user IDs

["625e40c9a9bd76370bf9f7fb"]

Example Usage

Parameters

Parameter
Type
Required
Description

owner_id

str

✔️

N/A

type

✔️

Type of export, can be csv or json

start_time

✔️

N/A

end_time

✔️

N/A

incident_filters

✔️

Filter criteria for incidents in an export.

retries

Configuration to override the default retry behavior of the client.

Response

bytesarrow-up-right

Errors

Error Type
Status Code
Content Type

errors.BadRequestError

400

application/json

errors.UnauthorizedError

401

application/json

errors.PaymentRequiredError

402

application/json

errors.ForbiddenError

403

application/json

errors.NotFoundError

404

application/json

errors.ConflictError

409

application/json

errors.UnprocessableEntityError

422

application/json

errors.InternalServerError

500

application/json

errors.BadGatewayError

502

application/json

errors.ServiceUnavailableError

503

application/json

errors.GatewayTimeoutError

504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

Last updated