Skip to main content

post

Function post 

Source
pub async fn post(
    __arg0: State<Arc<AppState>>,
    headers: HeaderMap,
    __arg2: JsonBody<GroundingRequest>,
) -> Result<impl IntoResponse, AppError>
Expand description

POST /v1/grounding: body variant of the grounding endpoint; the API key may come from the Authorization header or the JSON body.