PUT
/
v1
/
apps
/
custom-data
/
{app_id}
/
files
/
{file_id}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string
required
file_id
string
required

Body

application/json
active
boolean | null
file_name
string | null
labels
string[] | null

Response

200 - application/json
data_type
enum<string>
required

The type of custom data (file, url, ...)

Available options:
file,
url
file_name
required

The name of the file

Required string length: 1 - 2083
tenant_id
string
required

The ID of the tenant to store this data in

active
boolean
default:
true

Indicates if the data source will be included in queries

added_on
string

The timestamp the file was added

app_id
string | null

The ID of the app to store this data in

carbon_data_source_type
string | null

The type of the data source in Carbon

carbon_last_synced_on
string | null

The timestamp the file was last synced from Carbon

carbon_object_id

The ID of the object in Carbon

deleted_on
string | null

The timestamp the file was added

external_url

The external URL to the file

Required string length: 1 - 2083
file_mime
string | null

The mimetype of the file

file_size
integer | null

The size of the file in Bytes

id
string | null

The ID

labels
object[]

The labels associated with the file

modified_on
string | null

The timestamp the file was last modified

state
enum<string>

The state of the file

Available options:
CREATED,
PENDING,
QUEUED,
QUEUED_FOR_RECONCILIATION,
SYNC_FAILED,
FAILED,
INDEXED,
DELETING