---
title: Glossary
description: Look up terms used in the Logic SDK manual.
---

Each term has one meaning in this manual. Link to a term with `/docs/reference/glossary#<term>`.

## A

<dl className="glossary">
  <dt id="action">Action</dt>
  <dd>

A function with access to services that can run any function.

  </dd>
  <dt id="adapter">Adapter</dt>
  <dd>

Code that connects the core to one technology, such as a database or queue.

  </dd>
  <dt id="apperror">AppError</dt>
  <dd>

The class for an expected failure, with a kind, code, message, and optional details.

  </dd>
  <dt id="attempt">Attempt</dt>
  <dd>

One try to run a job.

  </dd>
  <dt id="authorization">Authorization</dt>
  <dd>

A check that uses a policy or a record rule.

  </dd>
</dl>

## C

<dl className="glossary">
  <dt id="call">Call</dt>
  <dd>

One run of a function, with its input.

  </dd>
  <dt id="caller">Caller</dt>
  <dd>

An object that runs functions as a scope.

  </dd>
  <dt id="code">Code</dt>
  <dd>

An identifier for an error, such as `bookings.datesUnavailable`.

  </dd>
  <dt id="commit">Commit</dt>
  <dd>

End a transaction and save its changes.

  </dd>
  <dt id="config">Config</dt>
  <dd>

Plain settings the registry supplies through `ctx.config`.

  </dd>
  <dt id="cron">Cron</dt>
  <dd>

A definition for scheduled work as a declared scope.

  </dd>
  <dt id="ctx">Ctx</dt>
  <dd>

The object a handler receives first.

  </dd>
</dl>

## D

<dl className="glossary">
  <dt id="database">Database</dt>
  <dd>

The store that queries read and mutations change.

  </dd>
  <dt id="definer">Definer</dt>
  <dd>

An API that creates a definition.

  </dd>
  <dt id="definition">Definition</dt>
  <dd>

A function, event, listener, cron, or error object.

  </dd>
  <dt id="delivery">Delivery</dt>
  <dd>

A job that runs one listener for one event.

  </dd>
  <dt id="details">Details</dt>
  <dd>

Optional data an `AppError` carries.

  </dd>
</dl>

## E

<dl className="glossary">
  <dt id="emit">Emit</dt>
  <dd>

Put an event in a transaction for delivery after commit.

  </dd>
  <dt id="error">Error</dt>
  <dd>

An expected failure represented by an `AppError` with a kind and a code.

  </dd>
  <dt id="event">Event</dt>
  <dd>

A record that a mutation emits for listeners.

  </dd>
  <dt id="exception">Exception</dt>
  <dd>

An unexpected value that code throws.

  </dd>
</dl>

## F

<dl className="glossary">
  <dt id="feature-flag">Feature flag</dt>
  <dd>

A setting that controls whether a feature is available.

  </dd>
  <dt id="function">Function</dt>
  <dd>

A definition made with `query`, `mutation`, or `action`.

  </dd>
</dl>

## H

<dl className="glossary">
  <dt id="handler">Handler</dt>
  <dd>

The async code that does a definition's work.

  </dd>
  <dt id="host">Host</dt>
  <dd>

Code that converts a platform signal into an SDK operation.

  </dd>
</dl>

## I

<dl className="glossary">
  <dt id="id">ID</dt>
  <dd>

A definition's registered name, with its module key.

  </dd>
  <dt id="input">Input</dt>
  <dd>

Data a caller passes to run a function.

  </dd>
  <dt id="integration">Integration</dt>
  <dd>

Code that connects the SDK to AI SDK, oRPC, or HTTP.

  </dd>
  <dt id="internal-function">Internal function</dt>
  <dd>

A registered function outside the public API.

  </dd>
</dl>

## J

<dl className="glossary">
  <dt id="job">Job</dt>
  <dd>

One listener delivery, scheduled call, or cron run.

  </dd>
</dl>

## K

<dl className="glossary">
  <dt id="kind">Kind</dt>
  <dd>

A category of definition or raised error.

  </dd>
</dl>

## L

<dl className="glossary">
  <dt id="lease">Lease</dt>
  <dd>

A time limit on a runner's claim to a job.

  </dd>
  <dt id="listener">Listener</dt>
  <dd>

A definition that reacts to an event after commit.

  </dd>
</dl>

## M

<dl className="glossary">
  <dt id="meta">Meta</dt>
  <dd>

App-defined data about a definition.

  </dd>
  <dt id="module">Module</dt>
  <dd>

Definitions that share a key in the registry.

  </dd>
  <dt id="mutation">Mutation</dt>
  <dd>

A function that writes in a transaction.

  </dd>
</dl>

## N

<dl className="glossary">
  <dt id="nested-call">Nested call</dt>
  <dd>

A call started through `ctx.run`.

  </dd>
</dl>

## O

<dl className="glossary">
  <dt id="outbox">Outbox</dt>
  <dd>

An adapter that stores jobs in a transaction and signals a queue after commit.

  </dd>
  <dt id="output">Output</dt>
  <dd>

The value a caller receives from a function.

  </dd>
</dl>

## P

<dl className="glossary">
  <dt id="payload">Payload</dt>
  <dd>

Data an event carries.

  </dd>
  <dt id="platform">Platform</dt>
  <dd>

Infrastructure for the app, such as Node, Workers, or Postgres.

  </dd>
  <dt id="policy">Policy</dt>
  <dd>

A synchronous check that allows a call by returning `true` for the scope.

  </dd>
  <dt id="private-function">Private function</dt>
  <dd>

An unregistered function that runs through `ctx.run`.

  </dd>
  <dt id="publish">Publish</dt>
  <dd>

Make a function available through a route, procedure, or tool.

  </dd>
</dl>

## Q

<dl className="glossary">
  <dt id="query">Query</dt>
  <dd>

A function that reads data and can run other queries.

  </dd>
  <dt id="queue">Queue</dt>
  <dd>

A named group of jobs.

  </dd>
</dl>

## R

<dl className="glossary">
  <dt id="record-rule">Record rule</dt>
  <dd>

A check on what the caller may do with a record.

  </dd>
  <dt id="registry">Registry</dt>
  <dd>

The object that collects definitions, makes callers, and manages jobs.

  </dd>
  <dt id="roll-back">Roll back</dt>
  <dd>

End a transaction without saving its changes.

  </dd>
  <dt id="run">Run</dt>
  <dd>

Make a function execute with `caller.run` or `ctx.run`.

  </dd>
</dl>

## S

<dl className="glossary">
  <dt id="schema">Schema</dt>
  <dd>

A Standard Schema that checks or transforms data.

  </dd>
  <dt id="scope">Scope</dt>
  <dd>

App-defined data for who runs a call and where.

  </dd>
  <dt id="services">Services</dt>
  <dd>

Dependencies for side effects in actions, listeners, and crons.

  </dd>
  <dt id="side-effect">Side effect</dt>
  <dd>

An operation outside the transaction, such as sending email.

  </dd>
  <dt id="system-scope">System scope</dt>
  <dd>

An app-defined scope for work on the app's behalf.

  </dd>
</dl>

## T

<dl className="glossary">
  <dt id="transaction">Transaction</dt>
  <dd>

A group of database operations that commit or roll back together.

  </dd>
</dl>

## V

<dl className="glossary">
  <dt id="validation">Validation</dt>
  <dd>

The check that data matches a schema.

  </dd>
</dl>

## W

<dl className="glossary">
  <dt id="worker">Worker</dt>
  <dd>

A process or platform handler that takes and runs jobs.

  </dd>
</dl>
