# "Weekly reports" Endpoints - POST Search time entries

**URL:** <https://community.toggl.com/t/weekly-reports-endpoints-post-search-time-entries/425>\
**Category:** Reports API\
**Tags:** weekly, api, endpoints, post, reports\
**Created:** [December 2, 2024, 6:31pm UTC](https://community.toggl.com/t/weekly-reports-endpoints-post-search-time-entries/425 "2024-12-02T18:31:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 2, 2024, 6:31pm UTC](https://community.toggl.com/t/weekly-reports-endpoints-post-search-time-entries/425/1 "2024-12-02T18:31:41Z")

</div>

```auto
https://api.track.toggl.com/reports/api/v3/workspace/{workspace_id}/weekly/time_entries

```

Returns time entries for weekly report according to the given filters.

- cURL
- Go
- Ruby
- JavaScript
- Python
- Rust

```auto
extern crate tokio;extern crate serde_json;use reqwest::{Client};use reqwest::header::{CONTENT_TYPE};#[tokio::main]async fn main() -> Result<(), reqwest::Error> { let client = Client::new().basic_auth("<email>", "<password>"); let json = client.request(Method::POST, "https://api.track.toggl.com/reports/api/v3/workspace/{workspace_id}/weekly/time_entries".to_string()).json(&serde_json::json!(\{"billable":"boolean","client_ids":[\{\}],"description":"string","end_date":"string","group_ids":[\{\}],"max_duration_seconds":"integer","min_duration_seconds":"integer","project_ids":[\{\}],"rounding":"integer","rounding_minutes":"integer","startTime":"string","start_date":"string","tag_ids":[\{\}],"task_ids":[\{\}],"time_entry_ids":[\{\}],"user_ids":[\{\}]\})) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

### Parameters[​](https://engineering.toggl.com/docs/reports/weekly_reports/#parameters)

#### Path[​](https://engineering.toggl.com/docs/reports/weekly_reports/#path)

| name | type | required | description |
| --- | --- | --- | --- |
| workspace\_id | integer | true | Workspace ID |

#### Body[​](https://engineering.toggl.com/docs/reports/weekly_reports/#body)

| Name | Type | Description |
| --- | --- | --- |
| billable | boolean | Whether the time entry is set as billable, optional, premium feature. |
| client\_ids | Array of integer | Client IDs, optional, filtering attribute. To filter records with no clients, use [null]. |
| description | string | Description, optional, filtering attribute. |
| end\_date | string | End date, example time.DateOnly. Should be greater than Start date. |
| group\_ids | Array of integer | Group IDs, optional, filtering attribute. |
| max\_duration\_seconds | integer | Max duration seconds, optional, filtering attribute. Time Audit only, should be greater than MinDurationSeconds. |
| min\_duration\_seconds | integer | Min duration seconds, optional, filtering attribute. Time Audit only, should be less than MaxDurationSeconds. |
| project\_ids | Array of integer | Project IDs, optional, filtering attribute. To filter records with no projects, use [null]. |
| rounding | integer | Whether time should be rounded, optional, default from user preferences. |
| rounding\_minutes | integer | Rounding minutes value, optional, default from user preferences. Should be 0, 1, 5, 6, 10, 12, 15, 30, 60 or 240. |
| startTime | string | - |
| start\_date | string | Start date, example time.DateOnly. Should be less than End date. |
| tag\_ids | Array of integer | Tag IDs, optional, filtering attribute. To filter records with no tags, use [null]. |
| task\_ids | Array of integer | Task IDs, optional, filtering attribute. To filter records with no tasks, use [null]. |
| time\_entry\_ids | Array of integer | TimeEntryIDs filters by time entries. This was added to support retro-compatibility with reports v2. |
| user\_ids | Array of integer | User IDs, optional, filtering attribute. |

### Response[​](https://engineering.toggl.com/docs/reports/weekly_reports/#response)

#### 200[​](https://engineering.toggl.com/docs/reports/weekly_reports/#200)

Returns the weekly report time entries

#### 400[​](https://engineering.toggl.com/docs/reports/weekly_reports/#400)

Possible error messages:

- At least one parameter must be set
- Invalid workspace id
- The ‘{parameter}’ parameter is not supported
- Invalid ‘{parameter}’ value, allowed values are: ‘{valid\_values}’

#### 402[​](https://engineering.toggl.com/docs/reports/weekly_reports/#402)

Workspace needs to have this feature enabled

#### 403[​](https://engineering.toggl.com/docs/reports/weekly_reports/#403)

Workspace not found/accessible

#### 500[​](https://engineering.toggl.com/docs/reports/weekly_reports/#500)

Internal Server Error

---

<div class="post-metadata">

**Author:** ![avoca999](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@avoca999](https://community.toggl.com/u/avoca999)\
**Post date:** [May 16, 2025, 4:02pm UTC](https://community.toggl.com/t/weekly-reports-endpoints-post-search-time-entries/425/2 "2025-05-16T16:02:57Z")

</div>

I see this is being renamed to Workload, and is in the Beta GUI now. This is great, as it contains task+project, which is what I need.

Is the new Workload report available in the Reports API yet? Thanks!

---

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [May 27, 2025, 4:19pm UTC](https://community.toggl.com/t/weekly-reports-endpoints-post-search-time-entries/425/3 "2025-05-27T16:19:02Z")

</div>

Hi there!

No, not yet, everything is still in development. We will keep you posted on changes 🙂
