API

Signal

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/signals/{id}/ack create The acked signal
POST /api/v1/organizations/{organization_id}/signals/ack create The number of signals newly acked
POST /api/v1/signals create Success
GET /api/v1/organizations/{organization_id}/signals list A page of signals, ordered by the id cursor
GET /api/v1/organizations/{organization_id}/signals/{id} load The signal, with its additive resource envelopes
GET /api/v1/organizations/{organization_id}/signals/{id}/agent_prompt load The agent prompt text

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

signals, err := client.Signal(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(signals)
signal, err := client.Signal(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(signal)
created, err := client.Signal(nil).Create(map[string]any{}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local signals, err = client:Signal():list({ organization_id = "example" })
local signal, err = client:Signal():load({ id = "example_id", organization_id = "example" })
local created, err = client:Signal():create({  })

PHP

Construct client as shown in the PHP setup, then call the operations:

$signals = $client->Signal()->list(["organization_id" => "example"]);
$signal = $client->Signal()->load(["id" => "example_id", "organization_id" => "example"]);
$created = $client->Signal()->create([]);

Python

Construct client as shown in the Python setup, then call the operations:

signals = client.Signal().list({"organization_id": "example"})
signal = client.Signal().load({"id": "example_id", "organization_id": "example"})
created = client.Signal().create({  })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

signals = client.Signal.list({ "organization_id" => "example" })
signal = client.Signal.load({ "id" => "example_id", "organization_id" => "example" })
created = client.Signal.create({  })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const signals = await client.Signal().list({ organization_id: "example" })
const signal = await client.Signal().load({ id: "example_id", organization_id: "example" })
const created = await client.Signal().create({  })

Fields

Field Type Required Description
acked_at one,string,null Yes Acked At
acked_by one,object,null No Who acked the signal, read from acked_by_user_id.
agent_runs object No Dispatched-run summary (docs §6c).
app_service_id one,string,null Yes App Service Id
attribution object Yes The producer-stamped attribution (docs §3) lifted out of payload into a typed sibling (docs §6d), so consumers get the ids and names they need, for example
created_at string Yes ISO8601 row insert time, retention math and debugging only.
dedupe_key one,string,null Yes Dedupe Key
hosted_app_id one,string,null Yes Hosted App Id
id string Yes The signal's own sig_… public id, also the paging cursor value.
kind string Yes A frozen taxonomy kind (§1) or an app.custom.* kind.
links object Yes Canonical, relative API paths built from real routes (docs §6a).
occurred_at string Yes ISO8601 domain event time, what the UI displays and since filters on.
organization_id string Yes Organization Id
payload object Yes Per-kind shape (docs §4), with the producer's region/app/ service attribution keys baked in when known.
recovery object No Recovered/resolved state folded from the resolution pairing (docs §6b/§6d).
resolution object No Recovery pairing (docs §6b).
severity string Yes Severity levels (docs §2, reusing AlertRule::SEVERITIES).
source object Yes Provenance envelope (docs §6e), a sibling of the frozen payload.
subject_id one,string,null Yes Subject Id
subject_type one,string,null Yes Polymorphic pointer: AppDeployment, RuntimeInstance, AlertEvent, HostedApp, or SignalSubscription.
summary string Yes One-line, kind-composed human sentence for the feed row (docs §6d, for example

create

POST /api/v1/organizations/{organization_id}/signals/{id}/ack

Operation ID: ack_api_v1_organization_signal.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

The request body is object.

Responses

200: The acked signal

application/json

Property Type Required Description
signal object Yes One ops signal, as serialized by OpsSignalResource (frozen envelope, docs §3). Every id is a prefixed public id, never a raw bigint.
signal.acked_at string Yes
signal.acked_by object No Who acked the signal, read from acked_by_user_id. Always present so it reads as a pair with acked_at: null while unacked, and null for an ack recorded without a user (a bulk ack from a token-authed caller).
signal.acked_by.email string Yes
signal.acked_by.id string Yes
signal.acked_by.name string Yes
signal.acked_by.picture_url string Yes
signal.agent_runs object No Dispatched-run summary (docs §6c). Present only once a signal has at least one SignalAgentRun, of either origin.
signal.agent_runs.count integer Yes
signal.agent_runs.latest_status enum: dispatched, running, succeeded, failed, canceled Yes
signal.agent_runs.solution_change object or null No
signal.app_service_id string Yes
signal.attribution object Yes The producer-stamped attribution (docs §3) lifted out of payload into a typed sibling (docs §6d), so consumers get the ids and names they need, for example vex-web building its own UI routes, without reading the per-kind JSON. Always present; each key is null when the producer did not know it.
signal.attribution.app object or null Yes
signal.attribution.region string Yes
signal.attribution.service object or null Yes
signal.created_at string Yes ISO8601 row insert time, retention math and debugging only.
signal.dedupe_key string Yes
signal.hosted_app_id string Yes
signal.id string Yes The signal's own sig_… public id, also the paging cursor value.
signal.kind string Yes A frozen taxonomy kind (§1) or an app.custom.* kind.
signal.links object Yes Canonical, relative API paths built from real routes (docs §6a). Sits alongside, never inside, the frozen payload. A key is present only when it resolves from the columns the signal carries; self always is. These are REST resource paths, not UI routes.
signal.links.app string No
signal.links.external string No The provider deep link for an integration-sourced signal, the one absolute URL in this envelope, present only when the payload carries an http(s) external_url (docs §6e).
signal.links.self string Yes
signal.links.service string No
signal.links.subject string No
signal.occurred_at string Yes ISO8601 domain event time, what the UI displays and since filters on.
signal.organization_id string Yes
signal.payload object Yes Per-kind shape (docs §4), with the producer's region/app/ service attribution keys baked in when known. Frozen contract, deliberately not narrowed per kind here.
signal.recovery object No Recovered/resolved state folded from the resolution pairing (docs §6b/§6d). Present only when the pairing is satisfied, recovered for a runtime.health signal whose instance came back to running, resolved for an alert.fired whose event cleared. Absent otherwise.
signal.recovery.resolved_at string Yes
signal.recovery.state enum: recovered, resolved Yes
signal.resolution object No Recovery pairing (docs §6b). Present only on signals with a pairing shape, runtime.health degraded/failed and alert.fired. An applicable-but-unrecovered signal renders just { "resolved": false }; every other kind omits the key entirely.
signal.resolution.resolved boolean Yes
signal.resolution.resolved_at string No
signal.resolution.resolved_by_signal string No Public id (sig_…) of the signal that cleared the condition.
signal.severity enum: info, warning, error, critical Yes Severity levels (docs §2, reusing AlertRule::SEVERITIES).
signal.source object Yes Provenance envelope (docs §6e), a sibling of the frozen payload. ALWAYS present, so a reader never branches on key presence: a Vex-produced signal renders provider: "vex" with null siblings.
signal.source.external_id string Yes The provider's own id for the thing the signal is about (a Sentry issue id).
signal.source.external_url string Yes Deep link to read the full event at the provider, Vex stores only a bounded reduction of it. Mirrored as links.external.
signal.source.integration_id string Yes The sint_… public id of the signal integration that ingested this signal. Null for native Vex and Slack sources; Slack uses its same-organization SlackInstallation subject.
signal.source.provider enum: vex, sentry, planetscale, slack Yes Who produced the signal (docs §6e). vex is every signal the platform emits itself. Slack is the native Composal app; the others are signal-integration adapters.
signal.subject_id string Yes
signal.subject_type string Yes Polymorphic pointer: AppDeployment, RuntimeInstance, AlertEvent, HostedApp, or SignalSubscription.
signal.summary string Yes One-line, kind-composed human sentence for the feed row (docs §6d, for example deploying → failed, 47× fp_9c1e77a4b2d0f331), server-authored so consumers never re-derive it from payload.
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/organizations/{organization_id}/signals/ack

Operation ID: ack_api_v1_organization_signals.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

Property Type Required Description
all boolean No Opt in to an otherwise-unconstrained ack of every unacked signal.
before_id string No Inclusive upper bound (sig_…), ack matching signals at or before it.
hosted_app_id string No
ids array of string No Explicit sig_… ids. When present every other key is ignored.
integration_id string No One signal integration, raw id, or sint_… once that model ships.
kind string No Single kind or comma-separated list.
min_severity enum: info, warning, error, critical No Severity levels (docs §2, reusing AlertRule::SEVERITIES).
recovered_only boolean No Narrow to signals whose resolution.resolved is true. Composes with every other filter and alone satisfies the "explicitly scoped" guard.
severity string No Single severity or comma-separated list.
since string No
source string No Single source provider or comma-separated list (docs §6e). Alone it satisfies the "explicitly scoped" guard.

Responses

200: The number of signals newly acked

application/json

Property Type Required Description
acked_count integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: The request was neither ids nor explicitly scoped, or a supplied cursor or filter is invalid

application/json

Property Type Required Description
error string Yes
502: Bad gateway

POST /api/v1/signals

Operation ID: post_api_v1_signals.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

list

GET /api/v1/organizations/{organization_id}/signals

Operation ID: api_v1_organization_signals.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
after_id query string No Exclusive cursor (sig_…). Ascending: return signals newer than it. Descending: alias for before_id.
before_id query string No Exclusive cursor (sig_…) for order=desc , return signals older than it.
order query enum: asc, desc No Scan direction over the id cursor. Defaults to asc (oldest-first).
limit query integer No Signals per page (default 50, capped at 100).
kind query string No Exact kind filter from the frozen taxonomy (§1); a single kind or a comma-separated list.
severity query string No Exact severity filter; a single level or a comma-separated list.
min_severity query enum: info, warning, error, critical No Severity floor, this level and everything more severe (§2).
hosted_app_id query string No Hosted app filter; accepts an app_… public id, a raw id, or the app slug.
since query string No ISO8601 lower bound on occurred_at.
unacked query boolean No When true, return only signals with no acked_at.
source query string No Signal source provider filter (docs §6e), a single provider or a comma-separated list. An unrecognized provider is a 422 rather than an empty page.
integration_id query string No Narrow to one signal integration. Accepts the integration's raw id, and its sint_… public id once the integration model ships.
subscription_id query string No Resume a subscription (sub_…): its stored filters supply the defaults for any filter left blank, and its last_acked_signal_id becomes the default ascending after_id.

Responses

200: A page of signals, ordered by the id cursor

application/json

Property Type Required Description
has_more boolean Yes
next_cursor string Yes The last returned signal's public id when more pages exist, else null. Feed it back as the same boundary param the request used.
signals array of object Yes
signals[].acked_at string Yes
signals[].acked_by object No Who acked the signal, read from acked_by_user_id. Always present so it reads as a pair with acked_at: null while unacked, and null for an ack recorded without a user (a bulk ack from a token-authed caller).
signals[].acked_by.email string Yes
signals[].acked_by.id string Yes
signals[].acked_by.name string Yes
signals[].acked_by.picture_url string Yes
signals[].agent_runs object No Dispatched-run summary (docs §6c). Present only once a signal has at least one SignalAgentRun, of either origin.
signals[].agent_runs.count integer Yes
signals[].agent_runs.latest_status enum: dispatched, running, succeeded, failed, canceled Yes
signals[].agent_runs.solution_change object or null No
signals[].app_service_id string Yes
signals[].attribution object Yes The producer-stamped attribution (docs §3) lifted out of payload into a typed sibling (docs §6d), so consumers get the ids and names they need, for example vex-web building its own UI routes, without reading the per-kind JSON. Always present; each key is null when the producer did not know it.
signals[].attribution.app object or null Yes
signals[].attribution.region string Yes
signals[].attribution.service object or null Yes
signals[].created_at string Yes ISO8601 row insert time, retention math and debugging only.
signals[].dedupe_key string Yes
signals[].hosted_app_id string Yes
signals[].id string Yes The signal's own sig_… public id, also the paging cursor value.
signals[].kind string Yes A frozen taxonomy kind (§1) or an app.custom.* kind.
signals[].links object Yes Canonical, relative API paths built from real routes (docs §6a). Sits alongside, never inside, the frozen payload. A key is present only when it resolves from the columns the signal carries; self always is. These are REST resource paths, not UI routes.
signals[].links.app string No
signals[].links.external string No The provider deep link for an integration-sourced signal, the one absolute URL in this envelope, present only when the payload carries an http(s) external_url (docs §6e).
signals[].links.self string Yes
signals[].links.service string No
signals[].links.subject string No
signals[].occurred_at string Yes ISO8601 domain event time, what the UI displays and since filters on.
signals[].organization_id string Yes
signals[].payload object Yes Per-kind shape (docs §4), with the producer's region/app/ service attribution keys baked in when known. Frozen contract, deliberately not narrowed per kind here.
signals[].recovery object No Recovered/resolved state folded from the resolution pairing (docs §6b/§6d). Present only when the pairing is satisfied, recovered for a runtime.health signal whose instance came back to running, resolved for an alert.fired whose event cleared. Absent otherwise.
signals[].recovery.resolved_at string Yes
signals[].recovery.state enum: recovered, resolved Yes
signals[].resolution object No Recovery pairing (docs §6b). Present only on signals with a pairing shape, runtime.health degraded/failed and alert.fired. An applicable-but-unrecovered signal renders just { "resolved": false }; every other kind omits the key entirely.
signals[].resolution.resolved boolean Yes
signals[].resolution.resolved_at string No
signals[].resolution.resolved_by_signal string No Public id (sig_…) of the signal that cleared the condition.
signals[].severity enum: info, warning, error, critical Yes Severity levels (docs §2, reusing AlertRule::SEVERITIES).
signals[].source object Yes Provenance envelope (docs §6e), a sibling of the frozen payload. ALWAYS present, so a reader never branches on key presence: a Vex-produced signal renders provider: "vex" with null siblings.
signals[].source.external_id string Yes The provider's own id for the thing the signal is about (a Sentry issue id).
signals[].source.external_url string Yes Deep link to read the full event at the provider, Vex stores only a bounded reduction of it. Mirrored as links.external.
signals[].source.integration_id string Yes The sint_… public id of the signal integration that ingested this signal. Null for native Vex and Slack sources; Slack uses its same-organization SlackInstallation subject.
signals[].source.provider enum: vex, sentry, planetscale, slack Yes Who produced the signal (docs §6e). vex is every signal the platform emits itself. Slack is the native Composal app; the others are signal-integration adapters.
signals[].subject_id string Yes
signals[].subject_type string Yes Polymorphic pointer: AppDeployment, RuntimeInstance, AlertEvent, HostedApp, or SignalSubscription.
signals[].summary string Yes One-line, kind-composed human sentence for the feed row (docs §6d, for example deploying → failed, 47× fp_9c1e77a4b2d0f331), server-authored so consumers never re-derive it from payload.
401: Unauthorized
403: Forbidden
404: Not found
422: A supplied cursor or filter is invalid

application/json

Property Type Required Description
error string Yes
502: Bad gateway

load

GET /api/v1/organizations/{organization_id}/signals/{id}

Operation ID: api_v1_organization_signal.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: The signal, with its additive resource envelopes

application/json

Property Type Required Description
signal object Yes One ops signal, as serialized by OpsSignalResource (frozen envelope, docs §3). Every id is a prefixed public id, never a raw bigint.
signal.acked_at string Yes
signal.acked_by object No Who acked the signal, read from acked_by_user_id. Always present so it reads as a pair with acked_at: null while unacked, and null for an ack recorded without a user (a bulk ack from a token-authed caller).
signal.acked_by.email string Yes
signal.acked_by.id string Yes
signal.acked_by.name string Yes
signal.acked_by.picture_url string Yes
signal.agent_runs object No Dispatched-run summary (docs §6c). Present only once a signal has at least one SignalAgentRun, of either origin.
signal.agent_runs.count integer Yes
signal.agent_runs.latest_status enum: dispatched, running, succeeded, failed, canceled Yes
signal.agent_runs.solution_change object or null No
signal.app_service_id string Yes
signal.attribution object Yes The producer-stamped attribution (docs §3) lifted out of payload into a typed sibling (docs §6d), so consumers get the ids and names they need, for example vex-web building its own UI routes, without reading the per-kind JSON. Always present; each key is null when the producer did not know it.
signal.attribution.app object or null Yes
signal.attribution.region string Yes
signal.attribution.service object or null Yes
signal.created_at string Yes ISO8601 row insert time, retention math and debugging only.
signal.dedupe_key string Yes
signal.hosted_app_id string Yes
signal.id string Yes The signal's own sig_… public id, also the paging cursor value.
signal.kind string Yes A frozen taxonomy kind (§1) or an app.custom.* kind.
signal.links object Yes Canonical, relative API paths built from real routes (docs §6a). Sits alongside, never inside, the frozen payload. A key is present only when it resolves from the columns the signal carries; self always is. These are REST resource paths, not UI routes.
signal.links.app string No
signal.links.external string No The provider deep link for an integration-sourced signal, the one absolute URL in this envelope, present only when the payload carries an http(s) external_url (docs §6e).
signal.links.self string Yes
signal.links.service string No
signal.links.subject string No
signal.occurred_at string Yes ISO8601 domain event time, what the UI displays and since filters on.
signal.organization_id string Yes
signal.payload object Yes Per-kind shape (docs §4), with the producer's region/app/ service attribution keys baked in when known. Frozen contract, deliberately not narrowed per kind here.
signal.recovery object No Recovered/resolved state folded from the resolution pairing (docs §6b/§6d). Present only when the pairing is satisfied, recovered for a runtime.health signal whose instance came back to running, resolved for an alert.fired whose event cleared. Absent otherwise.
signal.recovery.resolved_at string Yes
signal.recovery.state enum: recovered, resolved Yes
signal.resolution object No Recovery pairing (docs §6b). Present only on signals with a pairing shape, runtime.health degraded/failed and alert.fired. An applicable-but-unrecovered signal renders just { "resolved": false }; every other kind omits the key entirely.
signal.resolution.resolved boolean Yes
signal.resolution.resolved_at string No
signal.resolution.resolved_by_signal string No Public id (sig_…) of the signal that cleared the condition.
signal.severity enum: info, warning, error, critical Yes Severity levels (docs §2, reusing AlertRule::SEVERITIES).
signal.source object Yes Provenance envelope (docs §6e), a sibling of the frozen payload. ALWAYS present, so a reader never branches on key presence: a Vex-produced signal renders provider: "vex" with null siblings.
signal.source.external_id string Yes The provider's own id for the thing the signal is about (a Sentry issue id).
signal.source.external_url string Yes Deep link to read the full event at the provider, Vex stores only a bounded reduction of it. Mirrored as links.external.
signal.source.integration_id string Yes The sint_… public id of the signal integration that ingested this signal. Null for native Vex and Slack sources; Slack uses its same-organization SlackInstallation subject.
signal.source.provider enum: vex, sentry, planetscale, slack Yes Who produced the signal (docs §6e). vex is every signal the platform emits itself. Slack is the native Composal app; the others are signal-integration adapters.
signal.subject_id string Yes
signal.subject_type string Yes Polymorphic pointer: AppDeployment, RuntimeInstance, AlertEvent, HostedApp, or SignalSubscription.
signal.summary string Yes One-line, kind-composed human sentence for the feed row (docs §6d, for example deploying → failed, 47× fp_9c1e77a4b2d0f331), server-authored so consumers never re-derive it from payload.
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

GET /api/v1/organizations/{organization_id}/signals/{id}/agent_prompt

Operation ID: agent_prompt_api_v1_organization_signal.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Responses

200: The agent prompt text

application/json

Property Type Required Description
prompt string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway