DeepFellow DOCS

Apply accepted ontology changes in the background

POST
/v1/graph/ontology/changes/apply

Apply accepted changes to the ontology and the existing graph data, in the order they were created.

Runs in the background while the project's graph ingestion waits. Each applied change writes a new ontology version; the first one that can't apply is marked failed and the rest go back to accepted. An infrastructure error is retried a few times, then fails every change not applied yet. Applying a destructive change (a drop) deletes graph data and needs confirm_destructive.

Authorization

headerAuthorizationBearer <token>

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Request Body

application/json
  1. body

Request to apply accepted changes in the background.

change_ids*array<>
Items1 <= items
confirm_destructive?boolean

Must be true when any change is destructive (a drop).

Defaultfalse

Response Body

Successful Response

application/json
  1. response

Response to an accepted apply request.

status?string
Default"applying"
change_ids*array<string>
Example Request
curl -X POST 'https://deepfellow-server-host/v1/graph/ontology/changes/apply' \  -H 'Content-Type: application/json' \  -d '{  "change_ids": [    "5eb7cf5a86d9755df3a6c593"  ]}'
Example Response
{  "status": "applying",  "change_ids": [    "string"  ]}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.