Skip to main content
POST

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Body

application/json
input
string
required

The input text to send to the model.

model
string

The ID of the model to use.

modelConfiguration
object

Additional model-specific configuration key-value pairs (e.g., temperature).

Example:
promptTemplate
object

A prompt template object. The 'template' string should contain placeholders.

parameters
object

Custom parameters to inject into the prompt template.

Example:
system
string

The system message to use for the Text Generation task. If not provided, the default system message will be used. If the model does not include built-in support for system prompts, this parameter may be included in the prompt template using the "${system}" placeholder.

Response

The generated text.

Standard successful AI response.

output
string
modelId
string