# BuildCache


[API catalog](/reference/api/) · [Docker Engine overview](/reference/api/engine/version/v1.57/) · [Product manual](https://docs.docker.com/engine/) · [OpenAPI specification](/reference/api/engine/version/v1.57.yaml)

API version: 1.57





Schema constraints and annotations:

```json
{
  "description": "BuildCache contains information about a build cache record.\n",
  "properties": {
    "CreatedAt": {
      "description": "Date and time at which the build cache was created in\n[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.\n",
      "example": "2016-08-18T10:44:24.496525531Z",
      "format": "dateTime",
      "type": "string"
    },
    "Description": {
      "description": "Description of the build-step that produced the build cache.\n",
      "example": "mount / from exec /bin/sh -c echo 'Binary::apt::APT::Keep-Downloaded-Packages \"true\";' \u003e /etc/apt/apt.conf.d/keep-cache",
      "type": "string"
    },
    "ID": {
      "description": "Unique ID of the build cache record.\n",
      "example": "ndlpt0hhvkqcdfkputsk4cq9c",
      "type": "string"
    },
    "InUse": {
      "description": "Indicates if the build cache is in use.\n",
      "example": false,
      "type": "boolean"
    },
    "LastUsedAt": {
      "description": "Date and time at which the build cache was last used in\n[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.\n",
      "example": "2017-08-09T07:09:37.632105588Z",
      "format": "dateTime",
      "type": "string",
      "x-nullable": true
    },
    "Parents": {
      "description": "List of parent build cache record IDs.\n",
      "example": [
        "hw53o5aio51xtltp5xjp8v7fx"
      ],
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-nullable": true
    },
    "Shared": {
      "description": "Indicates if the build cache is shared.\n",
      "example": true,
      "type": "boolean"
    },
    "Size": {
      "description": "Amount of disk space used by the build cache (in bytes).\n",
      "example": 51,
      "type": "integer"
    },
    "Type": {
      "description": "Cache record type.\n",
      "enum": [
        "internal",
        "frontend",
        "source.local",
        "source.git.checkout",
        "exec.cachemount",
        "regular"
      ],
      "example": "regular",
      "type": "string"
    },
    "UsageCount": {
      "example": 26,
      "type": "integer"
    }
  },
  "type": "object"
}
```



