# Webhooks

## Introduction

Webhooks are a powerful feature that allows users or applications to receive real-time updates from the Segmind platform. They enable seamless integration by sending HTTP POST requests to a specified URL whenever certain events occur. This allows developers to automate workflows and respond to events in real-time without polling the API for updates.

### Supported Webhook Events <a href="#supported-webhook-events" id="supported-webhook-events"></a>

Segmind supports webhook events for the following events:

### **Finetuning**:&#x20;

Webhooks can notify you about the status of your finetuning jobs. Events include

* `DATA_PROCESSING`: This is the first step of a finetuning job, where the data is being downloaded for training the model.
* `TRAINING_INITIATED`: The finetuning process has started with the data specified
* `TRAINING_COMPLETED`: The training is completed, and the finetuned model is available for download.
* `DEPLOYING`: The model is being deployed on the Segmind inference engine.
* `AVAILABLE`: The model is deployed and ready for inferences on Segmind.

### **Pixelflow**

Receive updates on the execution status of API nodes within Pixeflow workflows, with outputs as URLs. 2 types of events are supported currently

* `NODE_RUN`: This is the event that's sent whenever an API node is run.&#x20;
* `GRAPH_RUN`: This is generated when a workflow API has completed all processing.&#x20;

### Get started with Webhooks

To get started, head over to <https://cloud.segmind.com/console/webhook> and register your webhooks for Finetune, Pixelflows or both.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.segmind.com/readme/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
