Thrust Carbon

Reports: list

GET
/projects/{projectId}/reports

Lists all of the reports that have been generated on this account.

AuthorizationBearer <token>

Your API Key must be provided as a bearer token. To do this, create an 'Authorization' header with a value of 'Bearer {your-api-key}' (e.g. "Authorization: Bearer xcvboy23idvh").

In: header

Path Parameters

projectId*string

Query Parameters

page?integer

Results are paginated. By default we will return the first page.

report_type?string

Filter the reports to only display reports of a specific type.

Value in

  • "impact"
  • "offset_options"
  • "certificates"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X GET "https://example.com/projects/string/reports" \  -H "Content-Type: application/json" \  -d '{}'
{  "to": 0,  "from": 0,  "path": "http://example.com",  "prev_page_url": "http://example.com",  "next_page_url": "http://example.com",  "last_page_url": "http://example.com",  "first_page_url": "http://example.com",  "last_page": 0,  "current_page": 0,  "per_page": 0,  "total": 0,  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",      "created_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "is_valid": true,      "report_url": "http://example.com",      "state": "requested",      "options": {        "start": "2019-08-24",        "end": "2019-08-24",        "grouping_type": "default",        "grouping": "string"      }    }  ]}