An agent file has 4 top-level blocks: `ellipsis`, optional `trigger`, optional `input`, and `session`. Set `ellipsis.kind` to `agent`. Unknown fields fail validation. See [Agents](/docs/agents) for how files deploy and run.

## Scheduled test checks

```yaml title=".ellipsis/agents/nightly-tests.yaml"
ellipsis:
  kind: agent
  name: nightly-tests
  description: Check the API test suite every night

trigger:
  type: cron
  schedule: '0 2 * * *'

session:
  claude_code:
    prompt: |
      Run the tests in api-repo. Report failures with the test
      name and error. Do not modify code.
    model: claude-opus-5-5
  environment:
    repositories:
      - name: api-repo
  permissions:
    github: read_only
  budget:
    session: 3
    day: 10
    week: 50
```

Every night at 02:00 UTC, a session runs the tests and reports failures without changing code.

## React to a pull request

```yaml title=".ellipsis/agents/check-api-changes.yaml"
ellipsis:
  kind: agent
  name: check-api-changes

trigger:
  type: react
  pull_request:
    on: [pushed]
    repositories: [api-repo]
    paths: ['src/routes/**']
    draft: false

session:
  claude_code:
    model: claude-opus-5-5
    prompt: |
      Check the changed API routes for missing test coverage.
      Add focused regression tests where needed, run them,
      and report the results.
  environment:
    repositories:
      - name: api-repo
  budget:
    session: 5
```

Each push to a non-draft pull request in `api-repo` that changes `src/routes/` starts a session. The trigger decides which events match; the environment decides which repositories are checked out.

## Typed input and output

```yaml title=".ellipsis/agents/classify-change.yaml"
ellipsis:
  kind: agent
  name: classify-change

input:
  json_schema:
    type: object
    properties:
      description:
        type: string
    required: [description]
    additionalProperties: false

session:
  claude_code:
    prompt: |
      Classify the requested change as bugfix, feature, or maintenance.
      Explain the classification in one sentence.

      The change is {{description}}
    model: claude-opus-5-5
  output:
    json_schema:
      type: object
      properties:
        category:
          type: string
          enum: [bugfix, feature, maintenance]
        reason:
          type: string
      required: [category, reason]
      additionalProperties: false
  budget:
    session: 1
```

Start it with `{"input":{"description":"Reject expired reset tokens"}}` instead of a prompt. The validated result is `output.result` on the session once the message is answered.

Structured output works with the models that list it in `GET /v1/account/models`.

An agent with a trigger can declare `input` too. Each `{{field}}` in the prompt is filled from the event when the trigger fires and from the input when you start the agent, so a field must exist in both. A prompt with no `{{field}}` gets the event's details on a trigger and the input as JSON on a start.

```yaml title=".ellipsis/agents/issue-triage.yaml"
ellipsis:
  kind: agent
  name: issue-triage

trigger:
  type: react
  linear_issue:
    on: [opened]

input:
  json_schema:
    type: object
    properties:
      issue:
        type: object
        properties:
          identifier:
            type: string
        required: [identifier]
    required: [issue]
    additionalProperties: false

session:
  claude_code:
    prompt: |
      Triage {{issue.identifier}}. Reproduce the issue, label it, and
      comment with a proposed fix.
    model: claude-opus-5-5
```

When a Linear issue opens, the prompt starts with `Triage API-214.` from the event. Starting the agent with `{"input":{"issue":{"identifier":"API-214"}}}` fills the same prompt from the input.

## Add a Codex skill

A skill is a directory with a `SKILL.md` file that gives Codex a reusable procedure and its supporting files:

```yaml fragment
session:
  codex:
    prompt: Use the release-checks skill to review the release.
    model: gpt-6.1-sol
  skills:
    - path: skills/release-checks
      repository:
        name: api-repo
```

`SKILL.md` needs YAML frontmatter with a `description`. Ellipsis reads the skill from the session's checkout of that repository, or from its default branch when the repository isn't in the session. A missing or invalid skill fails the session.

A session can have up to 10 skills. Each skill can have up to 50 files, 64 KiB per file, and 512 KiB in total.

## Add an MCP server

List MCP servers under `session.mcp`. Claude Code and Codex sessions both get their tools.

```yaml title=".ellipsis/agents/test-repair.yaml"
ellipsis:
  kind: agent
  name: test-repair

session:
  claude_code:
    model: claude-opus-5-5
  environment: api-environment
  mcp:
    - name: internal-tools
      url: https://tools.example.com/mcp
      headers:
        Authorization: Bearer ${TOOLS_TOKEN}
```

Sessions of `test-repair` get the tools of the `internal-tools` server.

- A server with `url` is a remote server that speaks streamable HTTP. Replace the example URL with your server's.
- A server with `command` runs inside the session's environment, with optional `args` and `env`. List it on the [environment](/docs/environments/schema#add-an-mcp-server) that installs it.
- A session also gets the servers its environment lists, and a server listed here under the same name replaces the environment's.
- `${NAME}` in `headers` or `env` reads the [secret](/docs/secrets) `NAME` when the session starts. It doesn't need a `variables` entry. A missing secret fails the session.
- To add the tools of a connected [Slack](/docs/integrations/slack) or [Linear](/docs/integrations/linear) integration, list it by name, as `- slack` or `- linear`. Listing an integration that isn't connected fails the session at start.
- A repository's own `.mcp.json` is ignored.
- With Codex, a server that fails to start fails the message.

## Budgets

```yaml fragment
session:
  claude_code:
    model: claude-opus-5-5
  budget:
    session: 5
    day: 20
    week: 100
    month: 300
```

Values are US dollars. `session` caps each session. `day`, `week`, and `month` cap this agent's total spend over the last 1, 7, and 28 days. The Slack, GitHub, Linear, and Sentry agents take the same fields. Account limits also apply. See [Budgets](/docs/budgets).

## Fields

`prompt` in any config file takes text, `path: <file>`, or a list of text and files joined in order with a blank line between each. A file is in the repository that holds the config or, with `repository`, in another one. Ellipsis reads it when the config syncs and again when the file changes. The API takes text only.

<span id="identity-and-triggers" />
<span id="session-settings" />

| Field | Type | Meaning |
| --- | --- | --- |
| `ellipsis` | `object`, required | Identifies the file. |
| `ellipsis.kind` | `string`, required | `agent`. One of `agent`. |
| `ellipsis.name` | `string` | Agent name, unique within the account. |
| `ellipsis.description` | `string` | Description shown in the dashboard. |
| `ellipsis.enabled` | `boolean` | Whether the agent is active. Default `true`. |
| `ellipsis.metadata` | `object` | `labels` and `annotations` for your own use. |
| `ellipsis.metadata.labels` | `list of string` | Short tags. |
| `ellipsis.metadata.annotations` | `map of string` | Free text values by key. |
| `trigger` | `object` | One cron or react trigger; omit to start only on demand. See [Triggers](/docs/agents/triggers). |
| `trigger.type` | `string` | `cron` runs on a schedule; `react` runs on matching events. One of `cron`, `react`. |
| `trigger.enabled` | `boolean` | `false` pauses the trigger and keeps the agent startable; see [Pause a trigger](/docs/agents/triggers#pause-a-trigger). Default `true`. |
| `trigger.schedule` | `string` | A 5 field cron expression in UTC; see [Schedules](/docs/agents/triggers#schedules). `cron` only. |
| `trigger.pull_request` | `object` | Pull request events to match; see [Pull requests](/docs/agents/triggers#pull-requests). |
| `trigger.pull_request.on` | `list of string`, required | Which events fire. One of `opened` (Opened, reopened, or marked ready for review), `pushed` (New commits, including when the pull request opens), `merged` (Merged), `closed` (Closed without merging), `review_submitted` (A review is submitted), `commented` (A comment is added). |
| `trigger.pull_request.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.pull_request.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.pull_request.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.pull_request.base` | `list of string` | Base branches to match. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.pull_request.head` | `list of string` | Head branches to match. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.pull_request.draft` | `boolean` | `true` matches only draft pull requests, `false` only ready ones. Default both. |
| `trigger.pull_request.labels` | `list of string` | Labels match when any listed label is present. |
| `trigger.pull_request.paths` | `list of string` | Globs of changed files to match. `!` patterns aren't allowed. Default every change. |
| `trigger.pull_request.for` | `object` | Which authors count. |
| `trigger.pull_request.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.pull_request.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.pull_request.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.pull_request.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.pull_request.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.pull_request.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.pull_request.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.push` | `object` | Branch pushes to match; see [Branch pushes](/docs/agents/triggers#branch-pushes). Push triggers have no `on` field. |
| `trigger.push.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.push.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.push.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.push.branch` | `list of string` | Branches to match. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.push.paths` | `list of string` | Globs of changed files to match. `!` patterns aren't allowed. Default every change. |
| `trigger.push.for` | `object` | Which authors count. |
| `trigger.push.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.push.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.push.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.push.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.push.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.push.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.push.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.issue` | `object` | GitHub issue events to match; see [Issues](/docs/agents/triggers#issues). |
| `trigger.issue.on` | `list of string`, required | Which events fire. One of `opened` (Opened), `closed` (Closed), `commented` (A comment is added). |
| `trigger.issue.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.issue.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.issue.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.issue.labels` | `list of string` | Labels match when any listed label is present. |
| `trigger.issue.for` | `object` | Which authors count. |
| `trigger.issue.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.issue.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.issue.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.issue.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.issue.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.issue.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.issue.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.check_run` | `object` | CI checks to match; see [CI checks](/docs/agents/triggers#ci-checks). Needs the Checks permission on the GitHub App installation. |
| `trigger.check_run.on` | `list of string`, required | Which states fire. One of `requested` (Created with status `requested`), `queued` (Created with status `queued`), `waiting` (Created with status `waiting`), `pending` (Created with status `pending`), `started` (Created with status `in_progress`), `passed` (Concluded `success`), `failed` (Concluded `failure`), `timed_out` (Concluded `timed_out`), `cancelled` (Concluded `cancelled`), `skipped` (Concluded `skipped`), `neutral` (Concluded `neutral`), `action_required` (Concluded `action_required`), `stale` (Concluded `stale`). |
| `trigger.check_run.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.check_run.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.check_run.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.check_run.names` | `list of string` | Check names to match. Exact names and prefixes ending in `*`. Default every check. |
| `trigger.check_run.branch` | `list of string` | Branches the check ran on. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.check_run.for` | `object` | Which authors count. |
| `trigger.check_run.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.check_run.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.check_run.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.check_run.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.check_run.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.check_run.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.check_run.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.check_suite` | `object` | Check suites to match; see [Check suites](/docs/agents/triggers#check-suites). Needs the Checks permission on the GitHub App installation. |
| `trigger.check_suite.on` | `list of string`, required | Which outcomes fire. One of `passed` (Concluded `success`), `failed` (Concluded `failure`), `timed_out` (Concluded `timed_out`), `cancelled` (Concluded `cancelled`), `skipped` (Concluded `skipped`), `neutral` (Concluded `neutral`), `action_required` (Concluded `action_required`), `stale` (Concluded `stale`), `startup_failure` (Concluded `startup_failure`). |
| `trigger.check_suite.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.check_suite.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.check_suite.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.check_suite.apps` | `list of string` | Reporting app slugs to match, such as `github-actions`. Exact slugs and prefixes ending in `*`. Default every app. |
| `trigger.check_suite.branch` | `list of string` | Branches the suite ran on. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.check_suite.for` | `object` | Which authors count. |
| `trigger.check_suite.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.check_suite.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.check_suite.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.check_suite.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.check_suite.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.check_suite.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.check_suite.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.workflow_run` | `object` | GitHub Actions workflow runs to match; see [Workflow runs](/docs/agents/triggers#workflow-runs). Needs the Actions permission on the GitHub App installation. |
| `trigger.workflow_run.on` | `list of string`, required | Which states fire. One of `requested` (Created with status `requested`), `queued` (Created with status `queued`), `waiting` (Created with status `waiting`), `pending` (Created with status `pending`), `started` (Created with status `in_progress`), `passed` (Concluded `success`), `failed` (Concluded `failure`), `timed_out` (Concluded `timed_out`), `cancelled` (Concluded `cancelled`), `skipped` (Concluded `skipped`), `neutral` (Concluded `neutral`), `action_required` (Concluded `action_required`), `stale` (Concluded `stale`), `startup_failure` (Concluded `startup_failure`). |
| `trigger.workflow_run.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.workflow_run.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.workflow_run.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.workflow_run.names` | `list of string` | Workflow names to match. Exact names and prefixes ending in `*`. Default every workflow. |
| `trigger.workflow_run.branch` | `list of string` | Branches the run is for. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.workflow_run.for` | `object` | Which authors count. |
| `trigger.workflow_run.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.workflow_run.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.workflow_run.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.workflow_run.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.workflow_run.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.workflow_run.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.workflow_run.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.status` | `object` | Commit statuses to match; see [Commit statuses](/docs/agents/triggers#commit-statuses). Needs the Commit statuses permission on the GitHub App installation. |
| `trigger.status.on` | `list of string`, required | Which states fire. One of `pending` (The status is `pending`), `passed` (The status is `success`), `failed` (The status is `failure`), `errored` (The status is `error`). |
| `trigger.status.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.status.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.status.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.status.names` | `list of string` | Status contexts to match. Exact names and prefixes ending in `*`. Default every context. |
| `trigger.status.branch` | `list of string` | Branches to match. Matches when any branch GitHub lists for the commit matches. Exact names, prefixes ending in `*`, and `default`. |
| `trigger.status.for` | `object` | Which authors count. |
| `trigger.status.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.status.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.status.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.status.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.status.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.status.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.status.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.release` | `object` | Releases to match; see [Releases](/docs/agents/triggers#releases). |
| `trigger.release.on` | `list of string`, required | Which events fire. One of `published` (A release or prerelease is published, including a draft published later). |
| `trigger.release.repositories` | `list of string or object` | Repository names, or an object with `include` and `exclude` lists. Default every installed repository. |
| `trigger.release.repositories.include` | `list of string` | Repository names to match. Default every repository of the installation, including ones added later. |
| `trigger.release.repositories.exclude` | `list of string` | Repository names to skip, applied after `include`. |
| `trigger.release.tag` | `list of string` | Tags to match. Exact names and prefixes ending in `*`. Default every tag. |
| `trigger.release.prerelease` | `boolean` | `true` matches only prereleases, `false` only full releases. Default both. |
| `trigger.release.for` | `object` | Which authors count. |
| `trigger.release.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.release.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.release.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.release.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.release.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.release.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.release.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.linear_issue` | `object` | Linear issue events to match. See [Linear issues](/docs/agents/triggers#linear-issues). |
| `trigger.linear_issue.on` | `list of string`, required | Which events fire. One of `opened` (Created), `updated` (Every field listed in `changed` changed in one edit), `delegated` (Delegated to Ellipsis). |
| `trigger.linear_issue.changed` | `object` | The fields to watch. Required with `updated`. |
| `trigger.linear_issue.changed.state` | `object` | A change to the issue's state. `{}` matches any. |
| `trigger.linear_issue.changed.state.from` | `list of string or object` | The value before. Status names or types. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.state.from.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.state.from.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.state.to` | `list of string or object` | The value after. Status names or types. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.state.to.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.state.to.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.labels` | `object` | A label change. `{}` matches any. |
| `trigger.linear_issue.changed.labels.added` | `list of string or object` | Labels added. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.labels.added.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.labels.added.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.labels.removed` | `list of string or object` | Labels removed. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.labels.removed.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.labels.removed.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.assignee` | `object` | A change to the issue's assignee. `{}` matches any. |
| `trigger.linear_issue.changed.assignee.from` | `list of string or object` | The value before. Member emails, or `none`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.assignee.from.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.assignee.from.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.assignee.to` | `list of string or object` | The value after. Member emails, or `none`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.assignee.to.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.assignee.to.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.priority` | `object` | A change to the issue's priority. `{}` matches any. |
| `trigger.linear_issue.changed.priority.from` | `list of string or object` | The value before. `none`, `urgent`, `high`, `medium`, or `low`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.priority.from.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.priority.from.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.priority.to` | `list of string or object` | The value after. `none`, `urgent`, `high`, `medium`, or `low`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.priority.to.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.priority.to.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.project` | `object` | A change to the issue's project. `{}` matches any. |
| `trigger.linear_issue.changed.project.from` | `list of string or object` | The value before. Project names, or `none`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.project.from.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.project.from.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.changed.project.to` | `list of string or object` | The value after. Project names, or `none`. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.changed.project.to.include` | `list of string` | Values to match. |
| `trigger.linear_issue.changed.project.to.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.team` | `list of string or object` | Team keys, such as `WEB`. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.team.include` | `list of string` | Values to match. |
| `trigger.linear_issue.team.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.state` | `list of string or object` | Status names, or types `triage`, `backlog`, `unstarted`, `started`, `completed`, and `canceled`. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.state.include` | `list of string` | Values to match. |
| `trigger.linear_issue.state.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.labels` | `list of string or object` | Label names. Matches when any is present. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.labels.include` | `list of string` | Values to match. |
| `trigger.linear_issue.labels.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.project` | `list of string or object` | Project names, or `none`. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.project.include` | `list of string` | Values to match. |
| `trigger.linear_issue.project.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.assignee` | `list of string or object` | Member emails, `none`, or `any`. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.assignee.include` | `list of string` | Values to match. |
| `trigger.linear_issue.assignee.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.priority` | `list of string or object` | `none`, `urgent`, `high`, `medium`, or `low`. Checked after the event. A list, or an object with `include` and `exclude` lists. |
| `trigger.linear_issue.priority.include` | `list of string` | Values to match. |
| `trigger.linear_issue.priority.exclude` | `list of string` | Values to skip, applied after `include`. |
| `trigger.linear_issue.for` | `object` | Which authors count. |
| `trigger.linear_issue.for.users` | `boolean, list of string, or object` | People. `true` is everyone, a list is those logins, `false` is no one, and an object sets `include` and `exclude`. Default `true`. |
| `trigger.linear_issue.for.users.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.linear_issue.for.users.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.linear_issue.for.bots` | `boolean, list of string, or object` | Bots. `true` is every bot, a list is those logins, `false` is none, and an object sets `include` and `exclude`. Default `false`. |
| `trigger.linear_issue.for.bots.include` | `boolean or list of string` | `true` is everyone, a list is those logins, `false` is no one. Default `true`. |
| `trigger.linear_issue.for.bots.exclude` | `list of string` | Logins to skip, applied after `include`. |
| `trigger.linear_issue.for.teams` | `list of string` | GitHub team slugs of the installed organization, such as `platform` for `@org/platform`. The author must also be on one of them. Bots never are. |
| `trigger.sentry` | `object` | Sentry alerts to match; see [Sentry alerts](/docs/agents/triggers#sentry-alerts). |
| `trigger.sentry.on` | `list of string`, required | Which alerts fire. One of `issue_alert` (An issue alert fires), `metric_alert` (A metric alert becomes critical). |
| `trigger.sentry.projects` | `list of string` | Sentry project slugs. Default every project. |
| `trigger.slack_channel` | `object` | Runs when someone creates a Slack channel; see [Slack channels](/docs/agents/triggers#slack-channels). Takes no fields. |
| `input` | `object` | Typed input for sessions you start from the dashboard, CLI, or API; a trigger fires without it. See [Typed input and output](/docs/agents/schema#typed-input-and-output). |
| `input.json_schema` | `object`, required | Schema the request's `input` must match. |
| `session` | `object`, required | The session each run starts. |
| `session.claude_code` | `object` | Runs the session with [Claude Code](/docs/models/claude). Exactly one of `claude_code`, `codex`, or `gemini`. |
| `session.claude_code.prompt` | `string` | The task. |
| `session.claude_code.model` | `string`, required | A Claude Code model from [Models](/docs/models#current-support). |
| `session.claude_code.effort` | `string` | Reasoning effort, where the model supports it. One of `low`, `medium`, `high`, `xhigh`, `max`. |
| `session.claude_code.max_turns` | `integer` | The most turns the agent can take on each message, a whole number above 0. |
| `session.claude_code.fallback_model` | `string` | The model Claude Code switches to when `model` is overloaded. Default none. |
| `session.claude_code.settings` | `object` | A Claude Code `settings.json` in a repository, applied below the settings Ellipsis manages. Hooks stay disabled. |
| `session.claude_code.settings.path` | `string`, required | Path of the file, relative to the repository root. |
| `session.claude_code.settings.repository` | `object` | Where `path` resolves. Default the repository this file lives in. |
| `session.claude_code.settings.repository.name` | `string`, required | The repository name, without the owner. |
| `session.claude_code.settings.repository.owner` | `string` | The GitHub owner. Default your account. |
| `session.claude_code.settings.repository.ref` | `string` | Branch, tag, or commit. Default the default branch. |
| `session.codex` | `object` | Runs the session with [Codex](/docs/models/codex). Exactly one of `claude_code`, `codex`, or `gemini`. |
| `session.codex.prompt` | `string` | The task. |
| `session.codex.model` | `string`, required | `gpt-6.1-sol`, `gpt-6-astra`, `gpt-6-sol`, or `gpt-6-luna`. |
| `session.codex.effort` | `string` | Reasoning effort. GPT-6.1 Sol and GPT-6 Astra don't accept `none`. Default `medium`. One of `none`, `low`, `medium`, `high`, `xhigh`, `max`. |
| `session.gemini` | `object` | Runs the session with [Gemini CLI](/docs/models/gemini). Exactly one of `claude_code`, `codex`, or `gemini`. |
| `session.gemini.prompt` | `string` | The task. |
| `session.gemini.model` | `string`, required | `gemini-4-argon` or `gemini-3.8-flash`. |
| `session.environment` | `string or object` | A saved environment name or an inline environment; see the [Environment schema reference](/docs/environments/schema). Default the built-in basic environment. |
| `session.permissions` | `object` | Rules for what the session may do on GitHub and with the Ellipsis API. See [Permissions](/docs/permissions). |
| `session.permissions.github` | `string or list of object` | `all` for everything the GitHub App installation allows, `read_only` for every read in every repository, or a list. A list entry is an action name, or a rule with the fields below that limits what it allows. A request passes when any entry allows it. Default no GitHub access. |
| `session.permissions.github[].allow` | `string or list of string`, required | Actions the rule allows. `read_only` is every read action, and `contents.write`, `pull_requests.write`, `issues.write`, and `actions.write` are every action in that area, reads included. One of `read_only`, `contents.read`, `pull_requests.read`, `issues.read`, `checks.read`, `statuses.read`, `actions.read`, `contents.write`, `pull_requests.write`, `issues.write`, `actions.write`, `contents.push`, `contents.delete_branch`, `pull_requests.create`, `pull_requests.update`, `pull_requests.comment`, `pull_requests.review`, `pull_requests.merge`, `issues.create`, `issues.comment`, `issues.update`, `actions.run`. |
| `session.permissions.github[].repository` | `string or list of string` | Repository names or patterns such as `api-*`. Default every repository of the installation. |
| `session.permissions.github[].branch` | `string` | Pattern for the branch a push writes to or a pull request comes from. `{session_id}` becomes the session id. |
| `session.permissions.github[].base` | `string` | Pattern for the branch a pull request targets. |
| `session.permissions.github[].pull_request` | `integer or list of integer` | Pull request numbers. On `contents.push` it allows only pushes to those pull requests' branches. |
| `session.permissions.github[].issue` | `integer or list of integer` | Issue numbers. |
| `session.permissions.github[].limit` | `integer` | How many times one session may use the rule, from 1. A push counts once, and so does each pull request, comment, review, merge, or request. Default no limit. |
| `session.permissions.ellipsis` | `string or list of object` | `all` for every operation a session token can use, `read_only` for every read operation, or a list. A list entry is an operation name, `read_only`, or a resource with `.*`. A request passes when any entry allows it. Default no Ellipsis API access. |
| `session.permissions.ellipsis[].allow` | `string or list of string`, required | SDK operation names such as `sessions.get`, `read_only` for every read, or a resource with `.*`. |
| `session.budget` | `object` | Spend limits in US dollars. Account limits also apply; see [Budgets](/docs/budgets). |
| `session.budget.session` | `number` | The most one session may spend, in US dollars. |
| `session.budget.day` | `number` | The most the agent may spend over the last day. |
| `session.budget.week` | `number` | The most the agent may spend over the last 7 days. |
| `session.budget.month` | `number` | The most the agent may spend over the last 28 days. |
| `session.conversation` | `object` | How the session behaves after its first turn. |
| `session.conversation.interactive` | `boolean` | Whether the session stays open for follow-ups; `false` runs once. Default `true`. |
| `session.metadata` | `map of string` | String keys and values stored on every session. |
| `session.output` | `object` | Structured result; see [Typed input and output](/docs/agents/schema#typed-input-and-output). |
| `session.output.json_schema` | `object`, required | Schema for the final JSON result, returned in `output.result` on `GET /v1/sessions/{id}`. |
| `session.skills` | `list of object` | Skills from a repository, for Codex; see [Add a Codex skill](/docs/agents/schema#add-a-codex-skill). Up to 10. Default none. |
| `session.skills[].path` | `string`, required | Directory holding `SKILL.md`, relative to the repository root. |
| `session.skills[].repository` | `object` | Where `path` resolves. Default the repository this file lives in. |
| `session.skills[].repository.name` | `string`, required | The repository name, without the owner. |
| `session.skills[].repository.owner` | `string` | The GitHub owner. Default your account. |
| `session.skills[].repository.ref` | `string` | Branch, tag, or commit. Default the default branch. |
| `session.mcp` | `list of string or object` | `slack`, `linear`, remote servers, or local servers; see [Add an MCP server](/docs/agents/schema#add-an-mcp-server). |
| `session.mcp[].name` | `string`, required | The server name. `slack` or `linear` attaches a connected integration. |
| `session.mcp[].url` | `string` | A remote server that speaks streamable HTTP. |
| `session.mcp[].headers` | `map of string` | Sent with every request. `${NAME}` reads the [secret](/docs/secrets) `NAME` when the session starts. |
| `session.mcp[].command` | `string` | A local server run inside the environment. Install anything it needs in `build_base`. |
| `session.mcp[].args` | `list of string` | Arguments for `command`. |
| `session.mcp[].env` | `map of string` | Environment variables for `command`. `${NAME}` reads the [secret](/docs/secrets) `NAME` when the session starts. |

## Prompt fields

Each `{{field}}` in an agent's prompt is replaced with that field's value, from the input or from the trigger's event. An unknown field fails validation. A prompt with no `{{field}}` gets the input as JSON or the event's details after it.

Each trigger sets these fields.

| Trigger | Field | Type | Meaning |
| --- | --- | --- | --- |
| `check_run` | `action` | `string` | The state that fired, one of the trigger's `on` values. |
| `check_run` | `repository.name` | `string` | The repository name (without the owner). |
| `check_run` | `repository.owner` | `string` | The repository owner's login. |
| `check_run` | `repository.full_name` | `string` | The repository as "owner/name". |
| `check_run` | `repository.default_branch` | `string` | The repository's default branch name. |
| `check_run` | `check_run.id` | `integer` | The check run id (on GitHub Actions, the job id). |
| `check_run` | `check_run.name` | `string` | The check's name, as the checks tab shows it. |
| `check_run` | `check_run.status` | `string` | GitHub's status for the run (queued \| in_progress \| completed, and the Actions states). |
| `check_run` | `check_run.conclusion` | `string` | GitHub's conclusion for the run (empty string before it completes). |
| `check_run` | `check_run.url` | `string` | The check's page on GitHub. |
| `check_run` | `check_run.details_url` | `string` | The reporting app's page for the run (empty string when it has none). |
| `check_run` | `check_run.app` | `string` | The app that reported the check (e.g. "GitHub Actions"; empty string when unknown). |
| `check_run` | `check_run.started_at` | `string` | When the run started, ISO 8601 (empty string when unknown). |
| `check_run` | `check_run.completed_at` | `string` | When the run completed, ISO 8601 (empty string when unknown). |
| `check_run` | `check_run.output.title` | `string` | The output title the app wrote on the run (empty string when none). |
| `check_run` | `check_run.output.summary` | `string` | The output summary, markdown (empty string when none). |
| `check_run` | `check_run.output.text` | `string` | The output text, markdown (empty string when none). |
| `check_run` | `workflow_run_id` | `string` | The GitHub Actions workflow run id (empty string for a check another app reported). |
| `check_run` | `workflow_job_id` | `string` | The GitHub Actions job id (empty string for a check another app reported). |
| `check_run` | `head_sha` | `string` | The commit CI ran on. |
| `check_run` | `branch` | `string` | The branch CI ran on (empty string when GitHub could not map the commit to one). |
| `check_run` | `author` | `string` | The login of the commit's author (empty string when unknown). |
| `check_run` | `pull_request.number` | `integer` | The pull request the commit belongs to (0 when none). |
| `check_run` | `pull_request.title` | `string` | The pull request title (empty string when none). |
| `check_run` | `pull_request.url` | `string` | The pull request's web URL (empty string when none). |
| `check_run` | `pull_request.author` | `string` | The pull request author's login (empty string when none). |
| `check_run` | `pull_request.base_branch` | `string` | The branch the pull request targets (empty string when none). |
| `check_run` | `pull_request.head_branch` | `string` | The branch the pull request is from (empty string when none). |
| `check_run` | `pull_request.draft` | `boolean` | Whether the pull request is a draft (false when none). |
| `check_run` | `annotations` | `array[object{path,start_line,end_line,level,title,message}]` | The run's file annotations (the first 50), as the reporting app attached them. |
| `check_suite` | `action` | `string` | The state that fired, one of the trigger's `on` values. |
| `check_suite` | `repository.name` | `string` | The repository name (without the owner). |
| `check_suite` | `repository.owner` | `string` | The repository owner's login. |
| `check_suite` | `repository.full_name` | `string` | The repository as "owner/name". |
| `check_suite` | `repository.default_branch` | `string` | The repository's default branch name. |
| `check_suite` | `check_suite.id` | `integer` | The check suite id. |
| `check_suite` | `check_suite.app` | `string` | The app that reported the suite (e.g. "GitHub Actions"; empty string when unknown). |
| `check_suite` | `check_suite.app_slug` | `string` | The reporting app's slug (e.g. "github-actions"; empty string when unknown). |
| `check_suite` | `check_suite.conclusion` | `string` | GitHub's conclusion for the suite. |
| `check_suite` | `check_suite.check_runs_count` | `integer` | How many check runs the suite holds. |
| `check_suite` | `head_sha` | `string` | The commit CI ran on. |
| `check_suite` | `branch` | `string` | The branch CI ran on (empty string when GitHub could not map the commit to one). |
| `check_suite` | `author` | `string` | The login of the commit's author (empty string when unknown). |
| `check_suite` | `pull_request.number` | `integer` | The pull request the commit belongs to (0 when none). |
| `check_suite` | `pull_request.title` | `string` | The pull request title (empty string when none). |
| `check_suite` | `pull_request.url` | `string` | The pull request's web URL (empty string when none). |
| `check_suite` | `pull_request.author` | `string` | The pull request author's login (empty string when none). |
| `check_suite` | `pull_request.base_branch` | `string` | The branch the pull request targets (empty string when none). |
| `check_suite` | `pull_request.head_branch` | `string` | The branch the pull request is from (empty string when none). |
| `check_suite` | `pull_request.draft` | `boolean` | Whether the pull request is a draft (false when none). |
| `issue` | `action` | `string` | The issue event that fired (opened \| closed \| commented). |
| `issue` | `repository.name` | `string` | The repository name (without the owner). |
| `issue` | `repository.owner` | `string` | The repository owner's login. |
| `issue` | `repository.full_name` | `string` | The repository as "owner/name". |
| `issue` | `repository.default_branch` | `string` | The repository's default branch name. |
| `issue` | `issue.number` | `integer` | The issue number. |
| `issue` | `issue.title` | `string` | The issue title. |
| `issue` | `issue.body` | `string` | The issue body (empty string when the issue has none). |
| `issue` | `issue.author` | `string` | The issue author's login. |
| `issue` | `issue.url` | `string` | The issue's web URL. |
| `issue` | `issue.state` | `string` | The issue state (open \| closed). |
| `issue` | `issue.labels` | `array[string]` | The issue's label names. |
| `issue` | `comments` | `array[object{author,body,url}]` | The issue's comments, oldest first. |
| `linear_issue` | `action` | `string` | The Linear issue event that fired (opened \| updated). |
| `linear_issue` | `issue.id` | `string` | The Linear issue's UUID. |
| `linear_issue` | `issue.identifier` | `string` | The human identifier (e.g. "ENG-123"). |
| `linear_issue` | `issue.title` | `string` | The issue title. |
| `linear_issue` | `issue.description` | `string` | The issue description (empty string when it has none). |
| `linear_issue` | `issue.url` | `string` | The issue's web URL. |
| `linear_issue` | `issue.team` | `string` | The owning team's name. |
| `linear_issue` | `issue.state` | `string` | The issue's workflow state. |
| `linear_issue` | `issue.creator` | `string` | The issue creator's name (empty string when unknown). |
| `linear_issue` | `comments` | `array[object{author,body}]` | The issue's comments, oldest first. |
| `linear_issue` | `changes` | `array[object{field,before,after,added,removed}]` | For updated, each watched field that changed: its name, the value before and after (empty strings for labels), and the labels added and removed. |
| `pull_request` | `action` | `string` | The pull request event that fired (opened \| pushed \| merged \| closed \| review_submitted \| commented). |
| `pull_request` | `repository.name` | `string` | The repository name (without the owner). |
| `pull_request` | `repository.owner` | `string` | The repository owner's login. |
| `pull_request` | `repository.full_name` | `string` | The repository as "owner/name". |
| `pull_request` | `repository.default_branch` | `string` | The repository's default branch name. |
| `pull_request` | `pull_request.number` | `integer` | The pull request number. |
| `pull_request` | `pull_request.title` | `string` | The pull request title. |
| `pull_request` | `pull_request.body` | `string` | The pull request body (empty string when it has none). |
| `pull_request` | `pull_request.author` | `string` | The pull request author's login. |
| `pull_request` | `pull_request.url` | `string` | The pull request's web URL. |
| `pull_request` | `pull_request.state` | `string` | The pull request state (open \| closed). |
| `pull_request` | `pull_request.draft` | `boolean` | Whether the pull request is a draft. |
| `pull_request` | `pull_request.base_branch` | `string` | The branch the pull request targets. |
| `pull_request` | `pull_request.head_branch` | `string` | The branch the pull request is from. |
| `pull_request` | `pull_request.base_sha` | `string` | The base commit SHA. |
| `pull_request` | `pull_request.head_sha` | `string` | The head commit SHA (the event-time head). |
| `pull_request` | `pull_request.labels` | `array[string]` | The pull request's label names. |
| `pull_request` | `commits` | `array[object{sha,message,author}]` | The pull request's commits, oldest first. |
| `push` | `repository.name` | `string` | The repository name (without the owner). |
| `push` | `repository.owner` | `string` | The repository owner's login. |
| `push` | `repository.full_name` | `string` | The repository as "owner/name". |
| `push` | `repository.default_branch` | `string` | The repository's default branch name. |
| `push` | `branch` | `string` | The pushed branch name. |
| `push` | `before` | `string` | The branch head SHA before the push. |
| `push` | `after` | `string` | The branch head SHA after the push. |
| `push` | `forced` | `boolean` | Whether the push was a force push. |
| `push` | `pusher.login` | `string` | The pusher's login. |
| `push` | `commits` | `array[object{sha,message,author}]` | The pushed commits (GitHub caps the payload at 20). |
| `release` | `action` | `string` | The release event that fired (published). |
| `release` | `repository.name` | `string` | The repository name (without the owner). |
| `release` | `repository.owner` | `string` | The repository owner's login. |
| `release` | `repository.full_name` | `string` | The repository as "owner/name". |
| `release` | `repository.default_branch` | `string` | The repository's default branch name. |
| `release` | `release.id` | `integer` | The release id. |
| `release` | `release.tag` | `string` | The release's tag name. |
| `release` | `release.name` | `string` | The release's name (empty string when it has none). |
| `release` | `release.body` | `string` | The release notes, markdown (empty string when none). |
| `release` | `release.prerelease` | `boolean` | Whether the release is marked as a prerelease. |
| `release` | `release.target` | `string` | The branch name or commit SHA the release was cut from. |
| `release` | `release.url` | `string` | The release's page on GitHub. |
| `release` | `release.author` | `string` | The login of the account that published the release. |
| `release` | `release.published_at` | `string` | When the release was published, ISO 8601 (empty string when unknown). |
| `sentry` | `action` | `string` | The Sentry alert kind (issue_alert \| metric_alert). |
| `sentry` | `organization_slug` | `string` | The Sentry organization slug. |
| `sentry` | `project_slug` | `string` | The Sentry project slug (empty string when unknown). |
| `sentry` | `issue.id` | `string` | The Sentry issue id (issue alerts; empty otherwise). |
| `sentry` | `issue.url` | `string` | The issue's web URL. |
| `sentry` | `issue.title` | `string` | The issue title. |
| `sentry` | `issue.culprit` | `string` | The code location Sentry blames. |
| `sentry` | `issue.level` | `string` | The issue level (e.g. error). |
| `sentry` | `issue.environment` | `string` | The environment the event fired in. |
| `sentry` | `issue.release` | `string` | The release the event is on. |
| `sentry` | `stack_trace` | `string` | The triggering event's rendered stack trace, newest frame last. |
| `sentry` | `alert_rule.id` | `string` | The firing alert rule's id (metric alerts; empty otherwise). |
| `sentry` | `alert_rule.name` | `string` | The firing alert rule's name. |
| `sentry` | `metric_alert.title` | `string` | The metric alert's title (metric alerts; empty otherwise). |
| `sentry` | `metric_alert.status` | `string` | The metric alert's status (metric alerts; empty otherwise). |
| `slack_channel` | `team_id` | `string` | The Slack workspace (team) id. |
| `slack_channel` | `channel.id` | `string` | The created channel's id. |
| `slack_channel` | `channel.name` | `string` | The created channel's name. |
| `slack_channel` | `channel.purpose` | `string` | The channel's purpose (empty string when unset). |
| `slack_channel` | `channel.creator` | `string` | The Slack user id of whoever created the channel. |
| `status` | `action` | `string` | The state that fired, one of the trigger's `on` values. |
| `status` | `repository.name` | `string` | The repository name (without the owner). |
| `status` | `repository.owner` | `string` | The repository owner's login. |
| `status` | `repository.full_name` | `string` | The repository as "owner/name". |
| `status` | `repository.default_branch` | `string` | The repository's default branch name. |
| `status` | `status.id` | `integer` | The commit status id. |
| `status` | `status.context` | `string` | The status's context, its name on the pull request. |
| `status` | `status.state` | `string` | GitHub's state for the status (pending \| success \| failure \| error). |
| `status` | `status.description` | `string` | The description the app wrote (empty string when none). |
| `status` | `status.target_url` | `string` | The app's page for the status (empty string when none). |
| `status` | `branches` | `array[string]` | The branches whose head is the commit, as GitHub lists them (up to 10). |
| `status` | `head_sha` | `string` | The commit CI ran on. |
| `status` | `branch` | `string` | The branch CI ran on (empty string when GitHub could not map the commit to one). |
| `status` | `author` | `string` | The login of the commit's author (empty string when unknown). |
| `status` | `pull_request.number` | `integer` | The pull request the commit belongs to (0 when none). |
| `status` | `pull_request.title` | `string` | The pull request title (empty string when none). |
| `status` | `pull_request.url` | `string` | The pull request's web URL (empty string when none). |
| `status` | `pull_request.author` | `string` | The pull request author's login (empty string when none). |
| `status` | `pull_request.base_branch` | `string` | The branch the pull request targets (empty string when none). |
| `status` | `pull_request.head_branch` | `string` | The branch the pull request is from (empty string when none). |
| `status` | `pull_request.draft` | `boolean` | Whether the pull request is a draft (false when none). |
| `workflow_run` | `action` | `string` | The state that fired, one of the trigger's `on` values. |
| `workflow_run` | `repository.name` | `string` | The repository name (without the owner). |
| `workflow_run` | `repository.owner` | `string` | The repository owner's login. |
| `workflow_run` | `repository.full_name` | `string` | The repository as "owner/name". |
| `workflow_run` | `repository.default_branch` | `string` | The repository's default branch name. |
| `workflow_run` | `workflow_run.id` | `integer` | The workflow run id. |
| `workflow_run` | `workflow_run.name` | `string` | The workflow's name. |
| `workflow_run` | `workflow_run.title` | `string` | The run's title on the Actions tab (empty string when none). |
| `workflow_run` | `workflow_run.path` | `string` | The workflow file (e.g. .github/workflows/ci.yml; empty string when unknown). |
| `workflow_run` | `workflow_run.event` | `string` | What started the run (e.g. push, pull_request, schedule). |
| `workflow_run` | `workflow_run.status` | `string` | GitHub's status for the run (requested \| queued \| in_progress \| waiting \| pending \| completed). |
| `workflow_run` | `workflow_run.conclusion` | `string` | GitHub's conclusion for the run (empty string before it completes). |
| `workflow_run` | `workflow_run.run_number` | `integer` | The run's number for this workflow. |
| `workflow_run` | `workflow_run.run_attempt` | `integer` | The attempt, 1 for the first run and higher for re-runs. |
| `workflow_run` | `workflow_run.url` | `string` | The run's page on GitHub. |
| `workflow_run` | `workflow_run.started_at` | `string` | When the run started, ISO 8601 (empty string when unknown). |
| `workflow_run` | `head_sha` | `string` | The commit CI ran on. |
| `workflow_run` | `branch` | `string` | The branch CI ran on (empty string when GitHub could not map the commit to one). |
| `workflow_run` | `author` | `string` | The login of the commit's author (empty string when unknown). |
| `workflow_run` | `pull_request.number` | `integer` | The pull request the commit belongs to (0 when none). |
| `workflow_run` | `pull_request.title` | `string` | The pull request title (empty string when none). |
| `workflow_run` | `pull_request.url` | `string` | The pull request's web URL (empty string when none). |
| `workflow_run` | `pull_request.author` | `string` | The pull request author's login (empty string when none). |
| `workflow_run` | `pull_request.base_branch` | `string` | The branch the pull request targets (empty string when none). |
| `workflow_run` | `pull_request.head_branch` | `string` | The branch the pull request is from (empty string when none). |
| `workflow_run` | `pull_request.draft` | `boolean` | Whether the pull request is a draft (false when none). |

See [Models](/docs/models), the [Environment schema reference](/docs/environments/schema), and [Permissions](/docs/permissions).
