batch_files
Creates, updates, deletes, gets or lists a batch_files resource.
Overview
| Name | batch_files |
| Type | Resource |
| Id | digitalocean.inference.batch_files |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
inference_create_batch_file | exec | file_name | Creates a file record and returns a file_id plus a short-lived presigned PUT URL (typically valid for ~15 minutes). Upload the raw JSONL bytes to upload_url (see PUT /{upload_path}) before calling POST /v1/batches. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
Lifecycle Methods
- inference_create_batch_file
Creates a file record and returns a file_id plus a short-lived presigned PUT URL (typically valid for ~15 minutes). Upload the raw JSONL bytes to upload_url (see PUT /{upload_path}) before calling POST /v1/batches.
EXEC digitalocean.inference.batch_files.inference_create_batch_file
@@json=
'{
"file_name": "{{ file_name }}"
}'
;