Teramind
App · 26 actions
Manage employees, departments, computers, tasks and shared lists, and read alerts and activity from Teramind.
Actions
| Action | What it does |
|---|---|
| Add shared list entries | Add entries, such as websites or keywords, to a shared list. |
| Create department | Create a department, optionally with its employees and managers. |
| Create employee | Add an employee to Teramind. |
| Create shared list | Create an empty shared list that rules can use. |
| Create task | Create a time-tracking task employees can log time against. |
| Delete department | Delete a department. |
| Delete shared list | Delete a shared list and its entries. |
| Get account | Get the Teramind account's settings: its name, time zone, currency and language. |
| Get activity summary | Get time spent on each website and application, per employee and day, between two dates. |
| Get computer | Get one computer's name, address, operating system and monitoring status. |
| Get department | Get one department with its employees and managers. |
| Get employee | Get one employee's name, email address and the extra details you choose. |
| Get shared list | Get a shared list with its entries. |
| Get task | Get one time-tracking task. |
| List alerts | List the alerts Teramind's behavior rules raised between two times. |
| List computers | List the computers Teramind's agent is installed on, with whether each is monitored. |
| List departments | List the account's departments with their employees and managers. |
| List employees | List every employee (Teramind calls them agents) in the account. |
| List shared lists | List the shared lists (of websites, applications, keywords and the like) your rules use. |
| List tasks | List the account's time-tracking tasks. |
| Remove shared list entries | Remove entries from a shared list, by the entry IDs Get shared list returns. |
| Turn off computer monitoring | Stop monitoring a computer. |
| Turn on computer monitoring | Start monitoring a computer. |
| Update department | Change a department's name, description, employees or managers. |
| Update employee | Change an employee's name, department, wages or contact details. |
| Update task | Change a task's name, description or parent, or archive it. |
Add shared list entries
Add entries, such as websites or keywords, to a shared list.
Inputs
- Shared list
shared_list_idnumberRequired - The shared list. Pick one, or use a shared list ID from an earlier step.
- Entries
valueslistRequired - The entries to add, one per item.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"success": true
}
}Create department
Create a department, optionally with its employees and managers.
Inputs
- Name
nametextRequired - The department's name.
- Description
descriptiontext - A description of the department.
- Employees
employee_idslist - The employees in the department.
- Managers
manager_idslist - Employees who manage the department, with full permissions over it.
- Keep employees during directory sync
preserve_agentstrue/false - Keep the department's employees when Teramind syncs with your directory (Active Directory).
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"agent_ids": [
1
],
"deleted": 1,
"department_id": 1,
"description": "example",
"guid": "example",
"manager_ids": [
1
],
"name": "example",
"preserve_agents": 1,
"success": true,
"time_created": "example"
}
}Create employee
Add an employee to Teramind.
Inputs
- First name
first_nametextRequired - The employee's first name. Once set, it can be changed but not cleared.
- Last name
last_nametextRequired - The employee's last name. Once set, it can be changed but not cleared.
- Email
email_addresstextRequired - The employee's email address. They sign in to Teramind with it.
- Role
roletext - What the person can do in Teramind. Leave empty for Employee.One of:
0(Employee),1(Administrator),3(Operational admin),5(Infrastructure admin). - Password
passwordtext - A password for the employee's Teramind dashboard. Leave empty to set one later.
- Send welcome email
send_emailtrue/false - Email the employee their Teramind sign-in details.
- Department
department_idnumber - The department. Pick one, or use a department ID from an earlier step.
- Hourly wage
default_wagenumber - The employee's hourly wage.At least 0.
- Yearly wage
yearly_wagenumber - The employee's yearly wage.At least 0.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"address": "example",
"agent_id": 1,
"default_wage": 1,
"deleted": 1,
"department_id": 1,
"email": "example",
"email_address": "example",
"emergency_phone": "example",
"first_name": "example",
"flags": 1,
"last_name": "example",
"name": "example",
"notes": "example",
"position_id": 1,
"role": 1,
"salary_type": 1,
"schedule_template_id": 1,
"telephone": "example",
"time_created": "example",
"tracking_profile_id": 1,
"yearly_wage": 1
}
}Create shared list
Create an empty shared list that rules can use.
Inputs
- Name
nametextRequired - The shared list's name.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"created_at": "example",
"deleted": true,
"hash": "example",
"items": [
{
"shared_list_item_id": 1,
"value": "example"
}
],
"name": "example",
"shared_list_id": 1,
"success": true,
"type": 1
}
}Create task
Create a time-tracking task employees can log time against.
Inputs
- Name
nametextRequired - The task's name.
- Description
descriptiontext - A description of the task.
- Parent task
parent_idnumber - The task this one sits under. Leave empty for a top-level task.
- Trackable
is_trackabletrue/false - Whether employees can track time against the task.
- Archived
is_archivedtrue/false - Whether the task is archived.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"assign": 1,
"description": "example",
"has_children": true,
"integration_id": 1,
"integration_object_id": 1,
"is_archived": true,
"is_trackable": true,
"name": "example",
"parent_id": 1,
"task_id": 1
}
}Delete department
Delete a department. Its employees stay in Teramind.
Inputs
- Department
department_idnumberRequired - The department. Pick one, or use a department ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"deleted": true,
"department_id": 1,
"success": true
}
}Delete shared list
Delete a shared list and its entries.
Inputs
- Shared list
shared_list_idnumberRequired - The shared list. Pick one, or use a shared list ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"success": true
}
}Get account
Get the Teramind account's settings: its name, time zone, currency and language.
Inputs
None.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"currency": "example",
"default_task_id": 1,
"language": "example",
"name": "example",
"timezone": "example",
"week_start_day": 1
}
}Get activity summary
Get time spent on each website and application, per employee and day, between two dates.
Inputs
- From
from_datedateRequired - The first day, included.
- To
to_datedateRequired - The last day, included.
- Employees
agentslist - Only these employees. Leave empty for all.
- Departments
departmentslist - Only these departments. Leave empty for all.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"agent_id": 1,
"app": true,
"classify": 1,
"date": "example",
"idle": 1,
"name": "example",
"total": 1
}
]
}Get computer
Get one computer's name, address, operating system and monitoring status.
Inputs
- Computer
computer_idnumberRequired - The computer. Pick one, or use a computer ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"client": "example",
"computer_id": 1,
"computer_uid": "example",
"fqdn": "example",
"ip": "example",
"is_deleted": true,
"is_monitored": true,
"macs": [
"example"
],
"name": "example",
"os": "example",
"pinged_at": "example",
"uninstall_pending": true,
"update_pending": true,
"uuid": "example"
}
}Get department
Get one department with its employees and managers.
Inputs
- Department
department_idnumberRequired - The department. Pick one, or use a department ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"agent_ids": [
1
],
"deleted": 1,
"department_id": 1,
"description": "example",
"guid": "example",
"manager_ids": [
1
],
"name": "example",
"preserve_agents": 1,
"time_created": "example"
}
}Get employee
Get one employee's name, email address and the extra details you choose.
Inputs
- Employee
agent_idnumberRequired - The employee. Pick one, or use an employee ID from an earlier step.
- Extra details
fieldslist - Extra details to include, such as whether they are online.One or more of:
salary_type(Salary type),default_wage(Default wage),department_id(Department),role,flags,deleted,status,last_web_login(Last web sign-in),position,position_id(Position ID),ldap_attrs(Directory (LDAP) attributes),online.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"agent_id": 1,
"avatar": "example",
"department_id": 1,
"email_address": "example",
"name": "example",
"online": true,
"role": 1,
"status": "example"
}
}Get shared list
Get a shared list with its entries.
Inputs
- Shared list
shared_list_idnumberRequired - The shared list. Pick one, or use a shared list ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"created_at": "example",
"deleted": true,
"hash": "example",
"items": [
{
"shared_list_item_id": 1,
"value": "example"
}
],
"name": "example",
"shared_list_id": 1,
"type": 1
}
}Get task
Get one time-tracking task.
Inputs
- Task
task_idnumberRequired - The task. Pick one, or use a task ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"assign": 1,
"description": "example",
"has_children": true,
"integration_id": 1,
"integration_object_id": 1,
"is_archived": true,
"is_trackable": true,
"name": "example",
"parent_id": 1,
"task_id": 1
}
}List alerts
List the alerts Teramind's behavior rules raised between two times.
Inputs
- From
period_startdate and timeRequired - The start of the period.
- To
period_enddate and timeRequired - The end of the period.
- Employees
agentslist - Only these employees. Leave empty for all.
- Computers
computerslist - Only these computers. Leave empty for all.
- Departments
departmentslist - Only these departments. Leave empty for all.
- Limit
limitnumber - How many alerts to return. Teramind returns 50 when empty.At least 1.
- Offset
offsetnumber - How many alerts to skip, to read the next page.At least 0.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"agent": {
"id": 1,
"name": "example"
},
"computer": {
"id": 1,
"name": "example"
},
"description": [
{
"caption": "example",
"values": {}
}
],
"id": 1,
"rule": {
"group_id": 1,
"group_name": "example",
"id": 1,
"name": "example",
"type": "example"
},
"timestamp": "example"
}
]
}List computers
List the computers Teramind's agent is installed on, with whether each is monitored.
Inputs
None.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"account_id": 1,
"client": "example",
"computer_id": 1,
"computer_uid": "example",
"fqdn": "example",
"ip": "example",
"is_deleted": true,
"is_monitored": true,
"macs": [
"example"
],
"name": "example",
"os": "example",
"pinged_at": "example",
"uninstall_pending": true,
"update_pending": true,
"uuid": "example"
}
]
}List departments
List the account's departments with their employees and managers.
Inputs
None.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"account_id": 1,
"agent_ids": [
1
],
"deleted": 1,
"department_id": 1,
"description": "example",
"guid": "example",
"manager_ids": [
1
],
"name": "example",
"preserve_agents": 1,
"time_created": "example"
}
]
}List employees
List every employee (Teramind calls them agents) in the account.
Inputs
- Include deleted employees
show_deletedtrue/false - Include employees who have been deleted.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"account_id": 1,
"address": "example",
"agent_id": 1,
"default_wage": 1,
"deleted": 1,
"department_id": 1,
"email": "example",
"email_address": "example",
"emergency_phone": "example",
"first_name": "example",
"flags": 1,
"last_name": "example",
"name": "example",
"notes": "example",
"position_id": 1,
"role": 1,
"salary_type": 1,
"schedule_template_id": 1,
"telephone": "example",
"time_created": "example",
"tracking_profile_id": 1,
"yearly_wage": 1
}
]
}List shared lists
List the shared lists (of websites, applications, keywords and the like) your rules use.
Inputs
None.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"name": "example",
"shared_list_id": 1,
"size": 1,
"type": 1
}
]
}List tasks
List the account's time-tracking tasks.
Inputs
- Parent task
parent_idnumber - Only the tasks under this task. Leave empty for all.
- Include archived
show_archivedtrue/false - Include archived tasks.
Outputs
datalist- The response from Teramind.
Example output
{
"data": [
{
"assign": 1,
"description": "example",
"has_children": true,
"integration_id": 1,
"integration_object_id": 1,
"is_archived": true,
"is_trackable": true,
"name": "example",
"parent_id": 1,
"task_id": 1
}
]
}Remove shared list entries
Remove entries from a shared list, by the entry IDs Get shared list returns.
Inputs
- Entry IDs
entry_idslistRequired - The IDs of the entries to remove (shared_list_item_id from Get shared list).
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"success": true
}
}Turn off computer monitoring
Stop monitoring a computer.
Inputs
- Computer
computer_idnumberRequired - The computer. Pick one, or use a computer ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"success": true
}
}Turn on computer monitoring
Start monitoring a computer.
Inputs
- Computer
computer_idnumberRequired - The computer. Pick one, or use a computer ID from an earlier step.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"success": true
}
}Update department
Change a department's name, description, employees or managers. Employees and managers you give replace the current ones.
Inputs
- Department
department_idnumberRequired - The department. Pick one, or use a department ID from an earlier step.
- Name
nametext - The department's name.
- Description
descriptiontext - A description of the department.
- Employees
employee_idslist - The employees in the department.
- Managers
manager_idslist - Employees who manage the department, with full permissions over it.
- Keep employees during directory sync
preserve_agentstrue/false - Keep the department's employees when Teramind syncs with your directory (Active Directory).
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"agent_ids": [
1
],
"deleted": 1,
"department_id": 1,
"description": "example",
"guid": "example",
"manager_ids": [
1
],
"name": "example",
"preserve_agents": 1,
"success": true,
"time_created": "example"
}
}Update employee
Change an employee's name, department, wages or contact details. Only the fields you fill in change.
Inputs
- Employee
agent_idnumberRequired - The employee. Pick one, or use an employee ID from an earlier step.
- First name
first_nametext - The employee's first name. Once set, it can be changed but not cleared.
- Last name
last_nametext - The employee's last name. Once set, it can be changed but not cleared.
- Department
department_idnumber - The department. Pick one, or use a department ID from an earlier step.
- Hourly wage
default_wagenumber - The employee's hourly wage.At least 0.
- Yearly wage
yearly_wagenumber - The employee's yearly wage.At least 0.
- Phone
telephonetext - The employee's phone number.
- Emergency phone
emergency_phonetext - The employee's emergency phone number.
- Address
addresstext - The employee's address.
- Notes
notestext - Notes about the employee.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"account_id": 1,
"address": "example",
"agent_id": 1,
"default_wage": 1,
"deleted": 1,
"department_id": 1,
"email": "example",
"email_address": "example",
"emergency_phone": "example",
"first_name": "example",
"flags": 1,
"last_name": "example",
"name": "example",
"notes": "example",
"position_id": 1,
"role": 1,
"salary_type": 1,
"schedule_template_id": 1,
"telephone": "example",
"time_created": "example",
"tracking_profile_id": 1,
"yearly_wage": 1
}
}Update task
Change a task's name, description or parent, or archive it. Only the fields you fill in change.
Inputs
- Task
task_idnumberRequired - The task. Pick one, or use a task ID from an earlier step.
- Name
nametext - The task's name.
- Description
descriptiontext - A description of the task.
- Parent task
parent_idnumber - The task this one sits under. Leave empty for a top-level task.
- Trackable
is_trackabletrue/false - Whether employees can track time against the task.
- Archived
is_archivedtrue/false - Whether the task is archived.
Outputs
dataobject- The response from Teramind.
Example output
{
"data": {
"assign": 1,
"description": "example",
"has_children": true,
"integration_id": 1,
"integration_object_id": 1,
"is_archived": true,
"is_trackable": true,
"name": "example",
"parent_id": 1,
"task_id": 1
}
}