POST
/
cache
/
create
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const cache = await client.cache.create({ gguf_file: 'gguf_file', model: 'model', name: 'name' });

console.log(cache);
{}

Headers

authorization
string

Query Parameters

name
string
required
model
string
required
gguf_file
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.