# WebhookDelivery

**Kind:** Database Model

**Source:** [`atloria-monorepo/libs/database/prisma/schema.prisma`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/database/prisma/schema.prisma#L1732)

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `projectId` | `String` | ✓ |  |
| `provider` | `String` | ✓ |  |
| `event` | `String` | ✓ |  |
| `status` | `Int` | ✓ |  |
| `result` | `String` | ✓ |  |
| `jobId` | `String` | - |  |
| `payload` | `Json` | - |  |
| `createdAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    WebhookDelivery {
        id String [PK]
        projectId String
        provider String
        event String
        status Int
        result String
        jobId String?
        payload Json?
        createdAt DateTime
    }
    WebhookDelivery ||--|| Project : ""
```

## Relationships

- HAS_ONE → `Project`
