Skip to main content
POST
/
datasets
/
upload
Prepare Signed-URL Upload
curl --request POST \
  --url https://api.woodwide.ai/datasets/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file": {
    "filename": "<string>",
    "bytes": 123,
    "content_type": "<string>"
  },
  "dataset_name": "<string>",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "override": false
}
'
{
  "dataset": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_number": 123
  },
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "upload": {
    "filename": "<string>",
    "bytes": 123,
    "content_type": "<string>",
    "upload_url": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.woodwide.ai/llms.txt

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

Upload the file directly to the returned signed URL, then call POST /datasets/{dataset_version_id}/complete to trigger ingestion. Supports an Idempotency-Key header to safely retry requests.

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string | null

Body

application/json

Request to prepare a signed-URL dataset upload.

file
DatasetUploadFile · object
required

File metadata for signed-URL upload.

dataset_name
string
dataset_id
string<uuid>
description
string | null
override
boolean
default:false

When true, replaces the data in the current version instead of creating a new version. Defaults to false.

Response

Successful Response

Response with signed upload URL.

dataset
DatasetVersionRef · object
required

Dataset version reference.

job_id
string<uuid>
required
upload
DatasetUploadTarget · object
required

Target for signed-URL upload.