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

# Plane as a data source

> Bring your Plane projects, work items, comments, activity history, cycles, modules, pages and more to Nekt.

Plane is a project management platform where teams plan and track work in projects, work items (issues), cycles (sprints), modules and pages. This connector reads your Plane workspace through the Plane API (v2) and brings the projects and everything inside them (states, labels, members, modules, cycles, intake, work item types, pages and work logs), every work item with its comments, activity history, links, attachments, relations and dependencies, and the workspace members.

> [!NOTE]
>
> The connector only reads data. It never creates, changes or deletes anything in Plane.

## Configuring Plane as a Source

In the [Sources](https://app.nekt.ai/sources) tab, click on the "Add source" button located on the top right of your screen. Then, select the Plane option from the list of connectors.

Click **Next** and you'll be prompted to add your access.

### 1. Add account access

The connector signs in with a Plane **API key** (personal access token):

**1. Open your profile settings**

In Plane, open **Profile settings** and go to **Personal access tokens**.

**2. Create the token**

Click **Add personal access token**, give it a name (for example, "Nekt") and, if you want, an expiry date. Copy the token.

**3. Find your workspace slug**

The slug is the part of your Plane address right after the domain: in `https://app.plane.so/my-team/projects/` the slug is `my-team`.

> [!WARNING]
>
> The key reads with the permissions of the user who created it. Create it with a **workspace admin who is a member of every project** you want to sync: Plane does not show private projects to non-members, and it lists public projects to everyone but only serves their contents to project members. Projects the user cannot read are skipped and named in the run log. The **Work Logs** table also needs the user to be an **admin of each project**. If the key expires, the source stops until you update it.

The following configurations are available:

* **API Key**: The Plane personal access token.
* **Workspace Slug**: The slug of your workspace (see above).
* **Base URL** (advanced, optional): Leave empty or keep `https://api.plane.so` for Plane Cloud. For a **self-hosted** Plane, use the https address of your instance, for example `https://plane.example.com`. The connector uses the Plane API v2, available on Plane Cloud and on recent self-hosted Commercial Edition instances; the open-source Community Edition does not have it.
* **Start Date** (advanced, optional): When set, the **Work Items** table only receives work items updated on or after this date. Leave it empty to sync every work item. The other tables are always read in full.

Once you're done, click **Next**.

### 2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.

> Tip: The stream can be found more easily by typing its name.

Select the streams and click **Next**.

### 3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.

* **Layer**: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
* **Folder**: a folder can be created inside the selected layer to group all tables being created from this new data source.
* **Table name**: we suggest a name, but feel free to customize it. You have the option to add a **prefix** to all tables at once and make this process faster!
* **Sync Type**: you can choose between INCREMENTAL and FULL\_TABLE.
  * Incremental: every time the extraction happens, we'll get only the new data, which is good if, for example, you want to keep every record ever fetched.
  * Full table: every time the extraction happens, we'll get the current state of the data, which is good if, for example, you don't want to have deleted data in your catalog.

Once you are done configuring, click **Next**.

### 4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters.

To define your [Trigger](https://docs.nekt.com/runs/scheduling-and-triggers.md), consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times).

Optionally, you can define some additional settings:

* Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource [here](https://docs.nekt.com/get-started/core-concepts/resource-control).
* Determine when to execute an **Additional [Full Sync](https://docs.nekt.com/get-started/core-concepts/types-of-sync#additional-full-sync)**. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.

Once you are ready, click **Next** to finalize the setup.

### 5. Check your new source

You can view your new source on the [Sources](https://app.nekt.ai/sources) page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.

> [!WARNING]
>
> For you to be able to see it on your [Catalog](https://app.nekt.ai/catalog), you need at least one successful source run.

## How the sync works

* **Work Items** is incremental: each sync reads only the work items updated since the previous one. It includes archived work items, drafts, intake (triage) items and the work items of archived projects; use `archived_at` and `is_draft` to filter them. A work item deleted in Plane stays in the table (Plane does not report deletions).
* Plane does not mark a work item as updated when someone comments on it, adds a link, an attachment or a relation, or moves it to another cycle or module. So every sync reads the comments, activities, links, attachments, relations and dependencies of **every active work item** (not archived, not a draft, not in triage), and rebuilds the assignee, label, cycle and module tables from the whole work item list.
* Plane stops serving those lists once a work item is archived (and it can archive completed work items automatically), and the same happens to the states, labels, cycles, pages and other tables of an archived project. To keep that history, these tables are **merged, never replaced**: rows read in earlier syncs stay, and each row's `synced_at` says when it was last read. A row deleted in Plane (a removed comment, link or relation) also stays. A row is current when its `synced_at` equals the highest `synced_at` of the table; an older `synced_at` means it was deleted in Plane, or its work item or project was archived (check `archived_at`), or Plane refused it in the latest sync (the run log names those projects). **Avoid full syncs (including Additional Full Sync) on these tables**: a full sync replaces them and drops the rows of archived work items and projects. The exception: if one of these tables was emptied or recreated in your catalog, or the stream is selected again after being off for a while, run **one** full sync, so the work items and projects archived in the meantime are tried again.
* Plane serves comments, activities, links, attachments, relations and dependencies **one work item at a time**, and allows **60 requests per minute** per API key. Each of these tables needs about one request per active work item: about **70 minutes per 3,000 active work items, per selected table**. Select only the ones you need, and use an API key dedicated to Nekt (the limit is shared with any other integration using the same key).
* A project where a feature is switched off (intake, modules, cycles, pages, work item types, time tracking) is skipped for that table. Projects where Plane refuses a table (feature not on your plan, or the key's user is not a member, or not an admin for work logs) are skipped and named in the run log; if Plane refuses the table in every project, the table fails with an explanation and the other tables keep syncing.

## Available streams

| Stream | Slug | Description |
| - | - | - |
| Workspace Members | `workspace_members` | Active members of the workspace, with name and email. |
| Projects | `projects` | Every project the key's user can see, archived projects included. |
| States | `states` | Workflow states of each project. |
| Labels | `labels` | Labels of each project. |
| Project Members | `project_members` | Members of each project and their role. |
| Modules | `modules` | Modules of each project, archived ones included. |
| Cycles | `cycles` | Cycles (sprints) of each project, archived ones included. |
| Intake Work Items | `intake_work_items` | Requests received through each project's intake. |
| Work Item Types | `work_item_types` | Work item types of each project. |
| Pages | `pages` | Pages of each project with their content, archived ones included. |
| Work Logs | `work_logs` | Time logged on work items. |
| Work Items | `work_items` | Every work item of the workspace (incremental). |
| Work Item Assignees | `work_item_assignees` | One row per work item and assigned user. |
| Work Item Labels | `work_item_labels` | One row per work item and label. |
| Work Item Cycles | `work_item_cycles` | The cycle each work item is in. |
| Work Item Modules | `work_item_modules` | One row per work item and module. |
| Work Item Comments | `work_item_comments` | Comments of each work item. |
| Work Item Activities | `work_item_activities` | Change history of each work item. |
| Work Item Links | `work_item_links` | Links attached to each work item. |
| Work Item Attachments | `work_item_attachments` | File attachments of each work item (metadata only). |
| Work Item Relations | `work_item_relations` | Relations between work items. |
| Work Item Dependencies | `work_item_dependencies` | Scheduling dependencies between work items. |

Sub-work items are regular work items: their `parent_id` points to the parent work item. Nested values (logos, metadata) arrive as JSON text columns; lists of ids arrive as arrays.

## Fields by stream

### Workspace

> [accordion] Workspace Members
>
> The active members of the workspace, with name and email.
>
> Table: `workspace_members` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the membership row (a user has a different membership id in every roster). |
> | `member_id` | String | Unique identifier of the user; use it to join with assignee, actor and owner ids. |
> | `role` | String | Role slug of the member (for example owner, admin, member, guest). |
> | `role_id` | String | Unique identifier of the role. |
> | `display_name` | String | Display name of the user. |
> | `email` | String | Email address of the user. |
> | `avatar_url` | String | URL of the user's avatar image. |

### Projects

> [accordion] Projects
>
> Every project the key's user can see, archived projects included.
>
> Table: `projects` · Primary key: `id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the project. |
> | `identifier` | String | Short project key used as the prefix of work item identifiers (for example ENG in ENG-123). |
> | `name` | String | Name of the project. |
> | `description` | String | Plain-text description of the project. |
> | `description_html` | String | Description of the project as HTML. |
> | `network` | Integer | Visibility of the project: 0 = private (members only), 2 = public (every workspace member can join). |
> | `priority` | String | Priority of the project (urgent, high, medium, low or none). |
> | `state_id` | String | Unique identifier of the project state (project lifecycle), when set. |
> | `project_lead_id` | String | Unique identifier of the user who leads the project. |
> | `default_assignee_id` | String | Unique identifier of the user new work items are assigned to by default. |
> | `default_state_id` | String | Unique identifier of the state new work items start in. |
> | `estimate_id` | String | Unique identifier of the estimate system used by the project. |
> | `start_date` | Date | Planned start date of the project. |
> | `target_date` | Date | Planned end date of the project. |
> | `emoji` | String | Emoji code used as the project icon. |
> | `icon_prop` | String (JSON) | Icon settings of the project (JSON object). |
> | `logo_props` | String (JSON) | Logo settings of the project (JSON object). |
> | `cover_image` | String | Cover image of the project. |
> | `cover_image_url` | String | URL of the cover image of the project. |
> | `module_view` | Boolean | Whether modules are enabled in the project. |
> | `cycle_view` | Boolean | Whether cycles are enabled in the project. |
> | `issue_views_view` | Boolean | Whether saved views are enabled in the project. |
> | `page_view` | Boolean | Whether pages are enabled in the project. |
> | `intake_view` | Boolean | Whether intake (triage of incoming requests) is enabled in the project. |
> | `is_time_tracking_enabled` | Boolean | Whether time tracking (work logs) is enabled in the project. |
> | `is_issue_type_enabled` | Boolean | Whether work item types are enabled in the project. |
> | `guest_view_all_features` | Boolean | Whether guests can see every work item of the project, not only their own. |
> | `archive_in` | Integer | Months after which completed work items are archived automatically (0 = never). |
> | `close_in` | Integer | Months after which inactive work items are closed automatically (0 = never). |
> | `timezone` | String | Time zone of the project (IANA name). |
> | `archived_at` | Datetime | When the project was archived; empty for active projects. |
> | `external_id` | String | Identifier of the project in the system it was imported from. |
> | `external_source` | String | System the project was imported from (for example jira or github). |
> | `created_at` | Datetime | When the project was created. |
> | `updated_at` | Datetime | When the project was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the project. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the project. |

> [accordion] States
>
> The workflow states of each project.
>
> Table: `states` · Primary key: `project_id`, `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the state. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Name of the state (for example Backlog, In Progress, Done). |
> | `description` | String | Description of the state. |
> | `color` | String | Color of the state (hex code). |
> | `group` | String | Workflow group of the state: backlog, unstarted, started, completed, cancelled or triage. |
> | `sequence` | Number | Position of the state in the workflow. |
> | `is_default` | Boolean | Whether new work items start in this state. |
> | `is_triage` | Boolean | Whether this is the triage state used by intake. |
> | `external_id` | String | Identifier of the state in the system it was imported from. |
> | `external_source` | String | System the state was imported from. |
> | `created_at` | Datetime | When the state was created. |
> | `updated_at` | Datetime | When the state was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the state. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the state. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Labels
>
> The labels of each project.
>
> Table: `labels` · Primary key: `project_id`, `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the label. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Name of the label. |
> | `description` | String | Description of the label. |
> | `color` | String | Color of the label (hex code). |
> | `sort_order` | Number | Position of the label in lists. |
> | `parent_id` | String | Unique identifier of the parent label, for nested labels. |
> | `external_id` | String | Identifier of the label in the system it was imported from. |
> | `external_source` | String | System the label was imported from. |
> | `created_at` | Datetime | When the label was created. |
> | `updated_at` | Datetime | When the label was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the label. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the label. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Project Members
>
> The members of each project and their role.
>
> Table: `project_members` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the membership row (a user has a different membership id in every roster). |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `member_id` | String | Unique identifier of the user; use it to join with assignee, actor and owner ids. |
> | `role` | String | Role slug of the member (for example owner, admin, member, guest). |
> | `role_id` | String | Unique identifier of the role. |
> | `display_name` | String | Display name of the user. |
> | `email` | String | Email address of the user. |
> | `avatar_url` | String | URL of the user's avatar image. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Modules
>
> The modules of each project, archived modules included.
>
> Table: `modules` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the module. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Name of the module. |
> | `description` | String | Plain-text description of the module. |
> | `description_html` | String | Description of the module as HTML. |
> | `status` | String | Lifecycle status of the module: backlog, planned, in-progress, paused, completed or cancelled. |
> | `start_date` | Date | Planned start date of the module. |
> | `target_date` | Date | Planned end date of the module. |
> | `lead_id` | String | Unique identifier of the user who leads the module. |
> | `member_ids` | Array of strings | Unique identifiers of the users who are members of the module. |
> | `sort_order` | Number | Position of the module in lists. |
> | `logo_props` | String (JSON) | Logo settings of the module (JSON object). |
> | `total_issues` | Integer | Number of work items in the module. |
> | `backlog_issues` | Integer | Number of work items of the module in a backlog state. |
> | `unstarted_issues` | Integer | Number of work items of the module in an unstarted state. |
> | `started_issues` | Integer | Number of work items of the module in a started state. |
> | `completed_issues` | Integer | Number of work items of the module in a completed state. |
> | `cancelled_issues` | Integer | Number of work items of the module in a cancelled state. |
> | `archived_at` | Datetime | When the module was archived; empty for active modules. |
> | `external_id` | String | Identifier of the module in the system it was imported from. |
> | `external_source` | String | System the module was imported from. |
> | `created_at` | Datetime | When the module was created. |
> | `updated_at` | Datetime | When the module was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the module. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the module. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Cycles
>
> The cycles (sprints) of each project, archived cycles included.
>
> Table: `cycles` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the cycle. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Name of the cycle (for example Sprint 24). |
> | `description` | String | Description of the cycle. |
> | `start_date` | Datetime | When the cycle starts. |
> | `end_date` | Datetime | When the cycle ends. |
> | `owned_by_id` | String | Unique identifier of the user who owns the cycle. |
> | `sort_order` | Number | Position of the cycle in lists. |
> | `timezone` | String | Time zone of the cycle dates (IANA name). |
> | `logo_props` | String (JSON) | Logo settings of the cycle (JSON object). |
> | `progress_snapshot` | String (JSON) | Progress figures Plane froze when the cycle was completed (JSON object). |
> | `total_issues` | Integer | Number of work items in the cycle. |
> | `backlog_issues` | Integer | Number of work items of the cycle in a backlog state. |
> | `unstarted_issues` | Integer | Number of work items of the cycle in an unstarted state. |
> | `started_issues` | Integer | Number of work items of the cycle in a started state. |
> | `completed_issues` | Integer | Number of work items of the cycle in a completed state. |
> | `cancelled_issues` | Integer | Number of work items of the cycle in a cancelled state. |
> | `archived_at` | Datetime | When the cycle was archived; empty for active cycles. |
> | `external_id` | String | Identifier of the cycle in the system it was imported from. |
> | `external_source` | String | System the cycle was imported from. |
> | `created_at` | Datetime | When the cycle was created. |
> | `updated_at` | Datetime | When the cycle was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the cycle. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the cycle. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Intake Work Items
>
> Requests received through each project's intake (triage).
>
> Table: `intake_work_items` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the intake entry. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `work_item_id` | String | Unique identifier of the work item created for the request (see work\_items). |
> | `intake_id` | String | Unique identifier of the project's intake. |
> | `name` | String | Title of the request. |
> | `description_html` | String | Description of the request as HTML. |
> | `priority` | String | Priority of the request (urgent, high, medium, low or none). |
> | `state_id` | String | Unique identifier of the state of the request's work item. |
> | `status` | Integer | Triage status: -2 = pending, -1 = rejected, 0 = snoozed, 1 = accepted, 2 = duplicate. |
> | `snoozed_till` | Datetime | Until when the request is snoozed. |
> | `duplicate_to_id` | String | Unique identifier of the work item this request duplicates, when marked duplicate. |
> | `source` | String | Channel the request came from (for example in-app, email or form). |
> | `source_email` | String | Email address the request came from, for email intake. |
> | `external_id` | String | Identifier of the request in the system it was imported from. |
> | `external_source` | String | System the request was imported from. |
> | `created_at` | Datetime | When the request was created. |
> | `updated_at` | Datetime | When the request was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the request. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the request. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Types
>
> The work item types available in each project (Plane paid plans).
>
> Table: `work_item_types` · Primary key: `project_id`, `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the work item type. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Name of the work item type (for example Task, Bug, Epic). |
> | `description` | String | Description of the work item type. |
> | `logo_props` | String (JSON) | Icon settings of the type (JSON object). |
> | `is_epic` | Boolean | Whether the type is an epic. |
> | `is_default` | Boolean | Whether this is the workspace's default type. |
> | `is_active` | Boolean | Whether the type is active. |
> | `is_active_in_project` | Boolean | Whether the type is active in this project. |
> | `is_default_in_project` | Boolean | Whether this is the default type in this project. |
> | `level` | Integer | Hierarchy level of the type. |
> | `governance_mode` | String | Governance mode of the type. |
> | `rollout` | String | Rollout setting of the type. |
> | `project_ids` | Array of strings | Unique identifiers of the projects that use the type. |
> | `external_id` | String | Identifier of the type in the system it was imported from. |
> | `external_source` | String | System the type was imported from. |
> | `created_at` | Datetime | When the type was created. |
> | `updated_at` | Datetime | When the type was last updated. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the type. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Pages
>
> The pages of each project that the key's user can see, archived pages included, with their content.
>
> Table: `pages` · Primary key: `project_id`, `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the page. |
> | `project_id` | String | Unique identifier of the project the row was read from. |
> | `name` | String | Title of the page. |
> | `description_html` | String | Content of the page as HTML. |
> | `description_stripped` | String | Content of the page as plain text. |
> | `access` | Integer | Access of the page: 0 = public (project members), 1 = private (owner and people it is shared with). |
> | `owned_by_id` | String | Unique identifier of the user who owns the page. |
> | `parent_id` | String | Unique identifier of the parent page, for nested pages. |
> | `collection_id` | String | Unique identifier of the collection (wiki) the page belongs to. |
> | `project_ids` | Array of strings | Unique identifiers of the projects the page belongs to. |
> | `is_global` | Boolean | Whether the page is a workspace page. |
> | `is_locked` | Boolean | Whether the page is locked for editing. |
> | `color` | String | Color of the page. |
> | `sort_order` | Number | Position of the page in lists. |
> | `logo_props` | String (JSON) | Icon settings of the page (JSON object). |
> | `view_props` | String (JSON) | Display settings of the page (JSON object). |
> | `archived_at` | Datetime | When the page was archived; empty for active pages. |
> | `external_id` | String | Identifier of the page in the system it was imported from. |
> | `external_source` | String | System the page was imported from. |
> | `created_at` | Datetime | When the page was created. |
> | `updated_at` | Datetime | When the page was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the page. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the page. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Logs
>
> Time logged on work items (time tracking must be on in the project, and the key's user must be a project admin).
>
> Table: `work_logs` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the work log entry. |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `work_item_id` | String | Unique identifier of the work item the time was logged on. |
> | `description` | String | What the time was spent on. |
> | `duration` | Integer | Time logged, in minutes. |
> | `logged_at` | Datetime | When the work was done (the date the time is logged for). |
> | `logged_by_id` | String | Unique identifier of the user the time is logged for. |
> | `created_at` | Datetime | When the entry was created. |
> | `updated_at` | Datetime | When the entry was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the entry. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the entry. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

### Work items

> [accordion] Work Items
>
> Every work item of the workspace: active, archived, drafts, intake (triage) items and the items of archived projects.
>
> Table: `work_items` · Primary key: `id` · Sync: Incremental (by `updated_at`)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the work item. |
> | `identifier` | String | Human-readable key of the work item (project identifier and sequence number, for example ENG-123). |
> | `sequence_id` | Integer | Number of the work item within its project (the 123 in ENG-123). |
> | `project_id` | String | Unique identifier of the project the work item belongs to. |
> | `name` | String | Title of the work item. |
> | `description_html` | String | Description of the work item as HTML. |
> | `priority` | String | Priority of the work item: urgent, high, medium, low or none. |
> | `state_id` | String | Unique identifier of the current state of the work item (see states). |
> | `type_id` | String | Unique identifier of the work item type (see work\_item\_types); empty when types are off. |
> | `parent_id` | String | Unique identifier of the parent work item, for sub-work items. |
> | `assignee_ids` | Array of strings | Unique identifiers of the users assigned to the work item (see also work\_item\_assignees). |
> | `label_ids` | Array of strings | Unique identifiers of the labels of the work item (see also work\_item\_labels). |
> | `estimate_point_id` | String | Unique identifier of the estimate point of the work item. |
> | `start_date` | Date | Planned start date of the work item. |
> | `target_date` | Date | Due date of the work item. |
> | `completed_at` | Datetime | When the work item moved to a completed state. |
> | `archived_at` | Datetime | When the work item was archived; empty for active work items. |
> | `is_draft` | Boolean | Whether the work item is a draft. |
> | `sort_order` | Number | Position of the work item in manual ordering. |
> | `external_id` | String | Identifier of the work item in the system it was imported from. |
> | `external_source` | String | System the work item was imported from (for example jira or github). |
> | `created_at` | Datetime | When the work item was created. |
> | `updated_at` | Datetime | When the work item was last updated, used as the incremental replication key. |
> | `created_by_id` | String | Unique identifier of the user who created the work item. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the work item. |

> [accordion] Work Item Assignees
>
> One row per work item and assigned user.
>
> Table: `work_item_assignees` · Primary key: `work_item_id`, `assignee_id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item. |
> | `assignee_id` | String | Unique identifier of a user assigned to the work item (see workspace\_members.member\_id). |
> | `project_id` | String | Unique identifier of the project of the work item. |

> [accordion] Work Item Labels
>
> One row per work item and label.
>
> Table: `work_item_labels` · Primary key: `work_item_id`, `label_id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item. |
> | `label_id` | String | Unique identifier of a label of the work item (see labels). |
> | `project_id` | String | Unique identifier of the project of the work item. |

> [accordion] Work Item Cycles
>
> The cycle each work item is in (a work item is in at most one cycle).
>
> Table: `work_item_cycles` · Primary key: `work_item_id`, `cycle_id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item. |
> | `cycle_id` | String | Unique identifier of the cycle the work item is in (see cycles); a work item is in at most one cycle. |
> | `project_id` | String | Unique identifier of the project of the work item. |

> [accordion] Work Item Modules
>
> One row per work item and module.
>
> Table: `work_item_modules` · Primary key: `work_item_id`, `module_id` · Sync: Full table
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item. |
> | `module_id` | String | Unique identifier of a module the work item is in (see modules). |
> | `project_id` | String | Unique identifier of the project of the work item. |

> [accordion] Work Item Comments
>
> The comments of each work item.
>
> Table: `work_item_comments` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the comment. |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `parent_id` | String | Unique identifier of the comment this one replies to. |
> | `comment_html` | String | Text of the comment as HTML. |
> | `comment_stripped` | String | Text of the comment as plain text. |
> | `access` | String | Who can see the comment: INTERNAL (project members) or EXTERNAL (also visible on the public board). |
> | `actor_id` | String | Unique identifier of the user who wrote the comment. |
> | `edited_at` | Datetime | When the comment text was last edited. |
> | `hidden_at` | Datetime | When the comment was hidden. |
> | `hidden_by_id` | String | Unique identifier of the user who hid the comment. |
> | `hidden_reason` | String | Why the comment was hidden. |
> | `external_id` | String | Identifier of the comment in the system it was imported from. |
> | `external_source` | String | System the comment was imported from. |
> | `created_at` | Datetime | When the comment was created. |
> | `updated_at` | Datetime | When the comment was last updated. |
> | `created_by_id` | String | Unique identifier of the user who created the comment. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the comment. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Activities
>
> The history of each work item: every change to its fields, with old and new values, who made it and when.
>
> Table: `work_item_activities` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the activity entry. |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `verb` | String | What happened (for example created, updated, deleted). |
> | `field` | String | Field of the work item that changed (for example state, priority, assignees, comment); empty for the creation. |
> | `old_value` | String | Value of the field before the change, as Plane displays it. |
> | `new_value` | String | Value of the field after the change, as Plane displays it. |
> | `old_identifier_id` | String | Unique identifier of the previous value, when the field points to another object (state, user, label...). |
> | `new_identifier_id` | String | Unique identifier of the new value, when the field points to another object (state, user, label...). |
> | `comment` | String | Plane's own description of the change. |
> | `issue_comment_id` | String | Unique identifier of the comment the activity is about, for comment activities. |
> | `actor_id` | String | Unique identifier of the user who made the change. |
> | `epoch` | Integer | When the change happened, as a Unix timestamp. |
> | `duration` | Integer | Time spent, for time tracking activities. |
> | `external_id` | String | Identifier of the activity in the system it was imported from. |
> | `external_source` | String | System the activity was imported from. |
> | `created_at` | Datetime | When the activity was recorded. |
> | `updated_at` | Datetime | When the activity entry was last updated. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Links
>
> The links attached to each work item.
>
> Table: `work_item_links` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the link. |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `title` | String | Title of the link. |
> | `url` | String | Address the link points to. |
> | `metadata` | String (JSON) | Metadata Plane fetched for the link (JSON object). |
> | `created_at` | Datetime | When the link was added. |
> | `updated_at` | Datetime | When the link was last updated. |
> | `created_by_id` | String | Unique identifier of the user who added the link. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the link. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Attachments
>
> The files attached to each work item (name, type and size only; the files are not downloaded).
>
> Table: `work_item_attachments` · Primary key: `id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the attachment. |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `name` | String | File name of the attachment. |
> | `content_type` | String | MIME type of the file. |
> | `size` | Integer | Size of the file, in bytes. |
> | `is_uploaded` | Boolean | Whether the upload of the file finished. |
> | `attributes` | String (JSON) | File attributes Plane keeps (JSON object with name, type and size). |
> | `external_id` | String | Identifier of the attachment in the system it was imported from. |
> | `external_source` | String | System the attachment was imported from. |
> | `created_at` | Datetime | When the attachment was added. |
> | `updated_at` | Datetime | When the attachment was last updated. |
> | `created_by_id` | String | Unique identifier of the user who added the attachment. |
> | `updated_by_id` | String | Unique identifier of the user who last updated the attachment. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Relations
>
> The relations between work items (relates to, duplicate and custom relations).
>
> Table: `work_item_relations` · Primary key: `work_item_id`, `relation_type`, `related_work_item_id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `relation_type` | String | Type of the relation, from this work item's side (for example relates to, duplicate, implements, implemented by). |
> | `related_work_item_id` | String | Unique identifier of the work item on the other side of the relation. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |

> [accordion] Work Item Dependencies
>
> The scheduling dependencies between work items (blocking, blocked by, start/finish before/after).
>
> Table: `work_item_dependencies` · Primary key: `work_item_id`, `dependency_type`, `related_work_item_id` · Sync: Incremental (merged by primary key; rows are never removed)
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `work_item_id` | String | Unique identifier of the work item (see work\_items). |
> | `project_id` | String | Unique identifier of the project of the work item. |
> | `dependency_type` | String | Type of the dependency, from this work item's side: blocking, blocked\_by, start\_before, start\_after, finish\_before or finish\_after. |
> | `related_work_item_id` | String | Unique identifier of the work item on the other side of the dependency. |
> | `synced_at` | Datetime | When Nekt last read this row from Plane, used as the incremental replication key. Rows are merged, never removed: a row whose synced\_at is older than the latest sync was not served again (deleted in Plane, or its work item or project was archived). |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.