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

# bench.task@1 · OpenVibe.Services

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

# BenchTask `bench.task@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.0.0
- Owner: bench
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/bench/task.v1.json`](/docs/contracts/bench.task.json)

bench.task@1: a benchmark task on OpenVibe.Bench. KIND\_ID names the kind; PROMPT is the task; TASK\_CLASS is an optional classifier for grouping; PUBLIC says whether the task may appear in the open dataset.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  |  |
| `kind_id` | string | yes |  |  |
| `prompt` | string | yes |  |  |
| `task_class` | string \| null |  |  |  |
| `public` | boolean | yes |  |  |
| `created_by` | string | yes |  |  |
| `created_at` | string | yes |  | - `format date-time` |

## Examples

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

 Valid: summarize

~~~~
{
  "id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "prompt": "Summarize this page in one sentence.",
  "task_class": null,
  "public": true,
  "created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
  "created_at": "2026-10-28T18:00:00.000Z"
}
~~~~

Rejected: missing-public

~~~~
{
  "id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
  "kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
  "prompt": "Summarize this page.",
  "task_class": null,
  "created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
  "created_at": "2026-10-28T18:00:00.000Z"
}
~~~~

## Validate

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