Files

List files

List source data files available for parser development.

Returns the org's uploaded files, newest first. Filter by instrument_id, comma-separated file extensions (e.g. "csv,txt"), or a substring of the file name. Use the file-content tool to inspect a file's raw contents.

Requires an API key with the read scope.

get/api/v1/files

Request

  • Base URL: https://platform.labric.co
  • URL: https://platform.labric.co/api/v1/files
  • Auth: HTTP bearer

Query parameters

instrument_idstring
extensionsstring
querystring
limitinteger

Response

OK

file_idstring required

The file's ID, for use with the file-content tool.

original_pathstring nullable required

Original file name / path.

source_typestring nullable required

Where the file came from (e.g. instrument sync, manual upload).

source_instrument_idstring nullable required

ID of the instrument that produced the file, if any.

size_kilobytesinteger nullable required

File size in kilobytes.

crc32c_hashstring nullable required

Content hash, useful as an idempotency key for parsed rows.

file_created_atstring date-time nullable required

When the source file was created, if known.

Changes

No recorded changes to this operation across all 1 revision of this API.