Create files which can be passed as input to agents. This endpoint consumes a flat credit charge per upload. The response includes a credits field with the amount consumed, or null if the billing write fails — the upload still succeeds in that case.
Documentation Index
Fetch the complete documentation index at: https://developers.datagrid.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully created file
The File object represents a document that has been uploaded to Datagrid.
The object type, which is always file.
file The file identifier, which can be referenced in the API endpoints.
The name of the file
The ISO string for when the file was created.
The media type of the file.
The ISO timestamp when the file will expire and be automatically deleted, or null if the file does not expire.
Credit consumption for this file upload. null when the billing lookup fails.