Skip to main content
POST
/
providers
/
{provider}
/
files
/
{file_id}
/
import
Import provider file
curl --request POST \
  --url https://api.veryfront.com/providers/{provider}/files/{file_id}/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "base_path": "<string>",
  "timestamp_prefix": true
}
'
{
  "upload_id": "<string>",
  "gcs_path": "<string>",
  "file_name": "<string>",
  "content_type": "<string>",
  "size": 123
}

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

provider
string
required

External storage provider identifier, such as onedrive, sharepoint, google_drive, or dropbox.

file_id
string
required

Provider-specific file or folder identifier.

Body

application/json
project_id
string<uuid>

Optional project ID for importing into project storage.

base_path
string

Optional destination folder path in Veryfront storage.

timestamp_prefix
boolean

When true, prefixes the imported file name with the current timestamp.

Response

Import result with GCS path reference

upload_id
string
required

Veryfront upload ID created for the imported file.

gcs_path
string
required

Destination object path in Veryfront storage.

file_name
string
required

Original provider file name.

content_type
string
required

Imported file content type.

size
number
required

Imported file size in bytes.