Updated on 2025-12-18 GMT+08:00

Importing Indicators

Function

This API is used to import indicators in batches. You need to fill in the downloaded template based on the data object types and descriptions specified for indicators. Mandatory fields cannot be left empty. The backend will verify all fields during import.

Calling Method

For details, see Calling APIs.

URI

POST /v1/{project_id}/workspaces/{workspace_id}/soc/indicators/import

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

workspace_id

Yes

String

Workspace ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

content-type

Yes

String

application/json;charset=UTF-8

Table 3 FormData parameters

Parameter

Mandatory

Type

Description

uploadFile

Yes

File

File to be uploaded.

Response Parameters

Status code: 200

Object returned upon a successful response.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

code

String

Definition

Error code.

Range

N/A

message

String

Definition

Error description.

Range

N/A

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Object returned upon a successful response.

400

Object returned upon a response error.

Error Codes

See Error Codes.