Upload Reference Table Items Csv

Replace a reference table's items from a CSV. Full replacement, not a merge.

The header names the fields; each following row is one item, and a blank cell is
simply skipped::

process.name,parent.process.name,nebulock_im_source
firefox.exe,,Win
chrome.exe,,Win
brave,launcher.bin,Linux

Columns are combined with AND, and rows are not correlated. Expansion collects
each column's values across every row, so the file above makes rules match::

process.name IN ('brave','chrome.exe','firefox.exe')
AND parent.process.name IN ('launcher.bin')
AND nebulock_im_source IN ('Linux','Win')

Read it twice if the grid suggested otherwise: the third row does not mean "brave
launched by launcher.bin on Linux". Because parent.process.name holds one value
across the whole file, that value becomes a requirement on every match -- which here
makes the firefox and chrome rows unmatchable. A list meant to match any of several
processes should have one column; a second column narrows all of them.

Header names are lowercased, values are not. Every events column is lowercase, so
a capitalised header is a spreadsheet tool having title-cased the first row rather
than a different column. A value's case is data and is matched exactly.

Rejected with a 400: a header naming a field that is not a matchable
nocsf_unified_events column, a duplicate column, a value that is not valid for its
column's type (the message names the row and column), a row with more values than the
header has columns, a file that is not UTF-8, and a file with no data rows -- emptying
a table stops every rule using it, so it has to be asked for explicitly through PATCH.

Exactly duplicated rows are collapsed, since every row carries the same operation and
grouping and duplicates would only consume the entry budget.

This route only ever replaces. To add a CSV's rows to what is stored, send the
same file to PATCH /reference-tables/{id}?items_mode=append as multipart -- the
append/replace choice lives there, alongside every other partial edit, and this one
stays a single-purpose full replacement.

The same size caps and the same history entry as a PATCH that writes items. The same
CSV can also be sent to POST /reference-tables or PATCH /reference-tables/{id} as multipart, alongside the JSON payload; this route is the
shorthand for when the file is all there is.

GET /reference-tables/{id}/export is the other direction: it writes this format,
so a list can be downloaded, edited and uploaded back here.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Reference table ID

Body Params
string
required

UTF-8 CSV: one column per field, one row per item

Headers
string
required

Your API Key ID

string

Your API Key Secret

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json