---
title: "ai.task-defaults@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/ai.task-defaults"
updated: null
---

# ai.task-defaults@1 · OpenVibe.Services

HTML: [ai.task-defaults@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/ai.task-defaults)

# AiTaskDefaultsV1 `ai.task-defaults@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.1.0
- Owner: ai
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-001](/docs/adr/ADR-001)
- Schema: [`https://openvibe.network/contracts/ai/task-defaults.v1.json`](/docs/contracts/ai.task-defaults.json)

The owner's default for one task (GET|PUT /api/v1/admin/task-defaults, owner or admin role): the choice signed out and signed in, an ordered list of fallbacks, the image model for image tasks, the search engines in order for search tasks, and a per-run cost ceiling in USD. A change is audited and reaches services within a minute.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `signed_out` | [ai.choice](/docs/contracts/ai.choice) | yes |  |  |
| `signed_in` | [ai.choice](/docs/contracts/ai.choice) | yes |  |  |
| `fallbacks` | [ai.choice](/docs/contracts/ai.choice) | yes |  | - `maxItems 10` |
| `image_model` | one of | yes |  |  |
| `search_engines` | array of object | yes |  | - `maxItems 10`<br>- `items: no other fields` |
| `search_engines[].engine` | string | yes |  | - `pattern ^[a-z][a-z0-9_-]{0,39}$` |
| `search_engines[].enabled` | boolean | yes |  |  |
| `max_cost_usd` | number \| null | yes |  | - `minimum 0`<br>- `maximum 1000` |
| `effort` | enum |  | Concrete effort used when a request selects auto. Omitted uses the workflow default, then medium. | - `one of "low", "medium", "high", "max"` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: basic

~~~~
{
  "signed_out": {
    "model": "openvibe/cheapest",
    "source": "openvibe"
  },
  "signed_in": {
    "model": "anthropic/claude-opus-5-5",
    "source": "openvibe"
  },
  "fallbacks": [],
  "image_model": null,
  "search_engines": [],
  "max_cost_usd": 0.5
}
~~~~

Valid: effort

~~~~
{
  "signed_out": {
    "model": "openvibe/cheapest",
    "source": "openvibe"
  },
  "signed_in": {
    "model": "anthropic/claude-opus-5-5",
    "source": "openvibe"
  },
  "fallbacks": [],
  "image_model": null,
  "search_engines": [],
  "max_cost_usd": 0.5,
  "effort": "high"
}
~~~~

Rejected: basic

~~~~
{
  "signed_out": {},
  "max_cost_usd": -1
}
~~~~

Rejected: recursive-effort

~~~~
{
  "signed_out": {
    "model": "openvibe/cheapest",
    "source": "openvibe"
  },
  "signed_in": {
    "model": "anthropic/claude-opus-5-5",
    "source": "openvibe"
  },
  "fallbacks": [],
  "image_model": null,
  "search_engines": [],
  "max_cost_usd": 0.5,
  "effort": "auto"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('ai.task-defaults@1', value);   // { valid, errors: [{ path, message }] }
~~~~
