objectiveai-sdk 2.0.6

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! HTTP functions for function invention state retrieval.

use crate::{HttpClient, HttpError};

/// Retrieves a function invention state definition.
pub async fn get_function_invention_state(
    client: &HttpClient,
    params: crate::RemotePathCommitOptional,
) -> Result<super::response::GetFunctionInventionStateResponse, HttpError> {
    client
        .send_unary(reqwest::Method::POST, "functions/inventions/state", Some(params))
        .await
}