Returns retainers associated with the specified project.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
projectIdstringRequiredThe id of the project.
Query parameters
pageintegerOptional1Page number for pagination
pageSizeintegerOptional10Number of items per page
orderbystringOptionalThe properties to order by
filterbystringOptionalThe filter expression to filter by
Responses
200 OK
application/json
timeBudgetintegerOptionalThe time budget per retainer period in seconds. The default budget amount for new budgets in this retainer.
timezonestring or nullOptionalThe timezone for when new budgets are created.
rollOverUnderspentBudgetbooleanOptionalWhether underspent budgets should be rolled over to the next period.
rollOverOverspentBudgetbooleanOptionalWhether overspent budgets should be rolled over to the next period.
startDatestringOptionalThe start of the retainer contract.
endDatestring or nullOptionalThe end of the retainer contract until new budgets will be created. Optional.
syncProjectDatesbooleanOptionalWhether the project start and due dates should be synced to the retainer start and end dates.
idstringOptionalThe id of the retainer.
retainerPeriodstring or nullOptionalThe period for new budgets in this retainer. Currently only 'monthly' is supported.
projectIdstringOptionalThe project this retainer is associated with.
isExternalbooleanOptionalWhether the retainer belongs to an external project.
retainerBudgetsarray of object or nullOptionalThe budgets for this retainer. Each budget period (month) gets its own budget.
Show 5 properties
idstringOptionalThe id of the retainer budget.
timeBudgetintegerOptionalThe budget for this retainer period in seconds. Based on the carry over option selected in the retainer settings, the timebudget is adjusted by the carry over from the previous period.
trackedDurationintegerOptionalThe sum of tracked time in this retainer period. Contains billable and non-billable hours if the DeductNonBillableHours flag is set to true. Contains only billable hours if the DeductNonBillableHours flag is set to false. Time entries belong to the retainer period if their StartDate is between the StartDate and EndDate of the retainer period.
startDatestringOptionalThe start of the retainer period in UTC.
endDatestringOptionalThe end of the retainer period in UTC.
createdOnstringOptionalThe date this retainer was created.
createdBystringOptionalThe id of the user who created this retainer.
updatedOnstringOptionalThe date this retainer was last modified.
updatedBystringOptionalThe id of the user who last modified this retainer.