Tasklane MCP

Справочник инструментов

Схемы и вымышленные примеры из реестра работающего Go MCP сервера.

Попробовать · Каталог v1 · 62 инструментов

При неизвестном исходе мутации повторяйте те же аргументы и idempotency_key. Не подставляйте новую версию автоматически после конфликта. Курсор продолжения используется с неизменными фильтрами.

Пароли, PIN, файлы и подтверждение уведомлений вводятся только в защищённом браузере Tasklane. Подготовка действия не означает его выполнение. Для удаления, включения AI и активации профиля сначала одобрите действие в браузере, затем повторите команду с confirmation_id.

Загрузка использует возвращённые авторизованные url или binary_url. resource_uri — логический идентификатор, а не обработчик resources/read. Квитанции операций: operations_get; передачи файлов: files_transfer_status; сессии экспорта AI: ai_exports_get.

whoami

Текущий администратор, окружение и область доступа.

Чтение · whoami

Попробовать
Входная схема
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Выходная схема
{
  "type": "object",
  "properties": {
    "admin_id": {
      "type": "string"
    },
    "full_name": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    }
  },
  "required": [
    "admin_id",
    "full_name",
    "environment",
    "scope"
  ],
  "additionalProperties": false
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "admin_id": "example-admin",
  "full_name": "Example Administrator",
  "environment": "dev",
  "scope": "tasklane:admin"
}

tasks_get

Задача и ссылка на неё в административном интерфейсе.

Чтение · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "task_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "accepted_at": {
      "type": [
        "null",
        "string"
      ]
    },
    "admin_link": {
      "type": "string"
    },
    "assignees": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "code": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "deadline": {
      "type": "string"
    },
    "deleted_at": {
      "type": [
        "null",
        "string"
      ]
    },
    "deleted_by_actor_id": {
      "type": [
        "null",
        "string"
      ]
    },
    "deleted_by_actor_role": {
      "type": [
        "null",
        "string"
      ]
    },
    "deleted_by_run_id": {
      "type": [
        "null",
        "string"
      ]
    },
    "description": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "position": {
      "type": "integer"
    },
    "project_display": {
      "type": "string"
    },
    "projects": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent_id": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "stage": {
      "type": [
        "null",
        "string"
      ]
    },
    "status": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "id",
    "code",
    "title",
    "description",
    "stage",
    "deadline",
    "status",
    "version",
    "position",
    "accepted_at",
    "created_at",
    "updated_at",
    "projects",
    "project_display",
    "assignees"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "id": "00000000-0000-4000-8000-000000000013",
  "code": "example",
  "title": "Вымышленный пример",
  "description": "Вымышленный пример",
  "stage": null,
  "deadline": "2026-09-21T09:00:00Z",
  "status": "not_started",
  "version": 1,
  "position": 1,
  "accepted_at": null,
  "created_at": "2026-09-21T09:00:00Z",
  "updated_at": "2026-09-21T09:00:00Z",
  "projects": null,
  "project_display": "example",
  "assignees": null
}

tasks_deleted_list

Удалённые задачи без активных ссылок.

Чтение · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "accepted_at": {
            "type": [
              "null",
              "string"
            ]
          },
          "admin_link": {
            "type": "string"
          },
          "assignees": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "email": {
                  "type": "string"
                },
                "full_name": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "full_name"
              ],
              "type": "object"
            },
            "type": [
              "null",
              "array"
            ]
          },
          "code": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "deadline": {
            "type": "string"
          },
          "deleted_at": {
            "type": [
              "null",
              "string"
            ]
          },
          "deleted_by_actor_id": {
            "type": [
              "null",
              "string"
            ]
          },
          "deleted_by_actor_role": {
            "type": [
              "null",
              "string"
            ]
          },
          "deleted_by_run_id": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "project_display": {
            "type": "string"
          },
          "projects": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "parent_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              },
              "required": [
                "id",
                "name"
              ],
              "type": "object"
            },
            "type": [
              "null",
              "array"
            ]
          },
          "stage": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "code",
          "title",
          "description",
          "stage",
          "deadline",
          "status",
          "version",
          "position",
          "accepted_at",
          "created_at",
          "updated_at",
          "projects",
          "project_display",
          "assignees"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "next_cursor": {
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

tasks_comments_list

Сохранённые комментарии задачи.

Чтение · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "task_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "author_display_name": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "task_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "task_id",
          "author_display_name",
          "content",
          "created_at"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "items": null
}

tasks_create

Атомарное создание задачи для каждого сотрудника. При неизвестном исходе повторите точные аргументы и ключ.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "code": {
      "type": "string"
    },
    "deadline": {
      "format": "date-time",
      "type": "string"
    },
    "description": {
      "minLength": 1,
      "type": "string"
    },
    "employee_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "stage": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "title",
    "description",
    "deadline",
    "project_ids",
    "employee_ids",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "admin_links": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "count": {
          "type": "integer"
        },
        "task_ids": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        }
      },
      "required": [
        "task_ids",
        "count"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "title": "Вымышленный пример",
  "description": "Вымышленный пример",
  "deadline": "2026-09-21T09:00:00Z",
  "project_ids": [
    "00000000-0000-4000-8000-000000000013"
  ],
  "employee_ids": [
    "00000000-0000-4000-8000-000000000013"
  ],
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "tasks_create",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "task_ids": [
      "00000000-0000-4000-8000-000000000013"
    ],
    "count": 1
  }
}

tasks_update

Изменение по точной версии. Пропущенное поле сохраняется; пустой code очищается; null разрешён для очистки stage. Конфликт версии нельзя исправлять автоматически.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "deadline": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "employee_id": {
          "anyOf": [
            {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "position": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "project_ids": {
          "anyOf": [
            {
              "items": {
                "not": {
                  "const": "00000000-0000-0000-0000-000000000000"
                },
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                "type": "string"
              },
              "maxItems": 200,
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            {
              "type": "null"
            }
          ]
        },
        "stage": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "anyOf": [
            {
              "enum": [
                "not_started",
                "in_progress",
                "done",
                "overdue"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [],
      "type": "object"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "task_id",
    "version",
    "changes",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "accepted_at": {
          "type": [
            "null",
            "string"
          ]
        },
        "admin_link": {
          "type": "string"
        },
        "assignees": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string"
              },
              "full_name": {
                "type": "string"
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "full_name"
            ],
            "type": "object"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "code": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "deadline": {
          "type": "string"
        },
        "deleted_at": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_actor_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_actor_role": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_run_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        },
        "project_display": {
          "type": "string"
        },
        "projects": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "parent_id": {
                "type": [
                  "null",
                  "string"
                ]
              }
            },
            "required": [
              "id",
              "name"
            ],
            "type": "object"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "stage": {
          "type": [
            "null",
            "string"
          ]
        },
        "status": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "id",
        "code",
        "title",
        "description",
        "stage",
        "deadline",
        "status",
        "version",
        "position",
        "accepted_at",
        "created_at",
        "updated_at",
        "projects",
        "project_display",
        "assignees"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013",
  "version": 1,
  "changes": {
    "title": "Вымышленная новая задача"
  },
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "tasks_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "code": "example",
    "title": "Вымышленная новая задача",
    "description": "Вымышленный пример",
    "stage": null,
    "deadline": "2026-09-21T09:00:00Z",
    "status": "not_started",
    "version": 2,
    "position": 1,
    "accepted_at": null,
    "created_at": "2026-09-21T09:00:00Z",
    "updated_at": "2026-09-21T09:00:00Z",
    "projects": null,
    "project_display": "example",
    "assignees": null
  }
}

tasks_comments_create

Добавление комментария с долговечной квитанцией операции.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "content": {
      "minLength": 1,
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "task_id",
    "content",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "author_display_name": {
          "type": "string"
        },
        "content": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "task_id": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "task_id",
        "author_display_name",
        "content",
        "created_at"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013",
  "content": "Вымышленный пример",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "tasks_comments_create",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "task_id": "00000000-0000-4000-8000-000000000013",
    "author_display_name": "example",
    "content": "Вымышленный пример",
    "created_at": "2026-09-21T09:00:00Z"
  }
}

tasks_restore

Восстановление по версии с сохранением истории; недоступные назначения требуют явной замены.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "employee_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "task_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "accepted_at": {
          "type": [
            "null",
            "string"
          ]
        },
        "admin_link": {
          "type": "string"
        },
        "assignees": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "email": {
                "type": "string"
              },
              "full_name": {
                "type": "string"
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "full_name"
            ],
            "type": "object"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "code": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "deadline": {
          "type": "string"
        },
        "deleted_at": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_actor_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_actor_role": {
          "type": [
            "null",
            "string"
          ]
        },
        "deleted_by_run_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        },
        "project_display": {
          "type": "string"
        },
        "projects": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "parent_id": {
                "type": [
                  "null",
                  "string"
                ]
              }
            },
            "required": [
              "id",
              "name"
            ],
            "type": "object"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "stage": {
          "type": [
            "null",
            "string"
          ]
        },
        "status": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "id",
        "code",
        "title",
        "description",
        "stage",
        "deadline",
        "status",
        "version",
        "position",
        "accepted_at",
        "created_at",
        "updated_at",
        "projects",
        "project_display",
        "assignees"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013",
  "version": 1,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "tasks_restore",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "code": "example",
    "title": "Вымышленный пример",
    "description": "Вымышленный пример",
    "stage": null,
    "deadline": "2026-09-21T09:00:00Z",
    "status": "not_started",
    "version": 2,
    "position": 1,
    "accepted_at": null,
    "created_at": "2026-09-21T09:00:00Z",
    "updated_at": "2026-09-21T09:00:00Z",
    "projects": null,
    "project_display": "example",
    "assignees": null
  }
}

tasks_reorder

Атомарное изменение порядка и статусов по версиям.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "updates": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "position": {
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "enum": [
              "not_started",
              "in_progress",
              "done",
              "overdue"
            ],
            "type": "string"
          },
          "task_id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "version": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "task_id",
          "version",
          "status",
          "position"
        ],
        "type": "object"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "updates",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {},
      "required": [],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "updates": [
    {
      "task_id": "00000000-0000-4000-8000-000000000013",
      "version": 1,
      "status": "not_started",
      "position": 0
    }
  ],
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "tasks_reorder",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {}
}

tasks_delete

Подготовка браузерного подтверждения мягкого удаления. После одобрения повторите команду с теми же версией и ключом, добавив confirmation_id.

Изменение или подготовка действия · tasks

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "task_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "task_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "task_id": "00000000-0000-4000-8000-000000000013",
  "version": 1,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:10:00Z"
}

projects_list

Один уровень дерева проектов; без parent_id возвращаются корни.

Чтение · projects

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "parent_id": {
      "anyOf": [
        {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "search": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parent_id": {
            "type": [
              "null",
              "string"
            ]
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "parent_id",
          "name",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "next_cursor": {
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

employees_list

Список сотрудников с курсорной пагинацией.

Чтение · employees

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "search": {
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name",
          "email",
          "active"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "next_cursor": {
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

admins_list

Администраторы; технические учётные записи мониторинга скрыты.

Чтение · admins

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "login": {
            "type": "string"
          },
          "must_change_password": {
            "type": "boolean"
          },
          "notify_on_status_change": {
            "type": "boolean"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name",
          "email",
          "login",
          "active",
          "must_change_password",
          "notify_on_status_change",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

projects_delete_preview

Предварительный просмотр каскадных последствий удаления проекта.

Чтение · projects

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "project_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "project_count": {
      "type": "integer"
    },
    "task_count": {
      "type": "integer"
    }
  },
  "required": [
    "project_count",
    "task_count"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "project_count": 1,
  "task_count": 1
}

projects_create

Создание проекта с долговечным ключом повтора.

Изменение или подготовка действия · projects

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "name": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "parent_id": {
      "anyOf": [
        {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "name",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "created_at": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "parent_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "updated_at": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "parent_id",
        "name",
        "created_at",
        "updated_at"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "name": "Вымышленный пример",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "projects_create",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "parent_id": null,
    "name": "Вымышленный пример",
    "created_at": "2026-09-21T09:00:00Z",
    "updated_at": "2026-09-21T09:00:00Z"
  }
}

employees_create

Создание сотрудника с долговечным ключом повтора.

Изменение или подготовка действия · employees

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "email": {
      "maxLength": 320,
      "minLength": 1,
      "type": "string"
    },
    "full_name": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "full_name",
    "email",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "email": {
          "type": "string"
        },
        "full_name": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "full_name",
        "email",
        "active"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "full_name": "Вымышленный пример",
  "email": "fictional@example.test",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "employees_create",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "full_name": "Вымышленный пример",
    "email": "fictional@example.test",
    "active": false
  }
}

projects_update

Изменение указанных полей проекта; parent_id=null переносит в корень.

Изменение или подготовка действия · projects

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "name": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [],
      "type": "object"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "project_id",
    "changes",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "created_at": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "parent_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "updated_at": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "parent_id",
        "name",
        "created_at",
        "updated_at"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013",
  "changes": {
    "name": "Вымышленный пример"
  },
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "projects_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "parent_id": null,
    "name": "Вымышленный пример",
    "created_at": "2026-09-21T09:00:00Z",
    "updated_at": "2026-09-21T09:00:00Z"
  }
}

employees_update

Изменение указанных полей сотрудника; пропущенные поля сохраняются.

Изменение или подготовка действия · employees

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "email": {
          "maxLength": 320,
          "minLength": 1,
          "type": "string"
        },
        "full_name": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "employee_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "employee_id",
    "changes",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "email": {
          "type": "string"
        },
        "full_name": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "full_name",
        "email",
        "active"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "employee_id": "00000000-0000-4000-8000-000000000013",
  "changes": {
    "full_name": "Вымышленный сотрудник"
  },
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "employees_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "full_name": "Вымышленный сотрудник",
    "email": "fictional@example.test",
    "active": false
  }
}

admins_update

Изменение указанных полей администратора; пропущенные поля сохраняются.

Изменение или подготовка действия · admins

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "admin_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "email": {
          "maxLength": 320,
          "minLength": 1,
          "type": "string"
        },
        "full_name": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "notify_on_status_change": {
          "type": "boolean"
        }
      },
      "required": [],
      "type": "object"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "admin_id",
    "changes",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "full_name": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "login": {
          "type": "string"
        },
        "must_change_password": {
          "type": "boolean"
        },
        "notify_on_status_change": {
          "type": "boolean"
        },
        "updated_at": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "full_name",
        "email",
        "login",
        "active",
        "must_change_password",
        "notify_on_status_change",
        "created_at",
        "updated_at"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "admin_id": "00000000-0000-4000-8000-000000000013",
  "changes": {
    "full_name": "Вымышленный администратор"
  },
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "admins_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "full_name": "Вымышленный администратор",
    "email": "fictional@example.test",
    "login": "example",
    "active": false,
    "must_change_password": false,
    "notify_on_status_change": false,
    "created_at": "2026-09-21T09:00:00Z",
    "updated_at": "2026-09-21T09:00:00Z"
  }
}

projects_delete

Подготовка браузерного подтверждения каскадного удаления. После одобрения повторите тот же ключ с confirmation_id; изменившиеся зависимости требуют нового просмотра.

Изменение или подготовка действия · projects

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "project_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "project_count": {
              "type": "integer"
            },
            "task_count": {
              "type": "integer"
            }
          },
          "required": [
            "project_count",
            "task_count"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:10:00Z"
}

employees_delete

Подготовка браузерного подтверждения удаления сотрудника; после одобрения повторите тот же ключ с confirmation_id.

Изменение или подготовка действия · employees

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "employee_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "employee_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "employee_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:10:00Z"
}

admins_delete

Подготовка браузерного подтверждения удаления администратора; после одобрения повторите тот же ключ с confirmation_id.

Изменение или подготовка действия · admins

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "admin_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "admin_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "admin_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:10:00Z"
}

admins_create

Открытие защищённой браузерной формы временного пароля. Пароль не передаётся инструменту; браузер завершает операцию и возвращает квитанцию.

Изменение или подготовка действия · admins

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "email": {
      "maxLength": 320,
      "minLength": 1,
      "type": "string"
    },
    "full_name": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "login": {
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "full_name",
    "login",
    "email",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "created_at": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "login": {
              "type": "string"
            },
            "must_change_password": {
              "type": "boolean"
            },
            "notify_on_status_change": {
              "type": "boolean"
            },
            "updated_at": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "full_name",
            "email",
            "login",
            "active",
            "must_change_password",
            "notify_on_status_change",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "full_name": "Вымышленный пример",
  "login": "example",
  "email": "fictional@example.test",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:00:00Z"
}

admins_reset_password

Смена временного пароля в защищённой браузерной форме. Отзывает сессии и подключения выбранного администратора, включая собственные.

Изменение или подготовка действия · admins

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "admin_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "admin_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "admin_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:00:00Z"
}

reports_get

Детали отчёта: проверяются все страницы выбранного журнала; частичный ответ не возвращается.

Чтение · reports

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "date_from": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "date_to": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "employee_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "report_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "report_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "created_at": {
      "type": "string"
    },
    "employee_id": {
      "type": "string"
    },
    "employee_name": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "plans_text": {
      "type": "string"
    },
    "results_text": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "employee_id",
    "employee_name",
    "results_text",
    "plans_text",
    "note",
    "created_at"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "report_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "id": "00000000-0000-4000-8000-000000000013",
  "employee_id": "00000000-0000-4000-8000-000000000013",
  "employee_name": "example",
  "results_text": "example",
  "plans_text": "example",
  "note": "example",
  "created_at": "2026-09-21T09:00:00Z"
}

reports_employees

Справочник отчётов с текущими именами сотрудников.

Чтение · reports

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

reports_roll_call

Полная перекличка выбранной московской недели с деталями и количеством отчётов; по умолчанию текущая неделя.

Чтение · reports

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "search": {
      "type": "string"
    },
    "week_start": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "date_from": {
      "type": "string"
    },
    "date_to": {
      "type": "string"
    },
    "employees": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "days": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "count": {
                  "type": "integer"
                },
                "date": {
                  "type": "string"
                },
                "reports": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "created_at": {
                        "type": "string"
                      },
                      "employee_id": {
                        "type": "string"
                      },
                      "employee_name": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "note": {
                        "type": "string"
                      },
                      "plans_text": {
                        "type": "string"
                      },
                      "results_text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "employee_id",
                      "employee_name",
                      "results_text",
                      "plans_text",
                      "note",
                      "created_at"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "null",
                    "array"
                  ]
                },
                "state": {
                  "type": "string"
                }
              },
              "required": [
                "date",
                "count",
                "state",
                "reports"
              ],
              "type": "object"
            },
            "type": [
              "null",
              "array"
            ]
          },
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name",
          "days"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "date_from",
    "date_to",
    "employees"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "date_from": "2026-09-21",
  "date_to": "2026-09-21",
  "employees": null
}

reports_export

Подготовка авторизованной загрузки XLSX с теми же фильтрами. Повторяйте тот же ключ для сохранения идентификатора передачи.

Чтение · reports

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "date_from": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "date_to": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "employee_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "binary_url": {
      "pattern": "^https://[^/]+/tasklane/files/",
      "type": "string"
    },
    "expires_at": {
      "format": "date-time",
      "type": "string"
    },
    "filename": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "mime_type": {
      "const": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
    },
    "owner": {
      "enum": [
        "tasklane",
        "reports"
      ]
    },
    "resource_uri": {
      "pattern": "^tasklane://exports/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "transfer_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "url": {
      "pattern": "^https://[^/]+/mcp-files/",
      "type": "string"
    }
  },
  "required": [
    "resource_uri",
    "filename",
    "mime_type",
    "expires_at",
    "transfer_id",
    "owner",
    "url",
    "binary_url"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "idempotency_key": "example-task13-001"
}

Результат

{
  "resource_uri": "tasklane://exports/00000000-0000-4000-8000-000000000013",
  "filename": "fictional-export.xlsx",
  "mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  "expires_at": "2026-09-21T09:00:00Z",
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "owner": "reports",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=reports",
  "binary_url": "https://mcp-dev.bkgroup.pro/tasklane/files/reports/00000000-0000-4000-8000-000000000013"
}

analytics_get

Аналитика задач. Без дат используется текущая московская неделя, пустые даты снимают ограничение. Проценты распределяются до суммы 100.

Чтение · analytics

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "date_from": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "date_to": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "employee_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "type": "array",
      "uniqueItems": true
    },
    "project_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "type": "array",
      "uniqueItems": true
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "byEmployee": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "done": {
            "type": "integer"
          },
          "employee_id": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "in_progress": {
            "type": "integer"
          },
          "not_started": {
            "type": "integer"
          },
          "overdue": {
            "type": "integer"
          }
        },
        "required": [
          "employee_id",
          "full_name",
          "not_started",
          "in_progress",
          "done",
          "overdue"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "byProject": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "done": {
            "type": "integer"
          },
          "in_progress": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "not_started": {
            "type": "integer"
          },
          "overdue": {
            "type": "integer"
          },
          "project_id": {
            "type": "string"
          }
        },
        "required": [
          "project_id",
          "name",
          "not_started",
          "in_progress",
          "done",
          "overdue"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "byStatus": {
      "additionalProperties": false,
      "properties": {
        "done": {
          "type": "integer"
        },
        "in_progress": {
          "type": "integer"
        },
        "not_started": {
          "type": "integer"
        },
        "overdue": {
          "type": "integer"
        }
      },
      "required": [
        "not_started",
        "in_progress",
        "done",
        "overdue"
      ],
      "type": "object"
    },
    "filters": {
      "additionalProperties": false,
      "properties": {
        "date_from": {
          "type": "string"
        },
        "date_to": {
          "type": "string"
        },
        "employee_ids": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "project_ids": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        }
      },
      "required": [
        "date_from",
        "date_to",
        "employee_ids",
        "project_ids"
      ],
      "type": "object"
    },
    "percentages": {
      "items": {
        "type": "integer"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "filters",
    "byStatus",
    "byEmployee",
    "byProject",
    "percentages"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "filters": {
    "date_from": "2026-09-21",
    "date_to": "2026-09-21",
    "employee_ids": null,
    "project_ids": null
  },
  "byStatus": {
    "not_started": 1,
    "in_progress": 1,
    "done": 1,
    "overdue": 1
  },
  "byEmployee": null,
  "byProject": null,
  "percentages": [
    25,
    25,
    25,
    25
  ]
}

analytics_export

Подготовка авторизованного XLSX аналитики с явными фильтрами; пустые даты снимают ограничение.

Чтение · analytics

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "date_from": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "date_to": {
      "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
      "type": "string"
    },
    "employee_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "type": "array",
      "uniqueItems": true
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_ids": {
      "items": {
        "not": {
          "const": "00000000-0000-0000-0000-000000000000"
        },
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "type": "string"
      },
      "maxItems": 200,
      "type": "array",
      "uniqueItems": true
    }
  },
  "required": [
    "idempotency_key",
    "date_from",
    "date_to"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "binary_url": {
      "pattern": "^https://[^/]+/tasklane/files/",
      "type": "string"
    },
    "expires_at": {
      "format": "date-time",
      "type": "string"
    },
    "filename": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "mime_type": {
      "const": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
    },
    "owner": {
      "enum": [
        "tasklane",
        "reports"
      ]
    },
    "resource_uri": {
      "pattern": "^tasklane://exports/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "transfer_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "url": {
      "pattern": "^https://[^/]+/mcp-files/",
      "type": "string"
    }
  },
  "required": [
    "resource_uri",
    "filename",
    "mime_type",
    "expires_at",
    "transfer_id",
    "owner",
    "url",
    "binary_url"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "idempotency_key": "example-task13-001",
  "date_from": "2026-09-21",
  "date_to": "2026-09-21"
}

Результат

{
  "resource_uri": "tasklane://exports/00000000-0000-4000-8000-000000000013",
  "filename": "fictional-export.xlsx",
  "mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  "expires_at": "2026-09-21T09:00:00Z",
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "owner": "tasklane",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=tasklane",
  "binary_url": "https://mcp-dev.bkgroup.pro/tasklane/files/tasklane/00000000-0000-4000-8000-000000000013"
}

board_get

Табло от имени администратора без регистрации устройства и без PIN.

Чтение · board

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "day_after_tomorrow_start": {
      "type": "string"
    },
    "next_day_start": {
      "type": "string"
    },
    "server_time": {
      "type": "string"
    },
    "tasks": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "assignees": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "full_name": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "full_name"
              ],
              "type": "object"
            },
            "type": [
              "null",
              "array"
            ]
          },
          "code": {
            "type": "string"
          },
          "deadline": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "projects": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "path"
              ],
              "type": "object"
            },
            "type": [
              "null",
              "array"
            ]
          },
          "stage": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "code",
          "title",
          "description",
          "stage",
          "deadline",
          "status",
          "group",
          "projects",
          "assignees"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    },
    "today_start": {
      "type": "string"
    },
    "tomorrow_start": {
      "type": "string"
    }
  },
  "required": [
    "server_time",
    "today_start",
    "next_day_start",
    "tomorrow_start",
    "day_after_tomorrow_start",
    "tasks"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "server_time": "example",
  "today_start": "example",
  "next_day_start": "example",
  "tomorrow_start": "example",
  "day_after_tomorrow_start": "example",
  "tasks": null
}

board_settings_get

Признак настройки PIN; код и хеш не возвращаются.

Чтение · board

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "pin_configured": {
      "type": "boolean"
    }
  },
  "required": [
    "pin_configured"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "pin_configured": false
}

board_devices_list

Метаданные устройств табло без токенов и хешей.

Чтение · board

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "devices": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "last_seen_at": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revoked_at": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "created_at",
          "last_seen_at",
          "revoked_at"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "devices"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "devices": null
}

board_settings_update

Ввод шестизначного PIN в защищённой браузерной форме. PIN нельзя передавать инструменту; повтор ключа возвращает квитанцию.

Изменение или подготовка действия · board

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:00:00Z"
}

board_devices_revoke

Подготовка браузерного подтверждения отзыва устройства; повторите ключ с одобренным confirmation_id.

Изменение или подготовка действия · board

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "device_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "device_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "device_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:00:00Z"
}

notices_list

Уведомления о документах: 50 записей на страницу, продолжение через offset.

Чтение · notices

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "offset": {
      "maximum": 1000000,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "acknowledged_at": {
            "type": [
              "null",
              "string"
            ]
          },
          "acknowledged_count": {
            "type": "integer"
          },
          "changes": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "project_id": {
            "type": [
              "null",
              "string"
            ]
          },
          "recipient_count": {
            "type": "integer"
          },
          "reported_by": {
            "type": "string"
          },
          "schedule_version": {
            "type": [
              "null",
              "integer"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "location",
          "reported_by",
          "changes",
          "project_id",
          "schedule_version",
          "created_at",
          "acknowledged_at",
          "recipient_count",
          "acknowledged_count"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": null
}

notices_pending

Получатели, ещё не подтвердившие ознакомление; инструмент не подтверждает за них.

Чтение · notices

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "notice_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "notice_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "full_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "full_name"
        ],
        "type": "object"
      },
      "type": [
        "null",
        "array"
      ]
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "notice_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "items": null
}

notices_remind

Одно напоминание ожидающим получателям; повтор того же ключа возвращает квитанцию.

Изменение или подготовка действия · notices

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "notice_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "notice_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "acknowledged_at": {
          "type": [
            "null",
            "string"
          ]
        },
        "acknowledged_count": {
          "type": "integer"
        },
        "changes": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "project_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "recipient_count": {
          "type": "integer"
        },
        "reported_by": {
          "type": "string"
        },
        "schedule_version": {
          "type": [
            "null",
            "integer"
          ]
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "title",
        "location",
        "reported_by",
        "changes",
        "project_id",
        "schedule_version",
        "created_at",
        "acknowledged_at",
        "recipient_count",
        "acknowledged_count"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "notice_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "notices_remind",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "id": "00000000-0000-4000-8000-000000000013",
    "title": "Вымышленный пример",
    "location": "example",
    "reported_by": "example",
    "changes": "example",
    "project_id": null,
    "schedule_version": null,
    "created_at": "2026-09-21T09:00:00Z",
    "acknowledged_at": null,
    "recipient_count": 1,
    "acknowledged_count": 1
  }
}

notices_create

Подготовка браузерного подтверждения публикации уведомления. Вызов инструмента сам по себе не публикует его.

Изменение или подготовка действия · notices

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "notice": {
      "additionalProperties": false,
      "anyOf": [
        {
          "properties": {
            "all": {
              "const": false
            },
            "employee_ids": {
              "items": {
                "not": {
                  "const": "00000000-0000-0000-0000-000000000000"
                },
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                "type": "string"
              },
              "maxItems": 10000,
              "minItems": 1,
              "type": "array"
            }
          }
        },
        {
          "properties": {
            "all": {
              "const": true
            },
            "employee_ids": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "maxItems": 0,
                  "type": "array"
                }
              ]
            }
          }
        }
      ],
      "properties": {
        "all": {
          "type": "boolean"
        },
        "changes": {
          "type": "string"
        },
        "employee_ids": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "location": {
          "type": "string"
        },
        "reported_by": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "location",
        "reported_by",
        "changes",
        "all",
        "employee_ids"
      ],
      "type": "object"
    }
  },
  "required": [
    "notice",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "oneOf": [
    {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "status": {
                "const": "succeeded"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "succeeded"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "failed"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "failed"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "unknown"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "unknown"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        }
      ],
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "notice": {
              "additionalProperties": false,
              "anyOf": [
                {
                  "properties": {
                    "all": {
                      "const": false
                    },
                    "employee_ids": {
                      "items": {
                        "not": {
                          "const": "00000000-0000-0000-0000-000000000000"
                        },
                        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                        "type": "string"
                      },
                      "maxItems": 10000,
                      "minItems": 1,
                      "type": "array"
                    }
                  }
                },
                {
                  "properties": {
                    "all": {
                      "const": true
                    },
                    "employee_ids": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "maxItems": 0,
                          "type": "array"
                        }
                      ]
                    }
                  }
                }
              ],
              "properties": {
                "all": {
                  "type": "boolean"
                },
                "changes": {
                  "type": "string"
                },
                "employee_ids": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "null",
                    "array"
                  ]
                },
                "location": {
                  "type": "string"
                },
                "reported_by": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "title",
                "location",
                "reported_by",
                "changes",
                "all",
                "employee_ids"
              ],
              "type": "object"
            },
            "project_id": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "version": {
              "const": 0
            }
          },
          "required": [
            "project_id",
            "version",
            "notice"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "notices_create"
        },
        "owner": {
          "const": "documents"
        },
        "receipt": {
          "additionalProperties": false,
          "else": {
            "if": {
              "properties": {
                "state": {
                  "const": "failed"
                }
              }
            },
            "then": {
              "required": [
                "error_code"
              ]
            }
          },
          "if": {
            "properties": {
              "state": {
                "const": "succeeded"
              }
            }
          },
          "properties": {
            "completed_at": {
              "format": "date-time",
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "error_code": {
              "type": "string"
            },
            "operation": {
              "const": "notices_create"
            },
            "operation_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "acknowledged_at": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "acknowledged_count": {
                  "type": "integer"
                },
                "changes": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "project_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "recipient_count": {
                  "type": "integer"
                },
                "reported_by": {
                  "type": "string"
                },
                "schedule_version": {
                  "type": [
                    "null",
                    "integer"
                  ]
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "title",
                "location",
                "reported_by",
                "changes",
                "project_id",
                "schedule_version",
                "created_at",
                "acknowledged_at",
                "recipient_count",
                "acknowledged_count"
              ],
              "type": "object"
            },
            "state": {
              "enum": [
                "succeeded",
                "failed",
                "unknown"
              ]
            }
          },
          "required": [
            "operation_id",
            "operation",
            "state",
            "created_at"
          ],
          "then": {
            "required": [
              "result"
            ]
          },
          "type": "object"
        },
        "status": {
          "enum": [
            "awaiting_confirmation",
            "succeeded",
            "failed",
            "unknown"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "notice": {
    "title": "Вымышленный пример",
    "location": "example",
    "reported_by": "example",
    "changes": "example",
    "all": true,
    "employee_ids": []
  },
  "idempotency_key": "example-task13-001"
}

Результат

{
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "kind": "notices_create",
  "owner": "documents",
  "args": {
    "project_id": "00000000-0000-0000-0000-000000000000",
    "version": 0,
    "notice": {
      "title": "Вымышленный пример",
      "location": "example",
      "reported_by": "example",
      "changes": "example",
      "all": true,
      "employee_ids": []
    }
  },
  "status": "awaiting_confirmation",
  "expires_at": "2026-09-21T09:00:00Z",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=documents"
}

schedules_get

Метаданные текущего графика проекта.

Чтение · schedules

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "project_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "schedule": {
      "additionalProperties": false,
      "properties": {
        "source_name": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "version",
        "updated_at",
        "source_name"
      ],
      "type": [
        "null",
        "object"
      ]
    }
  },
  "required": [
    "schedule"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "schedule": null
}

schedules_publish

Загрузка локального XLSX до 10 МиБ и явная публикация в защищённом браузере. Версия 0 создаёт первый график; URL и байты файлов не принимаются.

Изменение или подготовка действия · schedules

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "project_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "oneOf": [
    {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "status": {
                "const": "succeeded"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "succeeded"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "failed"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "failed"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "unknown"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "unknown"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        }
      ],
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_publish"
        },
        "owner": {
          "const": "documents"
        },
        "receipt": {
          "additionalProperties": false,
          "else": {
            "if": {
              "properties": {
                "state": {
                  "const": "failed"
                }
              }
            },
            "then": {
              "required": [
                "error_code"
              ]
            }
          },
          "if": {
            "properties": {
              "state": {
                "const": "succeeded"
              }
            }
          },
          "properties": {
            "completed_at": {
              "format": "date-time",
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "error_code": {
              "type": "string"
            },
            "operation": {
              "const": "schedules_publish"
            },
            "operation_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "source_name": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "version",
                "updated_at",
                "source_name"
              ],
              "type": "object"
            },
            "state": {
              "enum": [
                "succeeded",
                "failed",
                "unknown"
              ]
            }
          },
          "required": [
            "operation_id",
            "operation",
            "state",
            "created_at"
          ],
          "then": {
            "required": [
              "result"
            ]
          },
          "type": "object"
        },
        "status": {
          "enum": [
            "awaiting_upload",
            "processing",
            "validation_failed",
            "render_failed",
            "storage_unavailable",
            "conflict",
            "authorization_changed",
            "processing_unavailable",
            "succeeded",
            "failed",
            "unknown"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013",
  "version": 0,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "kind": "schedules_publish",
  "owner": "documents",
  "args": {
    "project_id": "00000000-0000-4000-8000-000000000013",
    "version": 0
  },
  "status": "awaiting_upload",
  "expires_at": "2026-09-21T09:00:00Z",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=documents"
}

schedules_source

Подготовка авторизованной браузерной загрузки исходника выбранной версии графика.

Чтение · schedules

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "project_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "oneOf": [
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_source"
        },
        "owner": {
          "const": "documents"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013",
  "version": 0,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "kind": "schedules_source",
  "owner": "documents",
  "args": {
    "project_id": "00000000-0000-4000-8000-000000000013",
    "version": 1
  },
  "status": "ready",
  "expires_at": "2026-09-21T09:00:00Z",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=documents"
}

schedules_image

Подготовка авторизованной браузерной загрузки изображения выбранной версии графика.

Чтение · schedules

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "project_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "project_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "oneOf": [
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_image"
        },
        "owner": {
          "const": "documents"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "project_id": "00000000-0000-4000-8000-000000000013",
  "version": 0,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "kind": "schedules_image",
  "owner": "documents",
  "args": {
    "project_id": "00000000-0000-4000-8000-000000000013",
    "version": 1
  },
  "status": "ready",
  "expires_at": "2026-09-21T09:00:00Z",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=documents"
}

files_transfer_status

Состояние передачи, срок действия и квитанция публикации с повторной проверкой прав администратора и подключения.

Чтение · files

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "owner": {
      "enum": [
        "tasklane",
        "reports",
        "documents"
      ]
    },
    "transfer_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "owner",
    "transfer_id"
  ],
  "type": "object"
}
Выходная схема
{
  "oneOf": [
    {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "status": {
                "const": "succeeded"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "succeeded"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "failed"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "failed"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "unknown"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "unknown"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        }
      ],
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "notice": {
              "additionalProperties": false,
              "anyOf": [
                {
                  "properties": {
                    "all": {
                      "const": false
                    },
                    "employee_ids": {
                      "items": {
                        "not": {
                          "const": "00000000-0000-0000-0000-000000000000"
                        },
                        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                        "type": "string"
                      },
                      "maxItems": 10000,
                      "minItems": 1,
                      "type": "array"
                    }
                  }
                },
                {
                  "properties": {
                    "all": {
                      "const": true
                    },
                    "employee_ids": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "maxItems": 0,
                          "type": "array"
                        }
                      ]
                    }
                  }
                }
              ],
              "properties": {
                "all": {
                  "type": "boolean"
                },
                "changes": {
                  "type": "string"
                },
                "employee_ids": {
                  "items": {
                    "type": "string"
                  },
                  "type": [
                    "null",
                    "array"
                  ]
                },
                "location": {
                  "type": "string"
                },
                "reported_by": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "title",
                "location",
                "reported_by",
                "changes",
                "all",
                "employee_ids"
              ],
              "type": "object"
            },
            "project_id": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "version": {
              "const": 0
            }
          },
          "required": [
            "project_id",
            "version",
            "notice"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "notices_create"
        },
        "owner": {
          "const": "documents"
        },
        "receipt": {
          "additionalProperties": false,
          "else": {
            "if": {
              "properties": {
                "state": {
                  "const": "failed"
                }
              }
            },
            "then": {
              "required": [
                "error_code"
              ]
            }
          },
          "if": {
            "properties": {
              "state": {
                "const": "succeeded"
              }
            }
          },
          "properties": {
            "completed_at": {
              "format": "date-time",
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "error_code": {
              "type": "string"
            },
            "operation": {
              "const": "notices_create"
            },
            "operation_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "acknowledged_at": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "acknowledged_count": {
                  "type": "integer"
                },
                "changes": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "project_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "recipient_count": {
                  "type": "integer"
                },
                "reported_by": {
                  "type": "string"
                },
                "schedule_version": {
                  "type": [
                    "null",
                    "integer"
                  ]
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "title",
                "location",
                "reported_by",
                "changes",
                "project_id",
                "schedule_version",
                "created_at",
                "acknowledged_at",
                "recipient_count",
                "acknowledged_count"
              ],
              "type": "object"
            },
            "state": {
              "enum": [
                "succeeded",
                "failed",
                "unknown"
              ]
            }
          },
          "required": [
            "operation_id",
            "operation",
            "state",
            "created_at"
          ],
          "then": {
            "required": [
              "result"
            ]
          },
          "type": "object"
        },
        "status": {
          "enum": [
            "awaiting_confirmation",
            "succeeded",
            "failed",
            "unknown"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "status": {
                "const": "succeeded"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "succeeded"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "failed"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "failed"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "status": {
                "const": "unknown"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "properties": {
                  "state": {
                    "const": "unknown"
                  }
                }
              }
            },
            "required": [
              "receipt"
            ]
          }
        }
      ],
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_publish"
        },
        "owner": {
          "const": "documents"
        },
        "receipt": {
          "additionalProperties": false,
          "else": {
            "if": {
              "properties": {
                "state": {
                  "const": "failed"
                }
              }
            },
            "then": {
              "required": [
                "error_code"
              ]
            }
          },
          "if": {
            "properties": {
              "state": {
                "const": "succeeded"
              }
            }
          },
          "properties": {
            "completed_at": {
              "format": "date-time",
              "type": "string"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "error_code": {
              "type": "string"
            },
            "operation": {
              "const": "schedules_publish"
            },
            "operation_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "source_name": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "version",
                "updated_at",
                "source_name"
              ],
              "type": "object"
            },
            "state": {
              "enum": [
                "succeeded",
                "failed",
                "unknown"
              ]
            }
          },
          "required": [
            "operation_id",
            "operation",
            "state",
            "created_at"
          ],
          "then": {
            "required": [
              "result"
            ]
          },
          "type": "object"
        },
        "status": {
          "enum": [
            "awaiting_upload",
            "processing",
            "validation_failed",
            "render_failed",
            "storage_unavailable",
            "conflict",
            "authorization_changed",
            "processing_unavailable",
            "succeeded",
            "failed",
            "unknown"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_source"
        },
        "owner": {
          "const": "documents"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "project_id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "project_id",
            "version"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "schedules_image"
        },
        "owner": {
          "const": "documents"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "date_from": {
              "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
              "type": "string"
            },
            "date_to": {
              "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
              "type": "string"
            },
            "employee_id": {
              "anyOf": [
                {
                  "const": ""
                },
                {
                  "not": {
                    "const": "00000000-0000-0000-0000-000000000000"
                  },
                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "employee_id",
            "date_from",
            "date_to"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "reports_export"
        },
        "owner": {
          "const": "reports"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "args": {
          "additionalProperties": false,
          "properties": {
            "date_from": {
              "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
              "type": "string"
            },
            "date_to": {
              "pattern": "^([0-9]{4}-[0-9]{2}-[0-9]{2})?$",
              "type": "string"
            },
            "employee_ids": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "items": {
                    "not": {
                      "const": "00000000-0000-0000-0000-000000000000"
                    },
                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                    "type": "string"
                  },
                  "maxItems": 200,
                  "type": "array",
                  "uniqueItems": true
                }
              ]
            },
            "project_ids": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "items": {
                    "not": {
                      "const": "00000000-0000-0000-0000-000000000000"
                    },
                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                    "type": "string"
                  },
                  "maxItems": 200,
                  "type": "array",
                  "uniqueItems": true
                }
              ]
            }
          },
          "required": [
            "date_from",
            "date_to",
            "employee_ids",
            "project_ids"
          ],
          "type": "object"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "kind": {
          "const": "analytics_export"
        },
        "owner": {
          "const": "tasklane"
        },
        "status": {
          "enum": [
            "ready"
          ]
        },
        "transfer_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "transfer_id",
        "kind",
        "owner",
        "args",
        "status",
        "expires_at",
        "url"
      ],
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "owner": "documents",
  "transfer_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "transfer_id": "00000000-0000-4000-8000-000000000013",
  "kind": "notices_create",
  "owner": "documents",
  "args": {
    "project_id": "00000000-0000-0000-0000-000000000000",
    "version": 0,
    "notice": {
      "title": "Вымышленный пример",
      "location": "example",
      "reported_by": "example",
      "changes": "example",
      "all": false,
      "employee_ids": [
        "00000000-0000-4000-8000-000000000014"
      ]
    }
  },
  "status": "awaiting_confirmation",
  "expires_at": "2026-09-21T09:00:00Z",
  "url": "https://tasks-dev.bkgroup.pro/mcp-files/00000000-0000-4000-8000-000000000013?owner=documents"
}

ai_settings_get

Настройки AI, точная версия и доступность провайдера. Ключи остаются на сервере.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "active_profile_id": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        }
      ]
    },
    "blocked_reason": {
      "type": "string"
    },
    "effective_enabled": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "enabled_since": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "format": "date-time",
          "type": "string"
        }
      ]
    },
    "epoch": {
      "minimum": 0,
      "type": "integer"
    },
    "key_available": {
      "type": "boolean"
    },
    "status_text": {
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "active_profile_id",
    "blocked_reason",
    "effective_enabled",
    "enabled",
    "enabled_since",
    "epoch",
    "key_available",
    "status_text",
    "version"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "active_profile_id": null,
  "blocked_reason": "example",
  "effective_enabled": false,
  "enabled": false,
  "enabled_since": null,
  "epoch": 0,
  "key_available": false,
  "status_text": "example",
  "version": 1
}

ai_settings_update

Изменение по точной версии. Включение требует одобрения в браузере и повтора команды с confirmation_id. Обрабатываются только новые несинтетические отчёты после включения.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "enabled",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_settings_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active_profile_id": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "not": {
                    "const": "00000000-0000-0000-0000-000000000000"
                  },
                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                  "type": "string"
                }
              ]
            },
            "blocked_reason": {
              "type": "string"
            },
            "effective_enabled": {
              "type": "boolean"
            },
            "enabled": {
              "type": "boolean"
            },
            "enabled_since": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "epoch": {
              "minimum": 0,
              "type": "integer"
            },
            "key_available": {
              "type": "boolean"
            },
            "status_text": {
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "active_profile_id",
            "blocked_reason",
            "effective_enabled",
            "enabled",
            "enabled_since",
            "epoch",
            "key_available",
            "status_text",
            "version"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "enabled": false,
  "version": 1,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_settings_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "active_profile_id": null,
    "blocked_reason": "example",
    "effective_enabled": false,
    "enabled": false,
    "enabled_since": null,
    "epoch": 0,
    "key_available": false,
    "status_text": "example",
    "version": 1
  }
}

ai_profiles_list

Неизменяемые импортированные профили без секретов.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "key_available": {
            "type": "boolean"
          },
          "snapshot": {
            "additionalProperties": false,
            "properties": {
              "max_input_tokens": {
                "type": "integer"
              },
              "max_output_tokens": {
                "type": "integer"
              },
              "model": {
                "type": "string"
              },
              "parameters": {
                "additionalProperties": false,
                "properties": {
                  "temperature": {
                    "type": "number"
                  },
                  "thinking": {
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "prompt_text": {
                "type": "string"
              },
              "prompt_version": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "schema_version": {
                "type": "integer"
              }
            },
            "required": [
              "max_input_tokens",
              "max_output_tokens",
              "model",
              "parameters",
              "prompt_text",
              "prompt_version",
              "provider",
              "schema_version"
            ],
            "type": "object"
          }
        },
        "required": [
          "created_at",
          "id",
          "key_available",
          "snapshot"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": []
}

ai_profiles_import

Импорт точного имени промпта Langfuse и положительной числовой версии. Не активирует профиль и не включает обработку; идентичный снимок переиспользуется.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "prompt_name": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "prompt_version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "prompt_name",
    "prompt_version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "const": "ai_profiles_import"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "key_available": {
          "type": "boolean"
        },
        "snapshot": {
          "additionalProperties": false,
          "properties": {
            "max_input_tokens": {
              "type": "integer"
            },
            "max_output_tokens": {
              "type": "integer"
            },
            "model": {
              "type": "string"
            },
            "parameters": {
              "additionalProperties": false,
              "properties": {
                "temperature": {
                  "type": "number"
                },
                "thinking": {
                  "type": "string"
                }
              },
              "required": [],
              "type": "object"
            },
            "prompt_text": {
              "type": "string"
            },
            "prompt_version": {
              "type": "string"
            },
            "provider": {
              "type": "string"
            },
            "schema_version": {
              "type": "integer"
            }
          },
          "required": [
            "max_input_tokens",
            "max_output_tokens",
            "model",
            "parameters",
            "prompt_text",
            "prompt_version",
            "provider",
            "schema_version"
          ],
          "type": "object"
        }
      },
      "required": [
        "created_at",
        "id",
        "key_available",
        "snapshot"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "prompt_name": "example",
  "prompt_version": 1,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_profiles_import",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "created_at": "2026-09-21T09:00:00Z",
    "id": "00000000-0000-4000-8000-000000000013",
    "key_available": false,
    "snapshot": {
      "max_input_tokens": 1,
      "max_output_tokens": 1,
      "model": "example",
      "parameters": {},
      "prompt_text": "example",
      "prompt_version": "example",
      "provider": "example",
      "schema_version": 1
    }
  }
}

ai_profiles_activate

Активация импортированного профиля по точной версии настроек после браузерного одобрения. Не включает обработку.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "confirmation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    },
    "profile_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "version": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "profile_id",
    "version",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_profiles_activate"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active_profile_id": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "not": {
                    "const": "00000000-0000-0000-0000-000000000000"
                  },
                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                  "type": "string"
                }
              ]
            },
            "blocked_reason": {
              "type": "string"
            },
            "effective_enabled": {
              "type": "boolean"
            },
            "enabled": {
              "type": "boolean"
            },
            "enabled_since": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "epoch": {
              "minimum": 0,
              "type": "integer"
            },
            "key_available": {
              "type": "boolean"
            },
            "status_text": {
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "active_profile_id",
            "blocked_reason",
            "effective_enabled",
            "enabled",
            "enabled_since",
            "epoch",
            "key_available",
            "status_text",
            "version"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "confirmation_id": {
          "type": "string"
        },
        "confirmation_url": {
          "type": "string"
        },
        "expires_at": {
          "type": "string"
        }
      },
      "required": [
        "confirmation_id",
        "confirmation_url",
        "expires_at"
      ],
      "type": "object"
    }
  ]
}
Вымышленный пример 1

Аргументы

{
  "profile_id": "00000000-0000-4000-8000-000000000013",
  "version": 1,
  "idempotency_key": "example-task13-001"
}

Результат

{
  "confirmation_id": "00000000-0000-4000-8000-000000000013",
  "confirmation_url": "https://tasks-dev.bkgroup.pro/mcp-confirmations/00000000-0000-4000-8000-000000000013",
  "expires_at": "2026-09-21T09:10:00Z"
}

ai_runs_list

Журнал обработки: 50 записей на страницу; продолжайте по next_cursor с теми же фильтрами.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "maxLength": 1024,
      "type": "string"
    },
    "report_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "state": {
      "enum": [
        "",
        "pending",
        "running",
        "retry_wait",
        "applied",
        "no_changes",
        "needs_clarification",
        "failed",
        "skipped_disabled"
      ]
    }
  },
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "attempt": {
            "type": "integer"
          },
          "author_available": {
            "type": "boolean"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "format": "date-time",
                "type": "string"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "employee_name": {
            "type": "string"
          },
          "failure_code": {
            "type": "string"
          },
          "id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "report_id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "status_text": {
            "type": "string"
          }
        },
        "required": [
          "attempt",
          "author_available",
          "completed_at",
          "created_at",
          "employee_name",
          "failure_code",
          "id",
          "report_id",
          "state",
          "status_text"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "next_cursor": {
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "items": []
}

ai_runs_get

Отчёт, ответ, снимки профиля, попытки и аудит действий. Ссылки на задачи доступны только для существующих неудалённых задач.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "run_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "run_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "actions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "snapshot": {
            "additionalProperties": false,
            "properties": {
              "after": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "assignees": {
                          "items": {
                            "not": {
                              "const": "00000000-0000-0000-0000-000000000000"
                            },
                            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "comments": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "author_administrator_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_display_name": {
                                "type": "string"
                              },
                              "author_employee_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_report_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_run_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "content": {
                                "type": "string"
                              },
                              "created_at": {
                                "format": "date-time",
                                "type": "string"
                              },
                              "id": {
                                "not": {
                                  "const": "00000000-0000-0000-0000-000000000000"
                                },
                                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                "type": "string"
                              },
                              "task_id": {
                                "not": {
                                  "const": "00000000-0000-0000-0000-000000000000"
                                },
                                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                "type": "string"
                              },
                              "updated_at": {
                                "format": "date-time",
                                "type": "string"
                              }
                            },
                            "required": [
                              "author_administrator_id",
                              "author_display_name",
                              "author_employee_id",
                              "author_report_id",
                              "author_run_id",
                              "content",
                              "created_at",
                              "id",
                              "task_id",
                              "updated_at"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "projects": {
                          "items": {
                            "not": {
                              "const": "00000000-0000-0000-0000-000000000000"
                            },
                            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "task": {
                          "additionalProperties": false,
                          "properties": {
                            "accepted_at": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "code": {
                              "type": "string"
                            },
                            "created_at": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "deadline": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_actor_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_actor_role": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_run_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "description": {
                              "type": "string"
                            },
                            "employee_id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "position": {
                              "type": "integer"
                            },
                            "project_id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "stage": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            },
                            "synthetic_run_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "title": {
                              "type": "string"
                            },
                            "updated_at": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "version": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "accepted_at",
                            "code",
                            "created_at",
                            "deadline",
                            "deleted_at",
                            "deleted_by_actor_id",
                            "deleted_by_actor_role",
                            "deleted_by_run_id",
                            "description",
                            "employee_id",
                            "id",
                            "position",
                            "project_id",
                            "stage",
                            "status",
                            "synthetic_run_id",
                            "title",
                            "updated_at",
                            "version"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "assignees",
                        "comments",
                        "projects",
                        "task"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                ]
              },
              "before": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "assignees": {
                          "items": {
                            "not": {
                              "const": "00000000-0000-0000-0000-000000000000"
                            },
                            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "comments": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "author_administrator_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_display_name": {
                                "type": "string"
                              },
                              "author_employee_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_report_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "author_run_id": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "not": {
                                      "const": "00000000-0000-0000-0000-000000000000"
                                    },
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                    "type": "string"
                                  }
                                ]
                              },
                              "content": {
                                "type": "string"
                              },
                              "created_at": {
                                "format": "date-time",
                                "type": "string"
                              },
                              "id": {
                                "not": {
                                  "const": "00000000-0000-0000-0000-000000000000"
                                },
                                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                "type": "string"
                              },
                              "task_id": {
                                "not": {
                                  "const": "00000000-0000-0000-0000-000000000000"
                                },
                                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                "type": "string"
                              },
                              "updated_at": {
                                "format": "date-time",
                                "type": "string"
                              }
                            },
                            "required": [
                              "author_administrator_id",
                              "author_display_name",
                              "author_employee_id",
                              "author_report_id",
                              "author_run_id",
                              "content",
                              "created_at",
                              "id",
                              "task_id",
                              "updated_at"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "projects": {
                          "items": {
                            "not": {
                              "const": "00000000-0000-0000-0000-000000000000"
                            },
                            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "task": {
                          "additionalProperties": false,
                          "properties": {
                            "accepted_at": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "code": {
                              "type": "string"
                            },
                            "created_at": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "deadline": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_actor_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_actor_role": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            },
                            "deleted_by_run_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "description": {
                              "type": "string"
                            },
                            "employee_id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "position": {
                              "type": "integer"
                            },
                            "project_id": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "stage": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "string"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            },
                            "synthetic_run_id": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "not": {
                                    "const": "00000000-0000-0000-0000-000000000000"
                                  },
                                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                                  "type": "string"
                                }
                              ]
                            },
                            "title": {
                              "type": "string"
                            },
                            "updated_at": {
                              "format": "date-time",
                              "type": "string"
                            },
                            "version": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "accepted_at",
                            "code",
                            "created_at",
                            "deadline",
                            "deleted_at",
                            "deleted_by_actor_id",
                            "deleted_by_actor_role",
                            "deleted_by_run_id",
                            "description",
                            "employee_id",
                            "id",
                            "position",
                            "project_id",
                            "stage",
                            "status",
                            "synthetic_run_id",
                            "title",
                            "updated_at",
                            "version"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "assignees",
                        "comments",
                        "projects",
                        "task"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                ]
              },
              "evidence": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "field": {
                      "type": "string"
                    },
                    "quote": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "quote"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "after",
              "before",
              "evidence"
            ],
            "type": "object"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "snapshot",
          "status"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "attempt": {
      "type": "integer"
    },
    "attempts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "attempt": {
            "type": "integer"
          },
          "failure_code": {
            "type": "string"
          },
          "finished_at": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "format": "date-time",
                "type": "string"
              }
            ]
          },
          "outcome": {
            "type": "string"
          },
          "profile_id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "profile_snapshot": {
            "additionalProperties": false,
            "properties": {
              "max_input_tokens": {
                "type": "integer"
              },
              "max_output_tokens": {
                "type": "integer"
              },
              "model": {
                "type": "string"
              },
              "parameters": {
                "additionalProperties": false,
                "properties": {
                  "temperature": {
                    "type": "number"
                  },
                  "thinking": {
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "prompt_text": {
                "type": "string"
              },
              "prompt_version": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "schema_version": {
                "type": "integer"
              }
            },
            "required": [
              "max_input_tokens",
              "max_output_tokens",
              "model",
              "parameters",
              "prompt_text",
              "prompt_version",
              "provider",
              "schema_version"
            ],
            "type": "object"
          },
          "started_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "attempt",
          "failure_code",
          "finished_at",
          "outcome",
          "profile_id",
          "profile_snapshot",
          "started_at"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "author_available": {
      "type": "boolean"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "format": "date-time",
          "type": "string"
        }
      ]
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "dirty_revision": {
      "type": "integer"
    },
    "employee_name": {
      "type": "string"
    },
    "export_error": {
      "type": "string"
    },
    "export_status": {
      "type": "string"
    },
    "failure_code": {
      "type": "string"
    },
    "id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "langfuse_url": {
      "type": "string"
    },
    "questions": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "report_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "report_snapshot": {
      "additionalProperties": false,
      "properties": {
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "employee_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "employee_name": {
          "type": "string"
        },
        "event_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "plans_text": {
          "type": "string"
        },
        "report_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "results_text": {
          "type": "string"
        },
        "schema_version": {
          "type": "integer"
        },
        "synthetic": {
          "type": "boolean"
        },
        "today_text": {
          "type": "string"
        },
        "tomorrow_text": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "event_id",
        "report_id",
        "employee_id",
        "employee_name",
        "created_at",
        "synthetic"
      ],
      "type": "object"
    },
    "response_snapshot": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "actions": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "create": {
                        "additionalProperties": false,
                        "properties": {
                          "deadline": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "employee_ids": {
                            "items": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "project_ids": {
                            "items": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "stage": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "title": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "deadline",
                          "description",
                          "employee_ids",
                          "project_ids",
                          "stage",
                          "title"
                        ],
                        "type": "object"
                      },
                      "evidence": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "field": {
                              "type": "string"
                            },
                            "quote": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "field",
                            "quote"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "id": {
                        "type": "string"
                      },
                      "kind": {
                        "enum": [
                          "create_task",
                          "update_task",
                          "add_comment",
                          "soft_delete_task"
                        ]
                      },
                      "task_id": {
                        "not": {
                          "const": "00000000-0000-0000-0000-000000000000"
                        },
                        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                        "type": "string"
                      },
                      "task_ref": {
                        "type": "string"
                      },
                      "update": {
                        "additionalProperties": false,
                        "properties": {
                          "deadline": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "employee_id": {
                            "not": {
                              "const": "00000000-0000-0000-0000-000000000000"
                            },
                            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                            "type": "string"
                          },
                          "position": {
                            "type": "integer"
                          },
                          "project_ids": {
                            "items": {
                              "not": {
                                "const": "00000000-0000-0000-0000-000000000000"
                              },
                              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "stage": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "status": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "version": {
                            "type": "integer"
                          }
                        },
                        "required": [],
                        "type": "object"
                      }
                    },
                    "required": [
                      "id",
                      "kind",
                      "evidence"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "kind": {
                  "const": "action_plan"
                },
                "schema_version": {
                  "const": 1
                },
                "summary": {
                  "type": "string"
                }
              },
              "required": [
                "actions",
                "kind",
                "schema_version",
                "summary"
              ],
              "type": "object"
            },
            {
              "additionalProperties": false,
              "properties": {
                "candidate_task_ids": {
                  "items": {
                    "not": {
                      "const": "00000000-0000-0000-0000-000000000000"
                    },
                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                    "type": "string"
                  },
                  "type": "array"
                },
                "kind": {
                  "const": "needs_clarification"
                },
                "questions": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "schema_version": {
                  "const": 1
                },
                "summary": {
                  "type": "string"
                }
              },
              "required": [
                "candidate_task_ids",
                "kind",
                "questions",
                "schema_version",
                "summary"
              ],
              "type": "object"
            }
          ]
        }
      ]
    },
    "state": {
      "type": "string"
    },
    "status_text": {
      "type": "string"
    },
    "tasks": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "admin_link": {
            "type": "string"
          },
          "available": {
            "type": "boolean"
          },
          "deleted": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "not": {
              "const": "00000000-0000-0000-0000-000000000000"
            },
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "available",
          "deleted",
          "description",
          "id",
          "title"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "verified_revision": {
      "type": "integer"
    }
  },
  "required": [
    "actions",
    "attempt",
    "attempts",
    "author_available",
    "completed_at",
    "created_at",
    "dirty_revision",
    "employee_name",
    "export_error",
    "export_status",
    "failure_code",
    "id",
    "questions",
    "report_id",
    "report_snapshot",
    "response_snapshot",
    "state",
    "status_text",
    "tasks",
    "verified_revision"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "run_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "actions": [],
  "attempt": 1,
  "attempts": [],
  "author_available": false,
  "completed_at": null,
  "created_at": "2026-09-21T09:00:00Z",
  "dirty_revision": 1,
  "employee_name": "example",
  "export_error": "example",
  "export_status": "example",
  "failure_code": "example",
  "id": "00000000-0000-4000-8000-000000000013",
  "questions": [],
  "report_id": "00000000-0000-4000-8000-000000000013",
  "report_snapshot": {
    "schema_version": 1,
    "event_id": "00000000-0000-4000-8000-000000000013",
    "report_id": "00000000-0000-4000-8000-000000000013",
    "employee_id": "00000000-0000-4000-8000-000000000013",
    "employee_name": "example",
    "created_at": "2026-09-21T09:00:00Z",
    "synthetic": false
  },
  "response_snapshot": null,
  "state": "succeeded",
  "status_text": "example",
  "tasks": [],
  "verified_revision": 1
}

ai_exports_latest

Последняя долговечная сессия экспорта, либо null. Не запускает Worker.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {},
  "required": [],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "session": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "additionalProperties": false,
          "properties": {
            "closed_at": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "complete": {
              "type": "boolean"
            },
            "errors": {
              "minimum": 0,
              "type": "integer"
            },
            "expires_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "opened_at": {
              "format": "date-time",
              "type": "string"
            },
            "remaining": {
              "minimum": 0,
              "type": "integer"
            },
            "total": {
              "minimum": 0,
              "type": "integer"
            },
            "verified": {
              "minimum": 0,
              "type": "integer"
            },
            "watermark": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "closed_at",
            "complete",
            "errors",
            "expires_at",
            "id",
            "opened_at",
            "remaining",
            "total",
            "verified",
            "watermark"
          ],
          "type": "object"
        }
      ]
    }
  },
  "required": [
    "session"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{}

Результат

{
  "session": null
}

ai_exports_get

Проверка сессии без запуска Worker. Complete означает проверенное чтение всех зафиксированных ревизий из Langfuse.

Чтение · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "export_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    }
  },
  "required": [
    "export_id"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "properties": {
    "closed_at": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "format": "date-time",
          "type": "string"
        }
      ]
    },
    "complete": {
      "type": "boolean"
    },
    "errors": {
      "minimum": 0,
      "type": "integer"
    },
    "expires_at": {
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "opened_at": {
      "format": "date-time",
      "type": "string"
    },
    "remaining": {
      "minimum": 0,
      "type": "integer"
    },
    "total": {
      "minimum": 0,
      "type": "integer"
    },
    "verified": {
      "minimum": 0,
      "type": "integer"
    },
    "watermark": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "closed_at",
    "complete",
    "errors",
    "expires_at",
    "id",
    "opened_at",
    "remaining",
    "total",
    "verified",
    "watermark"
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "export_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "closed_at": null,
  "complete": false,
  "errors": 0,
  "expires_at": "2026-09-21T09:00:00Z",
  "id": "00000000-0000-4000-8000-000000000013",
  "opened_at": "2026-09-21T09:00:00Z",
  "remaining": 0,
  "total": 0,
  "verified": 0,
  "watermark": 0
}

ai_exports_start

Запуск долговечного экспорта трассировок с немедленным возвратом ID сессии. Повтор ключа возвращает исходную сессию; загрузку и проверку выполняет Worker владельца.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "const": "ai_exports_start"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "closed_at": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "format": "date-time",
              "type": "string"
            }
          ]
        },
        "complete": {
          "type": "boolean"
        },
        "errors": {
          "minimum": 0,
          "type": "integer"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "opened_at": {
          "format": "date-time",
          "type": "string"
        },
        "remaining": {
          "minimum": 0,
          "type": "integer"
        },
        "total": {
          "minimum": 0,
          "type": "integer"
        },
        "verified": {
          "minimum": 0,
          "type": "integer"
        },
        "watermark": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "closed_at",
        "complete",
        "errors",
        "expires_at",
        "id",
        "opened_at",
        "remaining",
        "total",
        "verified",
        "watermark"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_exports_start",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "closed_at": null,
    "complete": false,
    "errors": 0,
    "expires_at": "2026-09-21T09:00:00Z",
    "id": "00000000-0000-4000-8000-000000000013",
    "opened_at": "2026-09-21T09:00:00Z",
    "remaining": 0,
    "total": 0,
    "verified": 0,
    "watermark": 0
  }
}

ai_exports_close

Закрытие приёма экспорта и ожидание завершения уже принятых запросов.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "export_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "export_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "const": "ai_exports_close"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "closed_at": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "format": "date-time",
              "type": "string"
            }
          ]
        },
        "complete": {
          "type": "boolean"
        },
        "errors": {
          "minimum": 0,
          "type": "integer"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "opened_at": {
          "format": "date-time",
          "type": "string"
        },
        "remaining": {
          "minimum": 0,
          "type": "integer"
        },
        "total": {
          "minimum": 0,
          "type": "integer"
        },
        "verified": {
          "minimum": 0,
          "type": "integer"
        },
        "watermark": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "closed_at",
        "complete",
        "errors",
        "expires_at",
        "id",
        "opened_at",
        "remaining",
        "total",
        "verified",
        "watermark"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "export_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_exports_close",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "closed_at": null,
    "complete": false,
    "errors": 0,
    "expires_at": "2026-09-21T09:00:00Z",
    "id": "00000000-0000-4000-8000-000000000013",
    "opened_at": "2026-09-21T09:00:00Z",
    "remaining": 0,
    "total": 0,
    "verified": 0,
    "watermark": 0
  }
}

ai_exports_renew

Продление активной сессии; закрытые и истёкшие сессии не открываются снова.

Изменение или подготовка действия · ai

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "export_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[^\\r\\n]+$",
      "type": "string"
    }
  },
  "required": [
    "export_id",
    "idempotency_key"
  ],
  "type": "object"
}
Выходная схема
{
  "additionalProperties": false,
  "else": {
    "if": {
      "properties": {
        "state": {
          "const": "failed"
        }
      }
    },
    "then": {
      "required": [
        "error_code"
      ]
    }
  },
  "if": {
    "properties": {
      "state": {
        "const": "succeeded"
      }
    }
  },
  "properties": {
    "completed_at": {
      "format": "date-time",
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "error_code": {
      "type": "string"
    },
    "operation": {
      "const": "ai_exports_renew"
    },
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "result": {
      "additionalProperties": false,
      "properties": {
        "closed_at": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "format": "date-time",
              "type": "string"
            }
          ]
        },
        "complete": {
          "type": "boolean"
        },
        "errors": {
          "minimum": 0,
          "type": "integer"
        },
        "expires_at": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "opened_at": {
          "format": "date-time",
          "type": "string"
        },
        "remaining": {
          "minimum": 0,
          "type": "integer"
        },
        "total": {
          "minimum": 0,
          "type": "integer"
        },
        "verified": {
          "minimum": 0,
          "type": "integer"
        },
        "watermark": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "closed_at",
        "complete",
        "errors",
        "expires_at",
        "id",
        "opened_at",
        "remaining",
        "total",
        "verified",
        "watermark"
      ],
      "type": "object"
    },
    "state": {
      "enum": [
        "succeeded",
        "failed",
        "unknown"
      ]
    }
  },
  "required": [
    "operation_id",
    "operation",
    "state",
    "created_at"
  ],
  "then": {
    "required": [
      "result"
    ]
  },
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "export_id": "00000000-0000-4000-8000-000000000013",
  "idempotency_key": "example-task13-001"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_exports_renew",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "closed_at": null,
    "complete": false,
    "errors": 0,
    "expires_at": "2026-09-21T09:00:00Z",
    "id": "00000000-0000-4000-8000-000000000013",
    "opened_at": "2026-09-21T09:00:00Z",
    "remaining": 0,
    "total": 0,
    "verified": 0,
    "watermark": 0
  }
}

operations_get

Квитанция реальной мутации владельца tasklane или documents. Для файлов используйте files_transfer_status, для сессий AI — ai_exports_get.

Чтение · operations

Попробовать
Входная схема
{
  "additionalProperties": false,
  "properties": {
    "operation_id": {
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      },
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string"
    },
    "owner": {
      "enum": [
        "tasklane",
        "documents"
      ]
    }
  },
  "required": [
    "owner",
    "operation_id"
  ],
  "type": "object"
}
Выходная схема
{
  "anyOf": [
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_settings_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active_profile_id": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "not": {
                    "const": "00000000-0000-0000-0000-000000000000"
                  },
                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                  "type": "string"
                }
              ]
            },
            "blocked_reason": {
              "type": "string"
            },
            "effective_enabled": {
              "type": "boolean"
            },
            "enabled": {
              "type": "boolean"
            },
            "enabled_since": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "epoch": {
              "minimum": 0,
              "type": "integer"
            },
            "key_available": {
              "type": "boolean"
            },
            "status_text": {
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "active_profile_id",
            "blocked_reason",
            "effective_enabled",
            "enabled",
            "enabled_since",
            "epoch",
            "key_available",
            "status_text",
            "version"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_profiles_import"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "key_available": {
              "type": "boolean"
            },
            "snapshot": {
              "additionalProperties": false,
              "properties": {
                "max_input_tokens": {
                  "type": "integer"
                },
                "max_output_tokens": {
                  "type": "integer"
                },
                "model": {
                  "type": "string"
                },
                "parameters": {
                  "additionalProperties": false,
                  "properties": {
                    "temperature": {
                      "type": "number"
                    },
                    "thinking": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "prompt_text": {
                  "type": "string"
                },
                "prompt_version": {
                  "type": "string"
                },
                "provider": {
                  "type": "string"
                },
                "schema_version": {
                  "type": "integer"
                }
              },
              "required": [
                "max_input_tokens",
                "max_output_tokens",
                "model",
                "parameters",
                "prompt_text",
                "prompt_version",
                "provider",
                "schema_version"
              ],
              "type": "object"
            }
          },
          "required": [
            "created_at",
            "id",
            "key_available",
            "snapshot"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_profiles_activate"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active_profile_id": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "not": {
                    "const": "00000000-0000-0000-0000-000000000000"
                  },
                  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
                  "type": "string"
                }
              ]
            },
            "blocked_reason": {
              "type": "string"
            },
            "effective_enabled": {
              "type": "boolean"
            },
            "enabled": {
              "type": "boolean"
            },
            "enabled_since": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "epoch": {
              "minimum": 0,
              "type": "integer"
            },
            "key_available": {
              "type": "boolean"
            },
            "status_text": {
              "type": "string"
            },
            "version": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "active_profile_id",
            "blocked_reason",
            "effective_enabled",
            "enabled",
            "enabled_since",
            "epoch",
            "key_available",
            "status_text",
            "version"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_exports_start"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "closed_at": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "complete": {
              "type": "boolean"
            },
            "errors": {
              "minimum": 0,
              "type": "integer"
            },
            "expires_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "opened_at": {
              "format": "date-time",
              "type": "string"
            },
            "remaining": {
              "minimum": 0,
              "type": "integer"
            },
            "total": {
              "minimum": 0,
              "type": "integer"
            },
            "verified": {
              "minimum": 0,
              "type": "integer"
            },
            "watermark": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "closed_at",
            "complete",
            "errors",
            "expires_at",
            "id",
            "opened_at",
            "remaining",
            "total",
            "verified",
            "watermark"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_exports_close"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "closed_at": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "complete": {
              "type": "boolean"
            },
            "errors": {
              "minimum": 0,
              "type": "integer"
            },
            "expires_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "opened_at": {
              "format": "date-time",
              "type": "string"
            },
            "remaining": {
              "minimum": 0,
              "type": "integer"
            },
            "total": {
              "minimum": 0,
              "type": "integer"
            },
            "verified": {
              "minimum": 0,
              "type": "integer"
            },
            "watermark": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "closed_at",
            "complete",
            "errors",
            "expires_at",
            "id",
            "opened_at",
            "remaining",
            "total",
            "verified",
            "watermark"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "ai_exports_renew"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "closed_at": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "format": "date-time",
                  "type": "string"
                }
              ]
            },
            "complete": {
              "type": "boolean"
            },
            "errors": {
              "minimum": 0,
              "type": "integer"
            },
            "expires_at": {
              "format": "date-time",
              "type": "string"
            },
            "id": {
              "not": {
                "const": "00000000-0000-0000-0000-000000000000"
              },
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
              "type": "string"
            },
            "opened_at": {
              "format": "date-time",
              "type": "string"
            },
            "remaining": {
              "minimum": 0,
              "type": "integer"
            },
            "total": {
              "minimum": 0,
              "type": "integer"
            },
            "verified": {
              "minimum": 0,
              "type": "integer"
            },
            "watermark": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "closed_at",
            "complete",
            "errors",
            "expires_at",
            "id",
            "opened_at",
            "remaining",
            "total",
            "verified",
            "watermark"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "admin_links": {
              "items": {
                "type": "string"
              },
              "type": [
                "null",
                "array"
              ]
            },
            "count": {
              "type": "integer"
            },
            "task_ids": {
              "items": {
                "type": "string"
              },
              "type": [
                "null",
                "array"
              ]
            }
          },
          "required": [
            "task_ids",
            "count"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "accepted_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "admin_link": {
              "type": "string"
            },
            "assignees": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "full_name": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "full_name"
                ],
                "type": "object"
              },
              "type": [
                "null",
                "array"
              ]
            },
            "code": {
              "type": "string"
            },
            "created_at": {
              "type": "string"
            },
            "deadline": {
              "type": "string"
            },
            "deleted_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_actor_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_actor_role": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_run_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "description": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "position": {
              "type": "integer"
            },
            "project_display": {
              "type": "string"
            },
            "projects": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "parent_id": {
                    "type": [
                      "null",
                      "string"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "type": "object"
              },
              "type": [
                "null",
                "array"
              ]
            },
            "stage": {
              "type": [
                "null",
                "string"
              ]
            },
            "status": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "updated_at": {
              "type": "string"
            },
            "version": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "code",
            "title",
            "description",
            "stage",
            "deadline",
            "status",
            "version",
            "position",
            "accepted_at",
            "created_at",
            "updated_at",
            "projects",
            "project_display",
            "assignees"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_comments_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "author_display_name": {
              "type": "string"
            },
            "content": {
              "type": "string"
            },
            "created_at": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "task_id": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "task_id",
            "author_display_name",
            "content",
            "created_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_restore"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "accepted_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "admin_link": {
              "type": "string"
            },
            "assignees": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "full_name": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "full_name"
                ],
                "type": "object"
              },
              "type": [
                "null",
                "array"
              ]
            },
            "code": {
              "type": "string"
            },
            "created_at": {
              "type": "string"
            },
            "deadline": {
              "type": "string"
            },
            "deleted_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_actor_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_actor_role": {
              "type": [
                "null",
                "string"
              ]
            },
            "deleted_by_run_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "description": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "position": {
              "type": "integer"
            },
            "project_display": {
              "type": "string"
            },
            "projects": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "parent_id": {
                    "type": [
                      "null",
                      "string"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "type": "object"
              },
              "type": [
                "null",
                "array"
              ]
            },
            "stage": {
              "type": [
                "null",
                "string"
              ]
            },
            "status": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "updated_at": {
              "type": "string"
            },
            "version": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "code",
            "title",
            "description",
            "stage",
            "deadline",
            "status",
            "version",
            "position",
            "accepted_at",
            "created_at",
            "updated_at",
            "projects",
            "project_display",
            "assignees"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_reorder"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "tasks_delete"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "projects_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "parent_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "updated_at": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "parent_id",
            "name",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "employees_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "email": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "full_name",
            "email",
            "active"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "projects_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "parent_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "updated_at": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "parent_id",
            "name",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "employees_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "email": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "full_name",
            "email",
            "active"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "admins_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "created_at": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "login": {
              "type": "string"
            },
            "must_change_password": {
              "type": "boolean"
            },
            "notify_on_status_change": {
              "type": "boolean"
            },
            "updated_at": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "full_name",
            "email",
            "login",
            "active",
            "must_change_password",
            "notify_on_status_change",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "projects_delete"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "project_count": {
              "type": "integer"
            },
            "task_count": {
              "type": "integer"
            }
          },
          "required": [
            "project_count",
            "task_count"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "employees_delete"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "admins_delete"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "employees_send_link"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "employees_revoke_links"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "admins_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "active": {
              "type": "boolean"
            },
            "created_at": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "login": {
              "type": "string"
            },
            "must_change_password": {
              "type": "boolean"
            },
            "notify_on_status_change": {
              "type": "boolean"
            },
            "updated_at": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "full_name",
            "email",
            "login",
            "active",
            "must_change_password",
            "notify_on_status_change",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "admins_reset_password"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "board_settings_update"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "board_devices_revoke"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "notices_create"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "acknowledged_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "acknowledged_count": {
              "type": "integer"
            },
            "changes": {
              "type": "string"
            },
            "created_at": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "location": {
              "type": "string"
            },
            "project_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "recipient_count": {
              "type": "integer"
            },
            "reported_by": {
              "type": "string"
            },
            "schedule_version": {
              "type": [
                "null",
                "integer"
              ]
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "title",
            "location",
            "reported_by",
            "changes",
            "project_id",
            "schedule_version",
            "created_at",
            "acknowledged_at",
            "recipient_count",
            "acknowledged_count"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "notices_remind"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "acknowledged_at": {
              "type": [
                "null",
                "string"
              ]
            },
            "acknowledged_count": {
              "type": "integer"
            },
            "changes": {
              "type": "string"
            },
            "created_at": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "location": {
              "type": "string"
            },
            "project_id": {
              "type": [
                "null",
                "string"
              ]
            },
            "recipient_count": {
              "type": "integer"
            },
            "reported_by": {
              "type": "string"
            },
            "schedule_version": {
              "type": [
                "null",
                "integer"
              ]
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "title",
            "location",
            "reported_by",
            "changes",
            "project_id",
            "schedule_version",
            "created_at",
            "acknowledged_at",
            "recipient_count",
            "acknowledged_count"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    },
    {
      "additionalProperties": false,
      "else": {
        "if": {
          "properties": {
            "state": {
              "const": "failed"
            }
          }
        },
        "then": {
          "required": [
            "error_code"
          ]
        }
      },
      "if": {
        "properties": {
          "state": {
            "const": "succeeded"
          }
        }
      },
      "properties": {
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "error_code": {
          "type": "string"
        },
        "operation": {
          "const": "schedules_publish"
        },
        "operation_id": {
          "not": {
            "const": "00000000-0000-0000-0000-000000000000"
          },
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string"
        },
        "result": {
          "additionalProperties": false,
          "properties": {
            "source_name": {
              "type": "string"
            },
            "updated_at": {
              "type": "string"
            },
            "version": {
              "type": "integer"
            }
          },
          "required": [
            "version",
            "updated_at",
            "source_name"
          ],
          "type": "object"
        },
        "state": {
          "enum": [
            "succeeded",
            "failed",
            "unknown"
          ]
        }
      },
      "required": [
        "operation_id",
        "operation",
        "state",
        "created_at"
      ],
      "then": {
        "required": [
          "result"
        ]
      },
      "type": "object"
    }
  ],
  "type": "object"
}
Вымышленный пример 1

Аргументы

{
  "owner": "tasklane",
  "operation_id": "00000000-0000-4000-8000-000000000013"
}

Результат

{
  "operation_id": "00000000-0000-4000-8000-000000000013",
  "operation": "ai_settings_update",
  "state": "succeeded",
  "created_at": "2026-09-21T09:00:00Z",
  "result": {
    "active_profile_id": null,
    "blocked_reason": "example",
    "effective_enabled": false,
    "enabled": false,
    "enabled_since": null,
    "epoch": 0,
    "key_available": false,
    "status_text": "example",
    "version": 1
  }
}