v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
LLM Observability

Lock LLM Observability dataset draft state

Acquire the draft lock on a dataset for the calling user. The lock prevents other users from concurrently editing the dataset draft.

patch/api/v2/llm-obs/v1/{project_id}/datasets/{dataset_id}/draft_state/lock

Path parameters

project_idstring required

The ID of the LLM Observability project.

dataset_idstring required

The ID of the LLM Observability dataset.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "drafting_since": "2024-01-15T10:30:00Z",
      "user": {
        "email": "jane.doe@example.com",
        "handle": "jane.doe@example.com",
        "id": "00000000-0000-0000-0000-000000000010",
        "name": "Jane Doe"
      }
    },
    "id": "9f64e5c7-dc5a-45c8-a17c-1b85f0bec97d",
    "type": "draft_state_data"
  }
}