Skip to main content
Glama

Teamwork MCP

getUserTaskCompletion.ts1.61 kB
import apiClient from '../core/apiClient.js'; import { ensureApiClient } from '../core/apiClient.js'; interface GetUserTaskCompletionParams { userId: number; userType?: string; updatedAfter?: string; startDate?: string; endDate?: string; searchTerm?: string; reportFormat?: string; orderMode?: 'asc' | 'desc'; orderBy?: string; lastLoginAfter?: string; pageSize?: number; page?: number; skipCounts?: boolean; showDeleted?: boolean; searchUserJobRole?: boolean; orderPrioritiseCurrentUser?: boolean; onlySiteOwner?: boolean; onlyOwnerCompany?: boolean; isReportDownload?: boolean; inclusiveFilter?: boolean; includeServiceAccounts?: boolean; includePlaceholders?: boolean; includeCollaborators?: boolean; includeClients?: boolean; includeArchivedProjects?: boolean; filterByNoCostRate?: boolean; excludeContacts?: boolean; teamIds?: number[]; selectedColumns?: string[]; projectIds?: number[]; jobRoleIds?: number[]; include?: string[]; ids?: number[]; fieldsTeams?: string[]; fieldsPerson?: string[]; fieldsPeople?: string[]; fieldsCompanies?: string[]; fieldsProjectPermissions?: string[]; excludeProjectIds?: number[]; excludeIds?: number[]; companyIds?: number[]; } async function getUserTaskCompletion(params: GetUserTaskCompletionParams) { const { userId, ...queryParams } = params; const api = ensureApiClient(); const response = await api.get(`/projects/api/v3/reporting/precanned/usertaskcompletion/${userId}.json`, { params: queryParams }); return response.data; } export default getUserTaskCompletion;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vizioz/Teamwork-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server