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

# Service Signals

### IsInService

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/service-isinservice`

A boolean that Indicates if the vehicle is currently in service

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="value" type="boolean" required={false} />

    ```json Example theme={null}
    {
      "value": true
    }
    ```
  </Expandable>
</ParamField>

### Records

<Badge color="green">GET</Badge> `/vehicles/{vehicleId}/signals/service-records`

An array containing records of service that has been performed on the vehicle.

<ParamField path="body" type="object">
  <Expandable title="body properties">
    <ParamField path="values" type="array" required={true}>
      An array of service records.
    </ParamField>

    <Expandable title="Array item properties">
      <ParamField path="id" type="string" required={false}>
        A unique identifier for the service record.
      </ParamField>

      <ParamField path="cost" type="object" required={false}>
        The monetary amount billed by the service provider for the service.
      </ParamField>

      <Expandable title="cost properties">
        <ParamField path="amount" type="number" required={false}>
          The numerical portion of the amount.
        </ParamField>

        <ParamField path="currency" type="string" required={false}>
          The currency for the amount.
        </ParamField>
      </Expandable>

      <ParamField path="time" type="string" required={false}>
        The timestamp of when the service occurred.
      </ParamField>

      <ParamField path="tasks" type="array" required={false}>
        An array containing information about tasks performed as part of the service.
      </ParamField>

      <Expandable title="Array item properties">
        <ParamField path="id" type="string" required={false}>
          A unique identifier for the task.
        </ParamField>

        <ParamField path="description" type="string" required={false}>
          A description of the task that was performed.
        </ParamField>
      </Expandable>

      <ParamField path="details" type="array" required={false}>
        An array containing additional details about the service.
      </ParamField>

      <Expandable title="Array item properties">
        <ParamField path="id" type="string" required={false}>
          A unique identifier for the additional detail item.
        </ParamField>

        <ParamField path="description" type="string" required={false}>
          A text string describing the additional detail item.
        </ParamField>
      </Expandable>

      <ParamField path="odometer" type="number" required={false}>
        The vehicle's odometer at the time of the service.
      </ParamField>
    </Expandable>

    ```json Example theme={null}
    {
      "values": [
        {
          "id": "SVC-20230427-001",
          "time": 1682591400000,
          "odometer": 45231,
          "tasks": [
            {
              "id": "task-001",
              "description": "Oil change"
            }
          ],
          "details": [
            {
              "id": "detail-001",
              "description": "Used synthetic oil"
            }
          ],
          "cost": {
            "currency": "USD",
            "amount": 349.95
          }
        }
      ]
    }
    ```
  </Expandable>
</ParamField>
