Retrieve a model

GET/genai/{connection_id}/model/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Model

Returns

idstring
namestring
descriptionstring
max_tokensnumber
The maximum number of tokens that the model can process in a single response. This limits ensures computational efficiency and resource management.
web_urlstring
has_temperatureboolean
Controls randomness of responses. A lower temperature leads to more predictable outputs while a higher temperature results in more varies and sometimes more creative outputs. 0-1
const options = {
  method: 'GET',
  url: 'https://api.unified.to/genai/5de520f96e439b002043d8dc/model/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?