Public API › Files

Create a file upload URL

write call of the i40Pilot public API. Required scope: modules:write.

Calling it

curl -X POST https://i40pilot.app/api/v1/tools/drive_create_upload_url \
  -H "Authorization: Bearer sk-app-..." \
  -H "Content-Type: application/json" \
  -d '{ ... }'

Parameters

NameType
file_namestringrequired
folder_idstringoptional
mime_typestringoptional
size_bytesnumberoptional

Cost

This call costs 1 credit.

Discovery

GET /api/v1/tools returns the full catalogue with, for each tool, its input schema, its price and the scope it requires — the cost is known before the call, never after.

All API tools