Test Metronome trigger

POST/v1/metronomes/{metronomeId}/triggers/test

Submit a sample trigger payload, record a matched trigger diagnostic, and start a workflow run.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
metronomeIdpathstringYesMetronome workflow ID
Query parameters
None.

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
triggerTypestringNo
payloadobjectNo
inputobjectNoDeprecated alias for `payload`.
inputsobjectNoDeprecated alias for `payload`.
sourceEventIdstringNo
source_event_idstringNoDeprecated alias for `sourceEventId`.
summarystringNo
definitionobjectNo
definition.executionPolicyobjectNo
definition.executionPolicy.placementlocal_onlyYesRequires on-prem PostgreSQL, filesystem artifacts, local scraping, local deployable Functions and explicit local inference. Unsupported node kinds and external API Functions fail closed. This placement contract does not replace operator-enforced network egress policy.
definition.nodesobject[]No
definition.nodes[].idstringNoUnique identifier.
definition.nodes[].typestringNo
definition.nodes[].positionobjectNo
definition.nodes[].dataobjectNo
definition.nodes[].data.kindtrigger | condition | approval | action | code | imagine | function | firecrawl | table | database | ticket | metronome | inference | loop | end | noteNo
definition.nodes[].data.subtypestringNo
definition.nodes[].data.labelstringNo
definition.nodes[].data.descriptionstringNoHuman-readable description.
definition.nodes[].data.configobjectNoKind-specific node configuration, versioned with the workflow. Thread (action) nodes opt into validated runtime results with outputMode=json_schema and a jsonOutputSchema (object or serialized JSON Schema), or the mutually exclusive jsonOutputSchemaFromInput naming one top-level field in the explicitly selected input. An input schema is validated before execution, removed from business input and retained with its fingerprint in the result receipt. The schema requires an object root, is limited to 64 KiB / 12 levels, and supports type, properties, required, additionalProperties (boolean), items, enum, numeric, string-length and array-length bounds, description and title. Unsupported keywords fail publication. maxValidationRetries is 0–2 (default 2). resultMode is inline (default) or artifact; outputKey defaults to data. Requires a Claw worker advertising json_schema_v1. Validated data comes from a dedicated runtime receipt, never assistant text. Failure retains Thread, usage and validation evidence without publishing partial data. Legacy outputMode=structured/json retains summary-parsing semantics until migrated.
definition.edgesobject[]No
definition.edges[].idstringNoUnique identifier.
definition.edges[].sourcestringNo
definition.edges[].targetstringNo
definition.edges[].sourceHandlestringNo
definition.edges[].targetHandlestringNo
definition.edges[].labelstringNo
definition.executionRecoveryPolicyobjectNo
definition.executionRecoveryPolicy.schemaVersioncomputer_agents_metronome_recovery_policy_v1Yes
definition.executionRecoveryPolicy.enforcementcheckpointedYes
definition.executionRecoveryPolicy.inDoubtDefaultpauseYes
definition.executionRecoveryPolicy.checkpointMaxBytesintegerYes
idempotencyKeystringNo
maxAttemptsintegerNo
timeoutMsintegerNo
attachedProjectIdstringNo
attachedTicketIdstringNo

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201Metronome trigger test startedapplication/json
FieldTypeRequiredDescription
objectstringNo
dataobjectNo
data.runobjectNo
data.run.idstringNoUnique identifier.
data.run.metronomeIdstringNo
data.run.userIdstringNoUser ID.
data.run.organizationIdstringNo
data.run.createdByUserIdstringNo
data.run.triggerTypestringNo
data.run.versionIdstringNo
data.run.snapshotIdstringNoSnapshot ID.
data.run.runKindworkflow | node_test | slice_testNo
data.run.invocationSourcestringNo
data.run.executionSelectionobjectNo
data.run.effectModeexecute | previewNo
data.run.initiatedByUserIdstringNo
data.run.requestFingerprintstringNo
data.run.triggerEventIdstringNo
data.run.idempotencyKeystringNo
data.run.statusqueued | running | waiting_approval | paused | completed | failed | cancelledNoCurrent lifecycle status.
data.run.inputobjectNo
data.run.outputobjectNo
data.run.errorstringNo
data.run.startedAtstringNoISO 8601 timestamp.
data.run.queuedAtstringNo
data.run.nextAttemptAtstringNo
data.run.lockedAtstringNo
data.run.lockedBystringNo
data.run.attemptCountintegerNo
data.run.maxAttemptsintegerNo
data.run.timeoutMsintegerNo
data.run.attachedProjectIdstringNo
data.run.attachedTicketIdstringNo
data.run.completedAtstringNoISO 8601 timestamp.
data.run.createdAtstringNoISO 8601 timestamp.
data.run.updatedAtstringNoISO 8601 timestamp.
data.run.approvalsobject[]No
data.run.approvals[].idstringYesUnique identifier.
data.run.approvals[].runIdstringYes
data.run.approvals[].metronomeIdstringYes
data.run.approvals[].nodeIdstringYes
data.run.approvals[].approverUserIdstringYes
data.run.approvals[].organizationIdstringNo
data.run.approvals[].createdByUserIdstringNo
data.run.approvals[].statuspending | approved | rejected | cancelledYesCurrent lifecycle status.
data.run.approvals[].messagestringYesMessage text.
data.run.approvals[].decisionByUserIdstringNo
data.run.approvals[].decidedAtstringNo
data.run.approvals[].createdAtstringNoISO 8601 timestamp.
data.run.approvals[].updatedAtstringNoISO 8601 timestamp.
data.triggerEventIdstringNo
Test Metronome trigger
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow