Summary (time reports)
GET
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
from*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
dateto*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
datememberId?|array<>projectId?|array<>clientId?|array<>tagId?|array<>withoutProject?"true"Value in
"true"billable?stringValue in
"true""false"q?stringLength
length <= 200rounded?stringValue in
"true""false"groupBy?stringDefault
"project"Value in
"project""client""member""tag""task""date"application/json- response
from*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
dateto*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
datedays*array<>totalSeconds*integerRange
-9007199254740991 <= value <= 9007199254740991billableSeconds*integerRange
-9007199254740991 <= value <= 9007199254740991amounts*array<>costs*array<>byDay*array<>groups*array<>rounding*|nullcurl -X GET 'https://your-billleaf-api/v1/time/reports/summary?from=2019-08-24&to=2019-08-24'Example Response200
{ "from": "2019-08-24", "to": "2019-08-24", "days": [ "2019-08-24" ], "totalSeconds": -9007199254740991, "billableSeconds": -9007199254740991, "amounts": [ { "currency": "string", "amount": -9007199254740991 } ], "costs": [ { "currency": "string", "amount": -9007199254740991 } ], "byDay": [ { "date": "2019-08-24", "seconds": -9007199254740991, "billableSeconds": -9007199254740991 } ], "groups": [ { "key": "string", "label": "string", "detail": "string", "seconds": -9007199254740991, "billableSeconds": -9007199254740991, "amounts": [ { "currency": "string", "amount": -9007199254740991 } ], "costs": [ { "currency": "string", "amount": -9007199254740991 } ], "byDay": [ -9007199254740991 ] } ], "rounding": { "mode": "off", "minutes": -9007199254740991 }}