Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
ResourceBuilt-in resource

kdeps-resource-api-response

v3.6.0

`apiResponse:` builds the HTTP response that a workflow sends back to the caller. It is the last resource in the chain: the one that [`targetActionId`](https://kdeps.com/reference/glossary#targetactionid) in `workflow.yaml` names.

Usage

Built into kdeps: no install. Add it to a resource under the apiResponse: key.

# resources/my-step.yaml actionId: myStep apiResponse: # options below

Documentation

API response resource

apiResponse: builds the HTTP response that a workflow sends back to the caller. It is the last resource in the chain: the one that targetActionId in workflow.yaml names.

request -> resources (requires: order) -> apiResponse -> HTTP response
# resources/respond.yaml
actionId: respond
flow:
  requires: [answer]                    # runs after the answer resource
apiResponse:
  success: true
  response:
    answer: get('answer').message.content   # the chat's reply text
  headers:
    Content-Type: application/json

Read next

Versions

VersionPublishedStatusSource
3.6.011/27/2026activeGitHub v3.6.0
3.5.111/25/2026activeGitHub v3.5.1
3.5.011/24/2026activeGitHub v3.5.0
3.4.011/23/2026activeGitHub v3.4.0
3.3.011/21/2026activeGitHub v3.3.0

Details

Author
kdeps
License
Apache-2.0
Latest Version
3.6.0
Published
11/21/2026

Tags

kdepsresourceapiResponse