> ## 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}

> Retrieve the status and metadata of a cube request by its ID.



## OpenAPI

````yaml GET /cube/{id}
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}:
    get:
      tags:
        - Cubes
      summary: Get cube status
      description: Retrieve the status and metadata of a cube request by its ID.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CubeDto'
components:
  schemas:
    CubeDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Cube id.
        status:
          description: Cube status (IN_PROGRESS, SUCCEEDED, FAILED).
          type:
            - string
            - 'null'
          anyOf:
            - $ref: '#/components/schemas/Status'
            - type: 'null'
        errorMessage:
          type:
            - string
            - 'null'
          description: Error message if the Cube failed.
        responseType:
          type:
            - string
            - 'null'
          description: Type of the Cube response, e.g., 'coefficients'.
        hash:
          type:
            - integer
            - 'null'
          format: int32
          description: Hash of the Cube request
        cubeResponseId:
          type: integer
          format: int64
          description: Cube response id.
        updatedAt:
          type:
            - string
            - 'null'
          description: Last update time of the Cube.
        createdAt:
          type:
            - string
            - 'null'
          description: Creation time of the Cube.
    Status:
      type: string
      enum:
        - IN_PROGRESS
        - AGGREGATING
        - SUCCEEDED
        - FAILED
        - CREATING
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Include your API key in the Authorization
        header.

````