Skip to main content
POST
Import file from URL

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

resource
string
required

Destination path (including branch)

Body

application/json

Import configuration

Body for importing a file from a URL

download_url
string
required
Example:

"https://example.com/datasets/data.csv"

auth
string | null
Example:

"Bearer <token>"

email
string | null
Example:

"ox@oxen.ai"

filename
string | null
Example:

"data.csv"

message
string | null
Example:

"Import dataset"

name
string | null
Example:

"ox"

Response

File imported and committed

status
string
required
status_message
string
required
commit
object
required
Example:
oxen_version
string | null