Skip to main content
POST
/
api
/
activity
/
projects.list-hourly-budget-stats
Projects : list hourly budget stats
curl --request POST \
  --url https://api.example.com/api/activity/projects.list-hourly-budget-stats \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": [
    {
      "key": "project.ids",
      "value": [
        "872815618512410358"
      ]
    }
  ]
}
'
[
  {
    "project_id": "872815618512410358",
    "hourly_budget_mode": "none",
    "hourly_budget": "PT1H30M20S",
    "total_effective_hours": "PT1H30M20S",
    "total_budget_hours": "PT1H30M20S",
    "hours_by_tasks": [
      {
        "task_id": "872815618512410358",
        "effective_hours": "PT1H30M20S",
        "budget_hours": "PT1H30M20S"
      }
    ]
  }
]

Body

application/json
filters
object[]

Response

200 - application/json
project_id
string<snowflake>
required
Example:

"872815618512410358"

hourly_budget_mode
enum<string>
required
Available options:
none,
project,
task
Example:

"none"

hourly_budget
string<duration>
required
Example:

"PT1H30M20S"

total_effective_hours
string<duration>
required
Example:

"PT1H30M20S"

total_budget_hours
string<duration>
required
Example:

"PT1H30M20S"

hours_by_tasks
object[]
required