---
title: "item.metadata: Metadata — Motion kit command — Kition"
description: "Returns metadata for the project (name, path, item and comp counts, bit depth, working space, time display) and, when `item` (id or name) is given, for that item (type, size, label, comment and its own fields)."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/item.metadata"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/item.metadata](https://developer.kition.ai/docs/kits/motion/commands/item.metadata)

# item.metadata

**Metadata.** Returns metadata for the project (name, path, item and comp counts, bit depth, working space, time display) and, when `item` (id or name) is given, for that item (type, size, label, comment and its own fields).

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item` | `integer` | no | id\|name |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "item.metadata" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `item`. motion_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item` | `object` | no |  |
| `project` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "item": {
      "additionalProperties": true,
      "properties": {
        "comment": {
          "type": "string"
        },
        "duration": {
          "type": "number"
        },
        "frameRate": {
          "type": "number"
        },
        "height": {
          "type": "integer"
        },
        "id": {
          "type": "integer"
        },
        "label": {
          "type": "string"
        },
        "layers": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "pixelAspect": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "width": {
          "type": "integer"
        },
        "workArea": {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "project": {
      "additionalProperties": true,
      "properties": {
        "audioSampleRate": {
          "type": "integer"
        },
        "bitDepth": {
          "type": "string"
        },
        "comment": {
          "type": "string"
        },
        "compositions": {
          "type": "integer"
        },
        "folders": {
          "type": "integer"
        },
        "footage": {
          "type": "integer"
        },
        "items": {
          "type": "integer"
        },
        "linearize": {
          "type": "boolean"
        },
        "path": {},
        "renderQueue": {
          "type": "integer"
        },
        "solids": {
          "type": "integer"
        },
        "timeDisplay": {
          "type": "string"
        },
        "workingSpace": {}
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "item": {
      "description": "id|name",
      "type": "integer",
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
