Skip to content

Agent departments

Departments of the agent network: name, color, routing words, owner and position on the map.

Module: AI agents (agents).

  • GET /api/v1/agent_departments - List with filters, sorting and pagination (scope agents:read)
  • GET /api/v1/agent_departments/{id} - A record by id (scope agents:read)
  • POST /api/v1/agent_departments - Create a record (scope agents:write)
  • PATCH /api/v1/agent_departments/{id} - Modify the submitted fields (scope agents:write)
  • DELETE /api/v1/agent_departments/{id} - Delete or deactivate (scope agents:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • name_ro (string; write, required)
  • name_en (string; write)
  • color (string; write)
  • responsible_id (string; write)
  • keywords (array; write)
  • description (string; write)
  • pos_x (number; write)
  • pos_y (number; write)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).