Learn more about the input, result, and enum types used when running prompts against AI models via the API
The monday.com AI API lets you run a prompt against a monday-hosted AI model with the run_prompt mutation. The types below are used as the input, result, and enum types for that mutation.
Only available in API versions
2026-10and later
RunPromptConfigInput
Optional configuration passed to the config argument of the run_prompt mutation. All fields are optional.
| Field | Type | Description | Enum Values |
|---|---|---|---|
| model | AiModel | The AI model tier to use for the completion. If omitted, a default model is used. | MONDAY_FASTMONDAY_STANDARDMONDAY_POWERFUL |
| system_prompt | String | An optional system prompt that sets context or instructions for the model. | |
| temperature | Float | Sampling temperature between 0 and 1. Lower values make output more deterministic; higher values make it more random. | |
| max_tokens | Int | The maximum number of tokens to generate. Must be a positive integer. Output is truncated when the limit is reached. |
RunPromptResult
The return type of the run_prompt mutation.
| Field | Type | Description |
|---|---|---|
| content | String | The generated text content from the model. |
AiModel
The available AI model tiers, used on the model field of RunPromptConfigInput.
| Enum Value | Description |
|---|---|
MONDAY_FAST | The monday Fast model. |
MONDAY_STANDARD | The monday Standard model. |
MONDAY_POWERFUL | The monday Powerful model. |
