Introducing Confident Monitor

Delete Journey Edge

(v2)

DELETE

Permanently deletes an edge, along with every state that could only be reached through it, and returns the ids of the states removed. Goldens generated for a path through the edge or those states are kept but no longer belong to any path.

DELETE/v2/journeys/{journeyId}/edges/{edgeId}
curl -X DELETE "https://api.confident-ai.com/v2/journeys/{journeyId}/edges/{edgeId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<JOURNEY-EDGE-ID>",
    "deletedStateIds": []
  },
  "link": "https://app.confident-ai.com/project/<PROJECT-ID>/journeys/<JOURNEY-ID>",
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • journeyIdstringRequired

    The id of the journey the edge belongs to.

  • edgeIdstringRequired

    The id of the edge.

Response

Delete Journey Edge succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    The states removed by deleting an edge from a journey.

    Show 2 propertiesHide 2 properties
    • idstring

      The id of the edge you deleted.

    • deletedStateIdslist of strings

      The states that could only be reached through this edge, removed with it. [] when every state is still reachable.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI