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

# ai.deep\_dive.updated@1 · OpenVibe.Services

HTML: [ai.deep\_dive.updated@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/ai.deep_dive.updated)

# AiDeepDiveUpdatedPayload `ai.deep_dive.updated@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: ai
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-015](/docs/adr/ADR-015)
- Schema: [`https://openvibe.network/contracts/events/payloads/ai.deep_dive.updated.v1.json`](/docs/contracts/ai.deep_dive.updated.json)

ai.deep\_dive.updated v1 (OpenVibe.AI server/deep-dive): a deep dive's step changed or it ended. One event per step transition and one at the end, so a page (OpenVibe.Exchange's /deep-dive) can follow a run without polling, and OpenVibe.Design can attach a finished report. The payload carries the run and deep-dive ids, the step, the progress and the status; never the question's answer, a capture or a prompt. Envelope: subject { type: run, id: <run\_id> }, visibility internal, priority low (important on failed), actor service:ai.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `deep_dive_id` | string | yes |  | - `pattern ^run_[0-9A-HJKMNP-TV-Z]{26}$` |
| `run_id` | string | yes |  | - `pattern ^run_[0-9A-HJKMNP-TV-Z]{26}$` |
| `status` | enum | yes |  | - `one of "queued", "running", "choosing", "succeeded", "failed", "cancelled"` |
| `step` | enum | yes |  | - `one of "plan", "search", "choose", "capture", "analyse", "synthesise", "report", "done", null` |
| `progress` | number | yes |  | - `minimum 0`<br>- `maximum 1` |
| `steps` | array of object | yes |  | - `items: no other fields` |
| `steps[].key` | enum | yes |  | - `one of "plan", "search", "choose", "capture", "analyse", "synthesise", "report"` |
| `steps[].status` | enum | yes |  | - `one of "pending", "running", "done", "skipped", "failed"` |
| `depth` | enum | yes |  | - `one of "quick", "thorough", "expert"` |
| `requester` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes |  |  |
| `on_behalf_of` | one of | yes |  |  |
| `url` | string | yes |  | - `pattern ^https://`<br>- `format uri` |
| `error` | one of | yes |  |  |
| `occurred_at` | string | yes |  | - `format date-time` |

## Examples

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

 Valid: capturing

~~~~
{
  "deep_dive_id": "run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "run_id": "run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "status": "running",
  "step": "capture",
  "progress": 0.5,
  "steps": [
    {
      "key": "plan",
      "status": "done"
    },
    {
      "key": "search",
      "status": "done"
    },
    {
      "key": "choose",
      "status": "done"
    },
    {
      "key": "capture",
      "status": "running"
    },
    {
      "key": "analyse",
      "status": "pending"
    },
    {
      "key": "synthesise",
      "status": "pending"
    },
    {
      "key": "report",
      "status": "pending"
    }
  ],
  "depth": "quick",
  "requester": {
    "type": "service",
    "id": "exchange"
  },
  "on_behalf_of": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "url": "https://openvibe.exchange/deep-dive/run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "error": null,
  "occurred_at": "2026-11-11T10:01:00.000Z"
}
~~~~

Rejected: progress-over-one

~~~~
{
  "deep_dive_id": "run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "run_id": "run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "status": "running",
  "step": "capture",
  "progress": 4.5,
  "steps": [],
  "depth": "quick",
  "requester": {
    "type": "service",
    "id": "exchange"
  },
  "on_behalf_of": null,
  "url": "https://openvibe.exchange/deep-dive/run_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "error": null,
  "occurred_at": "2026-11-11T10:01:00.000Z"
}
~~~~

## Validate

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