Data Lakes

Add a file to a data lake

Makes an existing file a member of the lake. Takes no body. Idempotent: adding a file that is already a member succeeds and changes nothing. Outside the restore window below, a caller can add only their own files (or, as the lake's owner, the owner's files); any other file is a 404. Membership alone does not ingest the file - poll GET /api/v1/data-lakes/{id}/files/{file_id} until it is ready before relying on it in search. Re-adding a file within about 30 minutes of removing it restores the membership it had.

post/api/v1/data-lakes/{id}/files/{file_id}

Request

  • Base URL: https://your-deployment.example.com
  • URL: https://your-deployment.example.com/api/v1/data-lakes/{id}/files/{file_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Path parameters

idstring required
file_idstring required

Response

The file is a member; the lake's updated totals.

lake_idstring required
file_idstring required
file_countinteger required
total_size_bytesnumber required

Changes

No recorded changes to this operation across all 2 revisions of this API.