The Projects API returns project and task data, allowing you to programmatically retrieve work items, assignments, and status information.
Endpoint
POST: https://api.ag.prodoscore.com/query/projects/project_api
Request Payload
{
"page": 1,
"limit": 50,
"group_id": "team-123",
"user_id": "user-456",
"search": "feature-xyz",
"sort_by": "due_date",
"desc": true,
"start_date": "2025-03-01",
"end_date": "2025-03-31"
}
Key Parameters
Pagination:
page— Results page (default: 1)limit— Records per page (default: 50, max: 500)
Filters:
group_id— Filter by team/groupuser_id— Filter by assignee user IDsearch— Text search (searches task name and description)start_date, end_date— Date range filter (YYYY-MM-DD)
Sorting:
sort_by— Column to sort by (e.g., "created_date", "due_date", "project_name")desc—truefor descending,falsefor ascending (default: false)
Response Fields
Each task record includes:
task_id— Unique task identifiertask_name— Task titleproject_id— Associated project identifierproject_name— Project titleproject_owner— Project owner nameassignee_id— User ID of assigneeassignee_name— Full name of assigneereporter_id— User ID of task reporterreporter_name— Full name of task reporterstatus_id— Status identifierstatus_name— Status (e.g., "TODO", "IN PROGRESS", "DONE")created_date— Task creation date (ISO 8601)start_date— Task start datedue_date— Task due datedescription— Task description (if available)priority— Task priority level
Example Response
[
{
"task_id": "task-456",
"task_name": "Implement login form",
"project_id": "proj-123",
"project_name": "Website Redesign",
"project_owner": "Sarah Johnson",
"assignee_name": "John Doe",
"reporter_name": "Mary Smith",
"status_name": "IN PROGRESS",
"created_date": "2025-03-01T10:00:00Z",
"due_date": "2025-03-15T17:00:00Z",
"priority": "High"
}
]
Break Report API (Related)
A companion endpoint for break data:
Endpoint: POST https://api.ag.prodoscore.com/query/reports/break_report
Returns per break record:
break_start— Break start timestampbreak_end— Break end timestampbreak_duration— Duration in secondsbreak_type— Type of break (e.g., "Lunch", "Tea")employee_name— Employee who took the breakemployee_id— Employee identifierteam_name— Employee's team
Request payload follows the same pattern: start_date, end_date, group_id, user_id, page, limit
Use Cases
- Project Status Export: Export all tasks for a specific project to compare with external tools
- Team Workload Analysis: Get tasks by team to understand load distribution
- Overdue Task Tracking: Filter for tasks past their due_date to identify at-risk work items
- Time Tracking Integration: Use task assignments to correlate with time-tracking data from the productivity API
Authentication Required: All API calls require a valid access token. See API Authentication & Authorization for token generation.