For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Threat Collections

get

List Custom Threat Collections.

Authorizations
AuthorizationstringRequired
Responses
200

List of Custom Threat Collections

application/json
countintegerRequired

Total number of collections returned

get/app/api/v1/threat-intel/collections
GET /app/api/v1/threat-intel/collections HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "collections": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "status": "parsing",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "created_by": 1,
      "updated_by": 1,
      "file_info": {
        "threat_intel_bundle.json": {
          "type": "single_file",
          "hash": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456",
          "imported_at": "2024-01-15T10:30:00Z",
          "indicators_created": 150,
          "indicators_updated": 25,
          "total_objects": 200
        },
        "threat_feeds_archive.tar.gz": {
          "type": "archive",
          "hash": "b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef1234567890",
          "imported_at": "2024-01-15T10:30:00Z",
          "files_processed": 10,
          "files_succeeded": 8,
          "files_failed": 1,
          "files_parsed": [
            "threat_feed_1.json",
            "threat_feed_2.json",
            "threat_feed_3.json",
            "threat_feed_4.json",
            "threat_feed_5.json",
            "threat_feed_6.json",
            "threat_feed_7.json",
            "threat_feed_8.json"
          ],
          "files_errored": [
            "invalid_file.json"
          ],
          "files_skipped": [
            {
              "filename": "__MACOSX/.DS_Store",
              "reason": "hidden_file"
            },
            {
              "filename": "readme.txt",
              "reason": "not_json"
            }
          ],
          "indicators_created": 500,
          "indicators_updated": 100,
          "total_objects": 750
        }
      },
      "indicators_count": 1,
      "dz_owned": false,
      "expires_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "count": 1
}
post

Create a new Custom Threat Collection.

Collection Name: If omitted and a file is provided, the filename (without extension) will be used. If no file is provided, collection_name is required.Supported Formats:

  • Single STIX JSON file (.json)

  • Compressed tar/zip archives (.tar.gz, .tgz, .zip) containing multiple STIX files

Size Limits:

  • File size: 100.0MB max

Authorizations
AuthorizationstringRequired
Body
filestring · binaryOptional

STIX JSON file or compressed tar archive

collection_namestringOptional

Collection name (optional, defaults to filename)

Example: My Threat Feed
expires_atstring · date-time · nullableOptional

Optional. When set, internal threat intel search excludes this collection after this date. Omit or null for no expiry.

Responses
201

Successfully processed

application/json

Serializer for ImportResult dataclass from threat intelligence imports

file_typeone of · nullableOptional

Type of file processed

  • single_file - single_file
  • archive - archive
string · enumOptional
  • single_file - single_file
  • archive - archive
Possible values:
or
undefined · enumOptionalPossible values:
collection_idstring · nullableOptional

UUID of the collection

collection_namestring · nullableOptional

Name of the collection

file_namestring · nullableOptional

Name of the uploaded file

file_hashstring · nullableOptional

SHA-256 hash of the uploaded file

files_processedintegerRequired

Number of files processed (0 for single files)

files_succeededintegerRequired

Number of files that succeeded (0 for single files)

files_failedintegerRequired

Number of files that failed (0 for single files)

files_parsedstring[]Required

List of filenames that were successfully parsed (empty for single files)

files_erroredstring[]Required

List of filenames that had errors (empty for single files)

total_objectsintegerRequired

Total STIX objects processed

error_countintegerRead-onlyRequired

Total number of errors

post/app/api/v1/threat-intel/collections
POST /app/api/v1/threat-intel/collections HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 92

{
  "file": "binary",
  "collection_name": "My Threat Feed",
  "expires_at": "2026-01-01T00:00:00.000Z"
}
{
  "file_type": "single_file",
  "collection_id": "text",
  "collection_name": "text",
  "file_name": "text",
  "file_hash": "text",
  "files_processed": 1,
  "files_succeeded": 1,
  "files_failed": 1,
  "files_parsed": [
    "text"
  ],
  "files_errored": [
    "text"
  ],
  "files_skipped": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ],
  "total_objects": 1,
  "indicators": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "domain_objects": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "relationships": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "sightings": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "error_count": 1
}
get

Get details for a specific Custom Threat Collection.

Authorizations
AuthorizationstringRequired
Path parameters
collection_idstring · uuidRequired
Responses
200

Collection details. The file_info field is a dictionary keyed by filename. Each value is either a SingleFileInfo (for single files) or ArchiveFileInfo (for archives), determined by the 'type' field. All file types include indicators_skipped count. ArchiveFileInfo includes detailed filename tracking: files_parsed (successfully parsed), files_errored (had errors), files_skipped (skipped entirely), and files_warning (partial success - imported some indicators but also had errors or skipped indicators).

application/json

Serializer for ThreatIntelCollection model

idstring · uuidRead-onlyRequired
namestringRequired
statusstring · enumRequired
  • parsing - Parsing
  • active - Active
  • deleted - Deleted
  • error - Error
Possible values:
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
created_byinteger · nullableRead-onlyRequired

User ID who created the collection. None indicates System user.

updated_byinteger · nullableRead-onlyRequired

User ID who last updated the collection. None indicates System user.

indicators_countintegerRead-onlyRequired

Get the count of indicators in this collection

dz_ownedbooleanRead-onlyRequired

Flag to mark Dropzone-owned collections (e.g., auto-loaded threat intel)

Default: false
expires_atstring · date-time · nullableRead-onlyRequired

When set, internal threat intel search excludes this collection at and after this date.

get/app/api/v1/threat-intel/collections/{collection_id}
GET /app/api/v1/threat-intel/collections/{collection_id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "status": "parsing",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "created_by": 1,
  "updated_by": 1,
  "file_info": {
    "threat_intel_bundle.json": {
      "type": "single_file",
      "hash": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456",
      "imported_at": "2024-01-15T10:30:00Z",
      "indicators_created": 150,
      "indicators_updated": 25,
      "total_objects": 200
    },
    "threat_feeds_archive.tar.gz": {
      "type": "archive",
      "hash": "b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef1234567890",
      "imported_at": "2024-01-15T10:30:00Z",
      "files_processed": 10,
      "files_succeeded": 8,
      "files_failed": 1,
      "files_parsed": [
        "threat_feed_1.json",
        "threat_feed_2.json",
        "threat_feed_3.json",
        "threat_feed_4.json",
        "threat_feed_5.json",
        "threat_feed_6.json",
        "threat_feed_7.json",
        "threat_feed_8.json"
      ],
      "files_errored": [
        "invalid_file.json"
      ],
      "files_skipped": [
        {
          "filename": "__MACOSX/.DS_Store",
          "reason": "hidden_file"
        },
        {
          "filename": "readme.txt",
          "reason": "not_json"
        }
      ],
      "indicators_created": 500,
      "indicators_updated": 100,
      "total_objects": 750
    }
  },
  "indicators_count": 1,
  "dz_owned": false,
  "expires_at": "2026-01-01T00:00:00.000Z"
}
delete

Delete a Custom Threat Collection

Authorizations
AuthorizationstringRequired
Path parameters
collection_idstring · uuidRequired
Responses
204

Collection deleted successfully

No content

delete/app/api/v1/threat-intel/collections/{collection_id}
DELETE /app/api/v1/threat-intel/collections/{collection_id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*

No content

patch

Update a Custom Threat Collection

Authorizations
AuthorizationstringRequired
Path parameters
collection_idstring · uuidRequired
Body

Validation for updating core settings of a threat intelligence collection.

expires_atstring · date-time · nullableOptional

When set, internal threat intel search excludes this collection at and after this date. Send null to clear.

Responses
200

Updated collection

application/json

Serializer for ThreatIntelCollection model

idstring · uuidRead-onlyRequired
namestringRequired
statusstring · enumRequired
  • parsing - Parsing
  • active - Active
  • deleted - Deleted
  • error - Error
Possible values:
created_atstring · date-timeRead-onlyRequired
updated_atstring · date-timeRead-onlyRequired
created_byinteger · nullableRead-onlyRequired

User ID who created the collection. None indicates System user.

updated_byinteger · nullableRead-onlyRequired

User ID who last updated the collection. None indicates System user.

indicators_countintegerRead-onlyRequired

Get the count of indicators in this collection

dz_ownedbooleanRead-onlyRequired

Flag to mark Dropzone-owned collections (e.g., auto-loaded threat intel)

Default: false
expires_atstring · date-time · nullableRead-onlyRequired

When set, internal threat intel search excludes this collection at and after this date.

patch/app/api/v1/threat-intel/collections/{collection_id}
PATCH /app/api/v1/threat-intel/collections/{collection_id} HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "expires_at": "2026-01-01T00:00:00.000Z"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "status": "parsing",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "created_by": 1,
  "updated_by": 1,
  "file_info": {
    "threat_intel_bundle.json": {
      "type": "single_file",
      "hash": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456",
      "imported_at": "2024-01-15T10:30:00Z",
      "indicators_created": 150,
      "indicators_updated": 25,
      "total_objects": 200
    },
    "threat_feeds_archive.tar.gz": {
      "type": "archive",
      "hash": "b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef1234567890",
      "imported_at": "2024-01-15T10:30:00Z",
      "files_processed": 10,
      "files_succeeded": 8,
      "files_failed": 1,
      "files_parsed": [
        "threat_feed_1.json",
        "threat_feed_2.json",
        "threat_feed_3.json",
        "threat_feed_4.json",
        "threat_feed_5.json",
        "threat_feed_6.json",
        "threat_feed_7.json",
        "threat_feed_8.json"
      ],
      "files_errored": [
        "invalid_file.json"
      ],
      "files_skipped": [
        {
          "filename": "__MACOSX/.DS_Store",
          "reason": "hidden_file"
        },
        {
          "filename": "readme.txt",
          "reason": "not_json"
        }
      ],
      "indicators_created": 500,
      "indicators_updated": 100,
      "total_objects": 750
    }
  },
  "indicators_count": 1,
  "dz_owned": false,
  "expires_at": "2026-01-01T00:00:00.000Z"
}
put

Replace all files in a Custom Threat Collection with a new STIX 2.x file or compressed archive.

This endpoint replaces all existing collection content with the uploaded data.

Supported Formats:

  • Single STIX JSON file (.json)

  • Compressed tar archives (.tar.gz, .tgz) containing multiple STIX files

Size Limits:

  • File size: 100.0MB max

Authorizations
AuthorizationstringRequired
Path parameters
collection_idstring · uuidRequired
Body
filestring · binaryRequired

STIX JSON file or compressed tar archive

Responses
200

Successfully processed

application/json

Serializer for ImportResult dataclass from threat intelligence imports

file_typeone of · nullableOptional

Type of file processed

  • single_file - single_file
  • archive - archive
string · enumOptional
  • single_file - single_file
  • archive - archive
Possible values:
or
undefined · enumOptionalPossible values:
collection_idstring · nullableOptional

UUID of the collection

collection_namestring · nullableOptional

Name of the collection

file_namestring · nullableOptional

Name of the uploaded file

file_hashstring · nullableOptional

SHA-256 hash of the uploaded file

files_processedintegerRequired

Number of files processed (0 for single files)

files_succeededintegerRequired

Number of files that succeeded (0 for single files)

files_failedintegerRequired

Number of files that failed (0 for single files)

files_parsedstring[]Required

List of filenames that were successfully parsed (empty for single files)

files_erroredstring[]Required

List of filenames that had errors (empty for single files)

total_objectsintegerRequired

Total STIX objects processed

error_countintegerRead-onlyRequired

Total number of errors

put/app/api/v1/threat-intel/collections/{collection_id}/files
PUT /app/api/v1/threat-intel/collections/{collection_id}/files HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{
  "file_type": "single_file",
  "collection_id": "text",
  "collection_name": "text",
  "file_name": "text",
  "file_hash": "text",
  "files_processed": 1,
  "files_succeeded": 1,
  "files_failed": 1,
  "files_parsed": [
    "text"
  ],
  "files_errored": [
    "text"
  ],
  "files_skipped": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ],
  "total_objects": 1,
  "indicators": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "domain_objects": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "relationships": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "sightings": {
    "found": 1,
    "created": 1,
    "updated": 1,
    "skipped": 1
  },
  "error_count": 1
}
post

Bulk delete Custom Threat Collections. Skips non-existent and already-deleted collections.

Authorizations
AuthorizationstringRequired
Body

Request serializer for bulk delete collections endpoint.

collection_idsstring · uuid[] · min: 1Required

List of collection UUIDs to delete

Responses
200

Bulk delete completed

application/json
deleted_countintegerRequired

Number of collections successfully deleted

post/app/api/v1/threat-intel/collections/bulk-delete
POST /app/api/v1/threat-intel/collections/bulk-delete HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "collection_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "deleted_count": 1
}

Last updated

Was this helpful?