Skip to main content

batch_files

Creates, updates, deletes, gets or lists a batch_files resource.

Overview

Namebatch_files
TypeResource
Iddigitalocean.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:

NameAccessible byRequired ParamsOptional ParamsDescription
inference_create_batch_fileexecfile_nameCreates 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.

NameDatatypeDescription

Lifecycle Methods

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 }}"
}'
;