cognee-http-server 0.1.0-rc.1

HTTP server exposing the cognee add/cognify/search pipeline (single-user, no-auth).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! DTOs for the verify router.

use serde::Deserialize;
use utoipa::ToSchema;

/// Request body for `POST /api/v1/auth/request-verify-token`.
#[derive(Debug, Deserialize, ToSchema)]
pub struct RequestVerifyTokenPayloadDTO {
    pub email: String,
}

/// Request body for `POST /api/v1/auth/verify`.
#[derive(Debug, Deserialize, ToSchema)]
pub struct VerifyPayloadDTO {
    pub token: String,
}