For the complete documentation index, see llms.txt. This page is also available as Markdown.

Comments

List comments

get

Returns all comments in the system, ordered by insertion date descending.

The two filters (resource_id and resource_type) can be combined. When neither filter is provided, all comments in the system are returned.

Query parameters
resource_idstringOptional

Return comments for this resource ID.

resource_typestringOptional

Return comments for this resource type, such as business_concept.

Responses
200

Comments list

application/json
get/api/business_concepts/comments
GET /api/business_concepts/comments HTTP/1.1
Accept: */*
{
  "data": [
    {
      "content": "Great resource",
      "created_at": "2026-05-22T10:00:00Z",
      "id": 123,
      "resource_id": 456,
      "resource_type": "dataset",
      "user": {
        "user_id": 1,
        "user_name": "john"
      }
    }
  ]
}

Create comment

post

Creates a comment for the specified resource.

Request body:

  • comment (required) – Object containing at least:

    • content (string) – Comment body.

    • resource_id (integer) – ID of the resource the comment refers to.

    • resource_type (string) – Type of the resource. Supported values are business_concept and ingest.

The author identity is taken from the authenticated user; author fields in the request are ignored. The response includes a Location header pointing to the created comment.

Body
Responses
201

Comment created

application/json
post/api/business_concepts/comments
POST /api/business_concepts/comments HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 84

{
  "comment": {
    "content": "Great resource",
    "resource_id": 456,
    "resource_type": "dataset"
  }
}
{
  "data": {
    "content": "Great resource",
    "created_at": "2026-06-08T17:56:14.853060Z",
    "id": 123,
    "resource_id": 456,
    "resource_type": "dataset",
    "user": {
      "full_name": "john fullname",
      "user_id": 1,
      "user_name": "john"
    }
  }
}

Get comment by id

get

Retrieve a single comment by its ID.

Path parameters
idstringRequired

Comment ID

Responses
200

Comment

application/json
get/api/business_concepts/comments/{id}
GET /api/business_concepts/comments/{id} HTTP/1.1
Accept: */*
{
  "data": {
    "content": "Great resource",
    "created_at": "2026-05-22T10:00:00Z",
    "id": 123,
    "resource_id": 456,
    "resource_type": "dataset",
    "user": {
      "full_name": "john fullname",
      "user_id": 1,
      "user_name": "john"
    }
  }
}

Delete comment

delete

Delete the specified comment by its ID.

Path parameters
idstringRequired

Comment ID

Responses
204

Comment deleted

No content

delete/api/business_concepts/comments/{id}
DELETE /api/business_concepts/comments/{id} HTTP/1.1
Accept: */*

No content

Last updated