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

Bulk Updates

Bulk update status of relations

post

Updates the status of multiple relations in a single request.

Body

Request to update status of multiple relations

relation_idsinteger[]Required

List of relation IDs

Example: [1,2,3]
statusstring · enumRequired

New status to apply (e.g., 'approved', 'rejected', 'pending')

Example: approvedPossible values:
Responses
200

OK

application/json
post/api/relations/status
POST /api/relations/status HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "relation_ids": [
    1,
    2,
    3
  ],
  "status": "approved"
}
{
  "data": {
    "errors": {
      "permissions": {
        "message": "forbidden",
        "reason": "permissions",
        "relations": [
          {
            "id": 2,
            "source_id": 456,
            "source_name": "Product",
            "source_type": "business_concept",
            "tag_type": null,
            "target_id": 789,
            "target_name": "Inventory",
            "target_type": "data_structure"
          }
        ]
      }
    },
    "relations": [
      {
        "id": 1,
        "source_id": 123,
        "source_name": "Customer",
        "source_type": "business_concept",
        "status": "approved",
        "tag_type": "business_concept",
        "target_id": 456,
        "target_name": "Orders",
        "target_type": "data_structure"
      }
    ]
  }
}

Last updated