Last updated 12 months ago
Was this helpful?
Validates that all bytes of the file have been uploaded, and that the content type is supported by Nightfall.
a file ID returned from a previous file creation request
POST /v3/upload/{fileId}/finish HTTP/1.1 Host: api.nightfall.ai Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Success
{ "id": "123e4567-e89b-12d3-a456-426614174000", "fileSizeBytes": 1, "chunkSize": 1, "mimeType": "text" }