Skip to main content
PUT
/
agent-graphs
/
update-edge
/
{edgeId}
Update Edge in Graph
curl --request PUT \
  --url https://api.beamlearning.io/agent-graphs/update-edge/{edgeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'current-workspace-id: <current-workspace-id>' \
  --data '
{
  "isAttachmentDataPulledIn": true,
  "condition": "<string>"
}
'
{
  "sourceAgentGraphNodeId": "<string>",
  "targetAgentGraphNodeId": "<string>",
  "isAttachmentDataPulledIn": true,
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "condition": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

current-workspace-id
string
required

Path Parameters

edgeId
string
required

Body

application/json
isAttachmentDataPulledIn
boolean
required
condition
string

Response

200 - application/json

Edge updated successfully

sourceAgentGraphNodeId
string
required
targetAgentGraphNodeId
string
required
isAttachmentDataPulledIn
boolean
required
id
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
condition
string