---
title: "Remplacer un élément de contexte par une nouvelle version"
method: POST
path: "/api/v1/context-items/{id}/supersede"
tags: ["Contexte"]
---

# Remplacer un élément de contexte par une nouvelle version

`POST /api/v1/context-items/{id}/supersede`

## Request

- Base URL: `https://arcadeops.leadalpes.fr`
- URL: `https://arcadeops.leadalpes.fr/api/v1/context-items/{id}/supersede`
- Auth: none declared

Remplacer un élément de contexte par une nouvelle version.

## Path parameters

- `id` string, required

## Request body

- object
  - `projectId` string
  - `type` 'FACT' | 'DECISION' | 'OBJECTIVE' | 'CONSTRAINT' | 'NOTE' | 'RISK' | 'ASSUMPTION' | 'LINK' | 'DOCUMENT' | 'DOCUMENT_SUMMARY' | 'PROMPT' | 'LESSON_LEARNED'
  - `title` string
  - `content` string
  - `summary` string
  - `sourceClient` string
  - `sourceProvider` string
  - `sourceModel` string
  - `sourceConversationId` string
  - `sourceRunId` string
  - `sourceDocumentId` string
  - `sensitivity` 'PUBLIC' | 'INTERNAL' | 'CONFIDENTIAL' | 'RESTRICTED'
  - `verificationStatus` 'VERIFIED' | 'UNVERIFIED' | 'DISPUTED'
  - `confidence` number
  - `provenance` object
  - `tags` string[]
  - `permissions` object
  - `retentionUntil` string, date-time

## Response `201`

Créé

- object

---

[API](https://skmtc.dev/leadalpes/apis/arcadeops-api.md) · [All operations](https://skmtc.dev/leadalpes/apis/arcadeops-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leadalpes/apis/arcadeops-api/revisions/f10422ec7412?raw)
