Custom Threat Collections
List Custom Threat Collections.
List of Custom Threat Collections
Total number of collections returned
Unauthorized
Access denied
System error
System not ready for requests
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
}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
STIX JSON file or compressed tar archive
Collection name (optional, defaults to filename)
My Threat FeedOptional. When set, internal threat intel search excludes this collection after this date. Omit or null for no expiry.
Successfully processed
Serializer for ImportResult dataclass from threat intelligence imports
Type of file processed
single_file- single_filearchive- archive
single_file- single_filearchive- archive
UUID of the collection
Name of the collection
Name of the uploaded file
SHA-256 hash of the uploaded file
Number of files processed (0 for single files)
Number of files that succeeded (0 for single files)
Number of files that failed (0 for single files)
List of filenames that were successfully parsed (empty for single files)
List of filenames that had errors (empty for single files)
Total STIX objects processed
Total number of errors
Bad request - missing file, invalid collection name, or invalid MIME type
Unauthorized
Access denied
Conflict - duplicate file (already uploaded in last 5 minutes) or collection limit exceeded
File too large - exceeds 100.0MB
Internal server error - file processing failed or file save failed during async upload
System not ready for requests
Insufficient storage space on server
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 details for a specific Custom Threat Collection.
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).
Serializer for ThreatIntelCollection model
parsing- Parsingactive- Activedeleted- Deletederror- Error
User ID who created the collection. None indicates System user.
User ID who last updated the collection. None indicates System user.
Get the count of indicators in this collection
Flag to mark Dropzone-owned collections (e.g., auto-loaded threat intel)
falseWhen set, internal threat intel search excludes this collection at and after this date.
Unauthorized
Access denied
Resource not found
System error
System not ready for requests
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 a Custom Threat Collection
Collection deleted successfully
No content
Unauthorized
Access denied
Collection not found
System error
System not ready for requests
DELETE /app/api/v1/threat-intel/collections/{collection_id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Update a Custom Threat Collection
Validation for updating core settings of a threat intelligence collection.
When set, internal threat intel search excludes this collection at and after this date. Send null to clear.
Updated collection
Serializer for ThreatIntelCollection model
parsing- Parsingactive- Activedeleted- Deletederror- Error
User ID who created the collection. None indicates System user.
User ID who last updated the collection. None indicates System user.
Get the count of indicators in this collection
Flag to mark Dropzone-owned collections (e.g., auto-loaded threat intel)
falseWhen set, internal threat intel search excludes this collection at and after this date.
Unauthorized
Access denied
Collection not found
System error
System not ready for requests
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"
}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
STIX JSON file or compressed tar archive
Successfully processed
Serializer for ImportResult dataclass from threat intelligence imports
Type of file processed
single_file- single_filearchive- archive
single_file- single_filearchive- archive
UUID of the collection
Name of the collection
Name of the uploaded file
SHA-256 hash of the uploaded file
Number of files processed (0 for single files)
Number of files that succeeded (0 for single files)
Number of files that failed (0 for single files)
List of filenames that were successfully parsed (empty for single files)
List of filenames that had errors (empty for single files)
Total STIX objects processed
Total number of errors
Bad request - missing file or invalid MIME type
Unauthorized
Access denied
Collection not found
File too large - exceeds 100.0MB
Internal server error - file processing failed or file save failed during async upload
System not ready for requests
Insufficient storage space on server
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
}Bulk delete Custom Threat Collections. Skips non-existent and already-deleted collections.
Request serializer for bulk delete collections endpoint.
List of collection UUIDs to delete
Bulk delete completed
Number of collections successfully deleted
Bad request - missing or invalid collection_ids
Unauthorized
Access denied
System error
System not ready for requests
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?