Skip to main content
GET
List calculation results
curl --request GET \
  --url https://api.terratwin.com/api/v1/transportation/emissions/ \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": "123456789",
      "createdAt": "2026-02-03T09:51:38.473461+00:00"
    },
    {
      "id": "234567890",
      "createdAt": "2026-02-03T09:51:38.468912+00:00"
    },
    {
      "id": "345678901",
      "createdAt": "2026-02-03T09:51:38.462308+00:00"
    },
    {
      "id": "456789012",
      "createdAt": "2026-02-03T09:51:38.455104+00:00"
    },
    {
      "id": "567890123",
      "createdAt": "2026-02-03T09:51:38.447829+00:00"
    },
    {
      "id": "678901234",
      "createdAt": "2026-02-03T09:51:38.441216+00:00"
    },
    {
      "id": "789012345",
      "createdAt": "2026-02-03T09:51:38.436503+00:00"
    },
    {
      "id": "890123456",
      "createdAt": "2026-02-03T09:51:38.429874+00:00"
    },
    {
      "id": "901234567",
      "createdAt": "2026-02-03T09:51:38.423109+00:00"
    },
    {
      "id": "112233445",
      "createdAt": "2026-02-03T09:51:38.417692+00:00"
    }
  ],
  "hasMore": true,
  "nextCursor": "eyJDcmVhdGVkQXQiOiIyMDI2LTAyLTAzVDA5OjUxOjM4LjQxNzY5MiswMDowMCIsIklkIjoiMTEyMjMzNDQ1In0"
}

Authorizations

x-api-key
string
header
required

API key for authenticating requests. Include this header in all calls.

Query Parameters

created_from
string<date-time>

Filters results to calculations created at or after this ISO 8601 date-time.

created_to
string<date-time>

Filters results to calculations created before this ISO 8601 date-time.

limit
integer
default:10

Maximum number of results to return.

Required range: 1 <= x <= 100
cursor
string

Cursor returned by a previous request, used to retrieve the next page of results.

Response

Returns stored calculations matching the supplied filters, up to the requested limit. Each item includes the user provided calculation ID and the date-time when the calculation was created.

The hasMore property is included with a value of true when there are further pages of stored calculations to retrieve. When hasMore is true, the nextCursor property is also provided. Pass its value as the cursor query parameter in a subsequent request to retrieve the next page of stored calculation IDs.

items
object[]
required

A list of up to limit stored calculation result identifiers and creation times falling within the created_from and created_to date filters. Results are ordered by created_at in descending order.

Maximum array length: 100
hasMore
boolean
required

Whether or not more items are available after this page.

nextCursor
string

Cursor for retrieving the next page of results. When provided, pass this value as the cursor query parameter in a subsequent list request to fetch earlier-created calculation result IDs. Omitted when there are no more results.