POST
/
v1
/
sources
/
{source_id}
/
upload

Authorizations

Authorization
string
headerrequired

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

Headers

user_id
string | null

Path Parameters

source_id
string
required

Body

multipart/form-data
file
file
required

Response

200 - application/json

Representation of offline jobs, used for tracking status of data loading tasks (involving parsing and embedding files).

Parameters: id (str): The unique identifier of the job. status (JobStatus): The status of the job. created_at (datetime): The unix timestamp of when the job was created. completed_at (datetime): The unix timestamp of when the job was completed. user_id (str): The unique identifier of the user associated with the.

user_id
string
required

The unique identifier of the user associated with the job.

metadata_
object | null

The metadata of the job.

id
string

The human-friendly ID of the Job

status
enum<string>

The status of the job.

Available options:
created,
running,
completed,
failed,
pending
created_at
string

The unix timestamp of when the job was created.

completed_at
string | null

The unix timestamp of when the job was completed.