---
title: "The routine's chat trigger [read]"
method: GET
path: "/routines/{id}/channel-trigger"
---

# The routine's chat trigger \[read\]

`GET /routines/{id}/channel-trigger`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/routines/{id}/channel-trigger`
- Auth: HTTP bearer

`channel_trigger` is null when there is none. `available` says whether messages of this workspace's connected chats are offered to routines in this deployment; where it is false a trigger can be stored and will never match.

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `channel_trigger` object, nullable, required
    - `routine_id` string, required
    - `connection_id` string, required
    - `thread_id` string, nullable, required: The one conversation whose messages start a run; null for every conversation on the connection
    - `text_prefix` string, nullable, required: What a message has to start with to start a run; null for every message
    - `created_at` string, required
    - `last_matched_at` string, nullable, required
  - `available` boolean, required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/routines/:id/channel-trigger/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
