The workspace’s text triggers whose project the caller may read; with projectId, that project’s only (which needs read on it). Removed text triggers only with ?includeUnregistered=true, each with unregisteredAt, and ?status= matches the status a removed one had.
Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.
status
Lifecycle status. Only active triggers fire. Tombstoned rows are excluded from every read path.
string
Allowed values: activepaused
Filter to triggers at a specific status. Values: active | paused.
includeUnregistered
boolean
With true, a removed trigger too, carrying unregisteredAt. Default: false (triggers that are still there).
A text trigger: each text (SMS or WhatsApp) to its business number starts a run of its agent or flow, with the text as the run’s input, as its owner. A flow’s input is { text, thread }: text is { from, channel, body, receivedAt } (channelsms or whatsapp), and thread is { connectionId, channel, sender }. In such a run, every call that changes something, except handing the conversation to a person (kindgi_hand_to_person), waits for a person’s yes unless the trigger lists it (toolsAllowedUnattended); a text that isn’t a reply always waits.
object
triggerId
required
string
flowId
Run a flow (with flowVersion).
string
>= 1 characters
flowVersion
string
>= 1 characters
agentId
Run an agent (instead of a flow): at agentVersion, else its pinned version.
string
>= 1 characters
agentVersion
string
>= 1 characters
projectId
required
The trigger’s project: its runs are this project’s.
stringformat: uuid
owner
required
Who its runs act as, with their connections. A service account owns a shared trigger: one named with runAsServiceAccountId, or the project’s own (runAsProject, isProjectAccount). Registered without either, the caller owns it. No edit moves it; only a take-over (POST /v1/text-triggers/{triggerId}/owner) does.
object
kind
required
string
Allowed values: userservice
id
required
string
displayName
The owner’s name at the time of the response: the person’s display name, or the service account’s name. Absent when it can’t be read (no directory, a removed account) and from a runtime before Kindgi 0.1.6: show the id then.
string
isProjectAccount
Set when the owner is the trigger’s project’s own service account (runAsProject): the trigger is shared, and runs as the project. Show it as “This project”. Absent otherwise.
boolean
connectionId
required
The connection the texts come in on: one of the project’s company connections of app texts (GET /v1/connection-choices/candidates), one per business number. A person’s own connection is 400 bad-input, and any other 404 connection-not-found. One live text trigger answers a connection: another on it is 409 trigger-connection-taken, which names that trigger (details.heldBy).
stringformat: uuid
runsPerHour
required
The most runs its texts start in an hour (default 60). Past it, a text’s fire is refused (detail starts over-limit:), and that text doesn’t run later.
integer
>= 1<= 600
perSenderPerHour
required
The most runs one sender’s texts start in an hour (default 10). Past it, a text’s fire is refused (detail starts over-limit:), and that text doesn’t run later.
integer
>= 1<= 60
label
required
string | null
status
required
Lifecycle status. Only active triggers fire. Tombstoned rows are excluded from every read path.
string
Allowed values: activepaused
statusReason
Why it isn’t answering as it should: connection-missing (its connection is gone or lapsed; it answers again once it’s back), owner-refused (its owner was removed or may no longer run the target; its texts are refused until that changes or an admin takes it over), or why the runtime paused it.
string
version
The trigger’s newest version (GET /v1/text-triggers/{triggerId}/versions): one more for each change to what it runs, as whom, or on which number at what pace. Absent until its first version.
integer
>= 1
toolsAllowedUnattended
The tools whose calls in this trigger’s runs don’t wait for a person’s yes, though a run a text started asks for one for every call that changes something, except handing the conversation to a person (kindgi_hand_to_person). Never kindgi_send_text. Absent: none. Each tool by its id, with no wildcard or pattern, and only tools this trigger’s flow or agent calls. It lifts only that wait: the workspace’s approval rules, the agent’s own rules, the permission check (as the trigger’s owner) and the tool’s own limits all still apply.
Array<string>
<= 100 itemsunique items
lastFiredAt
required
string | nullformat: date-time
createdAt
required
stringformat: date-time
updatedAt
required
stringformat: date-time
unregisteredAt
When the text trigger was removed: only on a removed one, which a read answers when it asks (?includeUnregistered=true). status is the one it had then.
rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.