---
title: "file.outline: List the file's tables and dashboards as its outline — Table kit command — Kition"
description: "Lists the file's tables and dashboards as its outline, each with its id, its title, what it is and the place the editor opens the file at; changes nothing."
canonical: "https://developer.kition.ai/docs/kits/table/commands/file.outline"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/table/commands/file.outline](https://developer.kition.ai/docs/kits/table/commands/file.outline)

# file.outline

**List the file's tables and dashboards as its outline.** Lists the file's tables and dashboards as its outline, each with its id, its title, what it is and the place the editor opens the file at; changes nothing.

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

## Parameters

None.

## Call through table_run

```text
table_run {
  "path": "<file>.ktable",
  "steps": [{ "command": "file.outline" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | `object` | no | Why the call failed (A18); the file is as it was. |
| `items` | `object[]` | no | The file's tables, then its dashboards, in the document's order. |

```json
{
  "additionalProperties": false,
  "properties": {
    "error": {
      "additionalProperties": false,
      "description": "Why the call failed (A18); the file is as it was.",
      "properties": {
        "code": {
          "enum": [
            "invalid-params",
            "invalid-op",
            "invalid-value",
            "not-found",
            "read-only",
            "unknown-command",
            "command-failed",
            "not-open",
            "draft-required",
            "not-allowed",
            "unsupported",
            "unavailable",
            "failed"
          ],
          "type": "string"
        },
        "index": {
          "description": "The failing step or operation.",
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "items": {
      "description": "The file's tables, then its dashboards, in the document's order.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The table's or dashboard's id.",
            "type": "string"
          },
          "kind": {
            "enum": [
              "table",
              "dashboard"
            ],
            "type": "string"
          },
          "title": {
            "description": "What people call it.",
            "type": "string"
          },
          "view": {
            "description": "The place, as the editor opens the file at it: { path }."
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/table-darwin-arm64@0.1.0 and the kit itself (table_commands through @kition/cli@0.1.1, built from KitionAI/kition-table@6a436a8).
