Skip to main content
POST
Record Agent Resolution
Use this API to record an external resolution for a blocking agent step. The agent step parks in waiting after dispatch; resolutions arriving through this endpoint advance the aggregator according to its resolutionPolicy (allResolved or minResolved).
Blocking agent nodes are not available in beta. blocking: true requires a sibling resolutionPolicy to pass schema validation, and the pair is then rejected at run time with agent-blocking-not-supported, so no step ever parks for this endpoint. To put a person in front of an agent’s findings today, place a human node downstream of the agent and use Record Reviewer Decision.

Endpoint

POST https://api.velt.dev/v2/workflow/steps/recordAgentResolution

Headers

string
required
Your API key.
string
required

Body

Params

object
required

Example Requests

Record a resolution

Response

Success Response

Failure Response

Errors: FAILED_PRECONDITION (the step is not an agent node, or its status is not waiting) / INVALID_ARGUMENT / NOT_FOUND.