Updated on 2025-10-29 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

upload_file

Response Parameters

Status code: 200

Response of export indicator

Status code: 400

Table 4 Response header parameters

Parameter

Type

Description

X-request-id

String

This field is the request ID number for task tracking. Format is request_uuid-timestamp-hostname.

Table 5 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

Response of export indicator

400

Error response

Error Codes

See Error Codes.