> ## Documentation Index
> Fetch the complete documentation index at: https://maps.solvice.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /cube/{id}/response

> Fetch the computed cube result containing polynomial coefficients for time-dependent travel times.



## OpenAPI

````yaml GET /cube/{id}/response
openapi: 3.1.0
info:
  title: Solvice Maps Routing API
  description: >
    The Solvice Maps Routing API provides distance matrices, routes, and travel
    time calculations

    for logistics and route optimization applications. Supports multiple routing
    engines including

    OpenStreetMap and TomTom with time-dependent traffic data.
  version: 1.0.0
  contact:
    name: Solvice Support
    url: https://solvice.io
    email: support@solvice.io
servers:
  - url: https://routing.solvice.io
    description: Production server
security:
  - apikey: []
tags:
  - name: Tables
    description: Distance/duration matrix operations
  - name: Cubes
    description: Time-dependent 3D travel time matrices
  - name: Routes
    description: Point-to-point routing
  - name: Trips
    description: Traveling salesman / round-trip optimization
paths:
  /cube/{id}/response:
    get:
      tags:
        - Cubes
      summary: Get cube response
      description: >-
        Fetch the computed cube result containing polynomial coefficients for
        time-dependent travel times.
      parameters:
        - description: Cube request id.
          name: id
          required: true
          in: path
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Get cube response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CubeResponseDto'
components:
  schemas:
    CubeResponseDto:
      description: Cube Response
      examples:
        - destinations:
            - hint: >-
                eX5AgduYjYYsAAAAlAAAAHIAAAAAAAAAxBf6QX7HzELIz51CAAAAACwAAACUAAAAcgAAAAAAAAAVtwAAlMNKAIj__QKgxEoAwP39AgEAXwRPrDVe
              distance: 54.20808645369059
              name: Avenue de la Restauration
              location:
                - 4.899732
                - 50.200456
            - hint: >-
                o_v2gPMxk4KXAAAAQwAAAJsAAADWAwAA4YOXQ0HtBEOh05pDGnn1RJcAAABDAAAAmwAAANYDAAAVtwAAEyhJAG0BAQMAPkkAAAsBAwMAXxRPrDVe
              distance: 483.4921257061384
              name: Route des Trois Communes
              location:
                - 4.794387
                - 50.397549
            - hint: >-
                WvwMgrAseoRNAAAAAAAAALwAAAAAAAAAvYZVQgAAAAAK0AFDAAAAAE0AAAAAAAAAvAAAAAAAAAAVtwAAI1ZMAPmtCANAS0wAIKwIAwYAXw9PrDVe
              distance: 202.89814553989248
              name: Wittebos
              location:
                - 5.002787
                - 50.900473
            - hint: >-
                GtVBggTgEIkDAAAADwAAAMUAAAAAAAAAbWKjQHMstUHaEZlDAAAAAAMAAAAPAAAAxQAAAAAAAAAVtwAA-Q5NAN2rCAOQDk0AIKwIAwsAHw5PrDVe
              distance: 10.496399718824598
              name: Tiensestraat
              location:
                - 5.050105
                - 50.899933
          coordinates:
            - - 0
              - 1976.1
              - 5772.3
              - 5642.6
            - - 2010.2
              - 0
              - 4783.9
              - 4654.2
            - - 5817.2
              - 4797.4
              - 0
              - 508.6
            - - 5705.3
              - 4685.5
              - 530.2
              - 0
          sources:
            - hint: >-
                eX5AgduYjYYsAAAAlAAAAHIAAAAAAAAAxBf6QX7HzELIz51CAAAAACwAAACUAAAAcgAAAAAAAAAVtwAAlMNKAIj__QKgxEoAwP39AgEAXwRPrDVe
              distance: 54.20808645369059
              name: Avenue de la Restauration
              location:
                - 4.899732
                - 50.200456
            - hint: >-
                o_v2gPMxk4KXAAAAQwAAAJsAAADWAwAA4YOXQ0HtBEOh05pDGnn1RJcAAABDAAAAmwAAANYDAAAVtwAAEyhJAG0BAQMAPkkAAAsBAwMAXxRPrDVe
              distance: 483.4921257061384
              name: Route des Trois Communes
              location:
                - 4.794387
                - 50.397549
            - hint: >-
                WvwMgrAseoRNAAAAAAAAALwAAAAAAAAAvYZVQgAAAAAK0AFDAAAAAE0AAAAAAAAAvAAAAAAAAAAVtwAAI1ZMAPmtCANAS0wAIKwIAwYAXw9PrDVe
              distance: 202.89814553989248
              name: Wittebos
              location:
                - 5.002787
                - 50.900473
            - hint: >-
                GtVBggTgEIkDAAAADwAAAMUAAAAAAAAAbWKjQHMstUHaEZlDAAAAAAMAAAAPAAAAxQAAAAAAAAAVtwAA-Q5NAN2rCAOQDk0AIKwIAwsAHw5PrDVe
              distance: 10.496399718824598
              name: Tiensestraat
              location:
                - 5.050105
                - 50.899933
      type: object
      properties:
        tableId:
          type: integer
          format: int64
          description: Table response id. Not to be confused with table request id.
        durations:
          type:
            - array
            - 'null'
          items:
            type: array
            items:
              type: number
              format: double
          description: >-
            Time distance matrix. In order of sources to destinations indexes in
            request.
        distances:
          type:
            - array
            - 'null'
          items:
            type: array
            items:
              type: number
              format: double
          description: >-
            Distance matrix. In order of sources to destinations indexes in
            request.
        sources:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/Waypoint'
          description: Actual sources snapped to map.
        destinations:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/Waypoint'
          description: Actual destinations snapped to map.
        durationSlices:
          type:
            - array
            - 'null'
          items:
            type: array
            items:
              type: array
              items:
                type: number
                format: double
          description: >-
            Time distance matrix. In order of sources to destinations indexes in
            request.
        coefficients:
          type:
            - array
            - 'null'
          items:
            type: array
            items:
              type: array
              items:
                type: number
                format: double
          description: >-
            Travel Time cube. In order of sources to destinations indexes in
            request. Inner array is list of 6 coefficients.
        slices:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/SliceDto'
          description: >-
            Time slice information indicating which time periods each slice
            represents.
    Waypoint:
      type: object
      properties:
        hint:
          type:
            - string
            - 'null'
          description: >-
            Unique internal identifier of the segment (ephemeral, not constant
            over data updates) This can be used on subsequent request to
            significantly speed up the query and to connect multiple services.
        distance:
          type:
            - number
            - 'null'
          format: double
          description: The distance of the snapped point from the original
        name:
          type:
            - string
            - 'null'
          description: Name of the street the coordinate snapped to
        location:
          type:
            - array
            - 'null'
          items:
            type: number
            format: double
          description: >-
            Array that contains the [longitude, latitude] pair of the snapped
            coordinate
    SliceDto:
      type: object
      description: Time slice information
      properties:
        sliceNumber:
          type:
            - integer
            - 'null'
          format: int32
          description: Slice number identifier
        startHour:
          type:
            - number
            - 'null'
          format: double
          description: Start hour of the time slice (24-hour format)
        endHour:
          type:
            - number
            - 'null'
          format: double
          description: End hour of the time slice (24-hour format)
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Include your API key in the Authorization
        header.

````