---
title: Resources
description: The named, reusable parts of a Workspace, and the kinds of Resource.
---

{/* vale off */}

{/* TODO: The definitions on this page restate `GLOSSARY.md`'s entries for the same terms, which own them. Generate these definitions from the glossary, or have `docs/docs.test.mjs` check that each bolded term's definition matches its glossary entry. The kinds table should also be checked against `resource_kinds!` in `crates/api/src/kinds.rs`. */}

A **Resource** is a named, reusable part of a Workspace, such as an Object or an Action. A Project defines Resources, and each Commit selects the definition of every Resource it holds.

## Kinds of Resource

| Kind | What it is |
| --- | --- |
| Object | The fields and links of the records you track, such as your own customers. |
| Table | Stores documents. |
| Dataset | Holds analytical rows that an outside catalog keeps. |
| Query | A Function that reads Tables and Objects at one Commit. |
| Mutation | Changes Tables in one Commit. |
| Action | Does work that reaches other systems or needs more than one Commit. |
| Secret | Identifies a credential that an Action or a Dataset uses to reach another system. |
| Connector | Authenticates an Action's or an external Dataset's requests to an outside system. |
| App | Lets people or agents use the Ontology, in a browser or through an MCP Server. |
| Marking | A requirement, such as `Pii`, that other Resources and their fields can carry to restrict who reaches their data. |

The [Ontology](/docs/concepts/ontology) covers Objects, Queries, Mutations, and Actions. [Apps](/docs/concepts/apps) and [Connectors](/docs/concepts/connectors) have their own pages.

{/* TODO: Document Dataset reads once the Datasets E2E test's pinned read (`packages/e2e/test/datasets.e2e.test.ts`) passes against staging, the evidence `docs/AGENTS.md` asks for before an availability claim. The kinds table's Query row reads Datasets too, and a Datasets section covers a Dataset client's `read()` from a Query or a Mutation that lists the Dataset, the API's `GET /api/v1/datasets/{dataset}/rows`, the pinned snapshot a read takes, the schedule that pins it on the default Branch as a service user of the Workspace's organization with `datasets:write`, and the storage hosts its files may be at. */}

## Markings

A **Marking** restricts data. Resources and their fields can require Markings, and a principal reaches that data only when it holds every Marking the data requires.

## Blobs

A **Blob** is an immutable sequence of bytes that a Workspace keeps and names by its digest.
