Skip to main content
This document outlines the RESTful API endpoints for managing data uploads and querying datasets in the Plexe Platform.

Uploads

Get All Uploads

Retrieves a list of all data uploads associated with your account.

Query Parameters

Response

Get Upload Details

Retrieves detailed information about a specific upload.

Path Parameters

Response

Create Upload

Initiates a new upload by requesting a pre-signed S3 URL.

Request Body

Response

After receiving the pre-signed URLs, you must upload each file directly to the provided S3 URLs using HTTP PUT requests.

Update Upload Status

Confirms completion of file uploads to S3 and updates the upload status.

Request Body

Response

After confirming the uploads, the system will process the files (validating, parsing, etc.) and update the status to complete when finished.

Delete Upload

Deletes an upload and its associated files.

Path Parameters

Response

You cannot delete an upload that is currently being used by a model. Unbind models from the dataset first.

Get File Preview

Retrieves a preview of a file’s contents.

Headers

Path Parameters

Query Parameters

Response

For CSV files:
For JSON files:

Get Dataset Versions

Headers

Retrieves all versions of a specific dataset.

Path Parameters

Response

Data Analysis

Analyze Dataset

Performs automated analysis on an uploaded dataset.

Request Body

Response

This initiates an asynchronous job. You can check the job status using the Jobs API.

Get Analysis Results

Retrieves the results of a completed dataset analysis.

Path Parameters

Response

Data Querying

Create Data Session

Creates a session for querying a dataset.

Headers

Request Body

Response

Query Dataset

Queries a dataset using natural language or SQL.

Headers

Request Body

Natural language query:
SQL query:

Response

For visualization results:

Get Query History

Retrieves the history of queries for a data session.

Path Parameters

Response

End Data Session

Ends a data session, releasing resources.

Path Parameters

Response

Data Export

Export Dataset

Initiates an export job for a dataset.

Request Body

Response

Get Export Status

Checks the status of an export job.

Path Parameters

Response

Download Exported File

Downloads an exported file.

Path Parameters

Response

The file contents as a binary stream with appropriate content type header.

Error Codes

Limits

The Data Management API has the following limits: These limits may vary based on your account tier.