RunReveal

PipelineAddStep adds a step to an existing pipeline and returns the updated pipeline.

PipelineAddStep adds a step to an existing pipeline and returns the updated pipeline.

POST
/pipelines/add-step

Request Body

application/jsonRequired

idstring

stepobject

curl -X POST "https://api.runreveal.com/pipelines/add-step" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "step": {
      "id": "string",
      "precondition": [
        {
          "field": "string",
          "type": "string",
          "value": "string"
        }
      ],
      "rank": 0,
      "settings": [
        0
      ],
      "type": "string"
    }
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineCreate creates a new empty pipeline with the given name.

PipelineCreate creates a new empty pipeline with the given name.

POST
/pipelines/create

Request Body

application/jsonRequired

namestring

curl -X POST "https://api.runreveal.com/pipelines/create" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string"
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineDelete deletes a pipeline by ID, optionally deleting its steps as well.

PipelineDelete deletes a pipeline by ID, optionally deleting its steps as well.

DELETE
/pipelines/delete

Query Parameters

delete_stepsboolean

idstring

curl -X DELETE "https://api.runreveal.com/pipelines/delete?delete_steps=true&id=string"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string"
  },
  "success": true
}

PipelineExecuteStep runs a single pipeline step against the provided event and returns the resulting event, or an empty event if the step filters it out.

PipelineExecuteStep runs a single pipeline step against the provided event and returns the resulting event, or an empty event if the step filters it out.

POST
/pipelines/execute-step

Request Body

application/jsonRequired

eventobject

idstring

step_idstring

curl -X POST "https://api.runreveal.com/pipelines/execute-step" \
  -H "Content-Type: application/json" \
  -d '{
    "event": {
      "id": "string",
      "log": [
        0
      ],
      "normalized": {
        "actor": {
          "email": "string",
          "id": "string",
          "username": "string"
        },
        "dst": {
          "asCountryCode": "string",
          "asNumber": 0,
          "asOrganization": "string",
          "city": "string",
          "connectionType": "string",
          "ip": "string",
          "isp": "string",
          "latitude": 0,
          "longitude": 0,
          "port": 0,
          "userType": "string"
        },
        "enrichments": [
          {
            "data": {
              "property1": "string",
              "property2": "string"
            },
            "name": "string",
            "provider": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "eventName": "string",
        "eventTime": {},
        "id": "string",
        "readOnly": true,
        "resources": [
          [
            0
          ]
        ],
        "service": {
          "name": "string"
        },
        "src": {
          "asCountryCode": "string",
          "asNumber": 0,
          "asOrganization": "string",
          "city": "string",
          "connectionType": "string",
          "ip": "string",
          "isp": "string",
          "latitude": 0,
          "longitude": 0,
          "port": 0,
          "userType": "string"
        },
        "tags": {
          "property1": "string",
          "property2": "string"
        },
        "timestamp": "string"
      },
      "sourceID": "string",
      "sourceName": "string",
      "sourceProvider": "string",
      "sourceTTL": 0,
      "sourceType": "string",
      "workspaceID": "string"
    },
    "id": "string",
    "step_id": "string"
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "log": [
      0
    ],
    "normalized": {
      "actor": {
        "email": "string",
        "id": "string",
        "username": "string"
      },
      "dst": {
        "asCountryCode": "string",
        "asNumber": 0,
        "asOrganization": "string",
        "city": "string",
        "connectionType": "string",
        "ip": "string",
        "isp": "string",
        "latitude": 0,
        "longitude": 0,
        "port": 0,
        "userType": "string"
      },
      "enrichments": [
        {
          "data": {
            "property1": "string",
            "property2": "string"
          },
          "name": "string",
          "provider": "string",
          "type": "string",
          "value": "string"
        }
      ],
      "eventName": "string",
      "eventTime": {},
      "id": "string",
      "readOnly": true,
      "resources": [
        [
          0
        ]
      ],
      "service": {
        "name": "string"
      },
      "src": {
        "asCountryCode": "string",
        "asNumber": 0,
        "asOrganization": "string",
        "city": "string",
        "connectionType": "string",
        "ip": "string",
        "isp": "string",
        "latitude": 0,
        "longitude": 0,
        "port": 0,
        "userType": "string"
      },
      "tags": {
        "property1": "string",
        "property2": "string"
      },
      "timestamp": "string"
    },
    "sourceID": "string",
    "sourceName": "string",
    "sourceProvider": "string",
    "sourceTTL": 0,
    "sourceType": "string",
    "workspaceID": "string"
  },
  "success": true
}

PipelineGet returns a single pipeline looked up by ID or name.

PipelineGet returns a single pipeline looked up by ID or name.

GET
/pipelines/get

Query Parameters

idstring

namestring

curl -X GET "https://api.runreveal.com/pipelines/get?id=string&name=string"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineList returns a paginated list of the pipelines in the workspace.

PipelineList returns a paginated list of the pipelines in the workspace.

GET
/pipelines/list
curl -X GET "https://api.runreveal.com/pipelines/list"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": [
    {
      "id": "string",
      "name": "string",
      "steps": [
        {
          "id": "string",
          "precondition": [
            {
              "field": "string",
              "type": "string",
              "value": "string"
            }
          ],
          "rank": 0,
          "settings": [
            0
          ],
          "type": "string"
        }
      ],
      "workspaceId": "string"
    }
  ],
  "success": true
}

PipelineListTable returns a paginated table view of pipelines with step and attached topic counts, optionally filtered by a search string.

PipelineListTable returns a paginated table view of pipelines with step and attached topic counts, optionally filtered by a search string.

GET
/pipelines/list-table

Query Parameters

searchstring

curl -X GET "https://api.runreveal.com/pipelines/list-table?search=string"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": [
    {
      "id": "string",
      "name": "string",
      "stepCount": 0,
      "topicCount": 0
    }
  ],
  "success": true
}

PipelineMoveStep moves a pipeline step to a new rank within the pipeline and returns the updated pipeline.

PipelineMoveStep moves a pipeline step to a new rank within the pipeline and returns the updated pipeline.

POST
/pipelines/move-step

Request Body

application/jsonRequired

idstring

rankinteger

step_idstring

curl -X POST "https://api.runreveal.com/pipelines/move-step" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "rank": 0,
    "step_id": "string"
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineRemoveStep removes a step from a pipeline and returns the updated pipeline.

PipelineRemoveStep removes a step from a pipeline and returns the updated pipeline.

DELETE
/pipelines/remove-step

Query Parameters

idstring

step_idstring

curl -X DELETE "https://api.runreveal.com/pipelines/remove-step?id=string&step_id=string"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineRename renames a pipeline and returns the updated pipeline.

PipelineRename renames a pipeline and returns the updated pipeline.

POST
/pipelines/rename

Request Body

application/jsonRequired

idstring

namestring

curl -X POST "https://api.runreveal.com/pipelines/rename" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "name": "string"
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineSaveSteps replaces the full ordered list of steps on a pipeline and returns the updated pipeline.

PipelineSaveSteps replaces the full ordered list of steps on a pipeline and returns the updated pipeline.

POST
/pipelines/save-steps

Request Body

application/jsonRequired

idstring

stepsarray<object>

curl -X POST "https://api.runreveal.com/pipelines/save-steps" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ]
  }'

Success

{
  "error": "string",
  "errorCode": "string",
  "result": {
    "id": "string",
    "name": "string",
    "steps": [
      {
        "id": "string",
        "precondition": [
          {
            "field": "string",
            "type": "string",
            "value": "string"
          }
        ],
        "rank": 0,
        "settings": [
          0
        ],
        "type": "string"
      }
    ],
    "workspaceId": "string"
  },
  "success": true
}

PipelineStatsByPipeline operation

GET
/pipelines/stats

Query Parameters

seriesstring

sinceobject

untilobject

curl -X GET "https://api.runreveal.com/pipelines/stats?series=string&since=%5Bobject+Object%5D&until=%5Bobject+Object%5D"

Success

{
  "error": "string",
  "errorCode": "string",
  "result": [
    {
      "PipelineID": "string",
      "Series": "string",
      "Total": 0
    }
  ],
  "success": true
}