UploadThing
communityFile upload service for Next.js and React with type-safe uploads and file management.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.uploadthing.com/v6/listFilesList files
Parameters
limitresults (integeroptionaloffsetoffset (integeroptionalReturns
files[] with key, name, size, url, uploadedAt, customIdPOST
https://api.uploadthing.com/v6/getUsageInfoGet usage info
Returns
totalBytes, totalReadable, appTotalBytes, appTotalReadable, filesUploaded, limitBytesPOST
https://api.uploadthing.com/v6/deleteFileDelete files
Parameters
fileKeysfile keys (string[]requiredReturns
success