Skip to main content
POST
/
workflows
/
v1
/
workflow-runs
/
{workflow_run_id}
/
comments
Add Comment To Workflow Run
curl --request POST \
  --url https://api-qa.interactly.ai/workflows/v1/workflow-runs/{workflow_run_id}/comments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "logical_id": "<string>",
  "content": "<string>",
  "createdBy": "5eb7cf5a86d9755df3a6c593",
  "updatedBy": "5eb7cf5a86d9755df3a6c593",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}
'
{
  "workflow_run": {
    "team_id": "<string>",
    "created_by": "<string>",
    "updated_by": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "_id": "5eb7cf5a86d9755df3a6c593",
    "workflow_run": {
      "logical_id": "<string>",
      "workflow_id": "<string>",
      "status": "not_started",
      "input_output_pairs": [
        {
          "run_input": {
            "dynamic_variables": {},
            "runtime_variables": {},
            "miscellaneous": {},
            "command": "start",
            "workflow_id": "<string>",
            "workflow_run_id": "<string>",
            "thread_to_node_inputs": {}
          },
          "run_output": {
            "events": [
              "<unknown>"
            ],
            "thread_to_node_outputs": {}
          }
        }
      ],
      "comments": [
        {
          "logical_id": "<string>",
          "content": "<string>",
          "createdBy": "5eb7cf5a86d9755df3a6c593",
          "updatedBy": "5eb7cf5a86d9755df3a6c593",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Path Parameters

workflow_run_id
string
required
Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
logical_id
string | null

Unique identifier for the comment

content
string | null

Content of the comment

createdBy
string | null

ID of the user who created this edge

Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

updatedBy
string | null

ID of the user who last updated this edge

Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

createdAt
string<date-time>
updatedAt
string<date-time>

Response

Successful Response

Response model for a single workflow run. Contains a WorkflowRunsModel object.

workflow_run
WorkflowRunsModel · object
required

Single workflow run object