Create a value of any dtype from a source or a file, store it, and return its handle

POST /Platform/dtypes/create

Create a value of any dtype from a source or a file, store it, and return its handle.

Pick the input by where the content is:

opts with its kind selects a generative path:

Any other dtype needs only source. For a credential:

Body parameters

Returns

CreateResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/dtypes/create" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'