Upload data from Cloud

API to upload data from Cloud storage.

If using GCS or GBQ, before executing the APIs to upload data, grant read access to the Google Cloud Storage bucket or Google BigQuery table.

Tenant Id can be retrieved from the UI as listed here

Source Id can be retrieved from the UI or using the APIs

Upload Data

POST https://demo.api.telm.ai/v2/<tenant>/sources/<source_id>/batch_data

Location specific request body parameters are defined below.

Path Parameters

NameTypeDescription

source_id*

string

Id of source to upload data to

tenant*

string

Name of tenant

Headers

NameTypeDescription

Content-type

string

application/json

Authentication*

string

Bearer <access_token>. Access token from Authentication API

{
    "message": string,    
    "job_id": string
}

Request Body for GCS

Use json representation described in GCS Request data

Request Body for GBQ

Use json representation described in GBQ Request data

Request Body for S3

Use json representation described in S3 Request data

Request Body for Azure

Use json representation described in Azure Request data

Request Body for Snowflake

Use json representation described in Snowflake Request data

Last updated