React 19 + Vite 8 + TanStack Router SPA for browsing and chatting with a self-hosted Honcho instance. Configurable base URL stored in localStorage only. Dark/light theme, framer-motion animations, lucide-react icons.
3325 lines
107 KiB
TypeScript
3325 lines
107 KiB
TypeScript
/**
|
|
* This file was auto-generated by openapi-typescript.
|
|
* Do not make direct changes to the file.
|
|
*/
|
|
|
|
export interface paths {
|
|
"/v3/workspaces": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Or Create Workspace
|
|
* @description Get a Workspace by ID.
|
|
*
|
|
* If workspace_id is provided as a query parameter, it uses that (must match JWT workspace_id).
|
|
* Otherwise, it uses the workspace_id from the JWT.
|
|
*/
|
|
post: operations["get_or_create_workspace_v3_workspaces_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/list": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get All Workspaces
|
|
* @description Get all Workspaces, paginated with optional filters.
|
|
*/
|
|
post: operations["get_all_workspaces_v3_workspaces_list_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
/**
|
|
* Update Workspace
|
|
* @description Update Workspace metadata and/or configuration.
|
|
*/
|
|
put: operations["update_workspace_v3_workspaces__workspace_id__put"];
|
|
post?: never;
|
|
/**
|
|
* Delete Workspace
|
|
* @description Delete a Workspace. This accepts the deletion request and processes it in the background,
|
|
* permanently deleting all peers, messages, conclusions, and other resources associated
|
|
* with the workspace.
|
|
*
|
|
* Returns 409 Conflict if the workspace contains active sessions.
|
|
* Delete all sessions first, then delete the workspace.
|
|
*
|
|
* This action cannot be undone.
|
|
*/
|
|
delete: operations["delete_workspace_v3_workspaces__workspace_id__delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/search": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Search Workspace
|
|
* @description Search messages in a Workspace using optional filters. Use `limit` to control the number of
|
|
* results returned.
|
|
*/
|
|
post: operations["search_workspace_v3_workspaces__workspace_id__search_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/queue/status": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Queue Status
|
|
* @description Get the processing queue status for a Workspace, optionally scoped to an observer, sender,
|
|
* and/or session.
|
|
*
|
|
* Only tracks user-facing task types (representation, summary, dream).
|
|
* Internal infrastructure tasks (reconciler, webhook, deletion) are excluded.
|
|
* Note: completed counts reflect items since the last periodic queue cleanup,
|
|
* not lifetime totals.
|
|
*/
|
|
get: operations["get_queue_status_v3_workspaces__workspace_id__queue_status_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/schedule_dream": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Schedule Dream
|
|
* @description Manually schedule a dream task for a specific collection.
|
|
*
|
|
* This endpoint bypasses all automatic dream conditions (document threshold,
|
|
* minimum hours between dreams) and schedules the dream task for a future execution.
|
|
*
|
|
* Currently this endpoint only supports scheduling immediate dreams. In the future,
|
|
* users may pass a cron-style expression to schedule dreams at specific times.
|
|
*/
|
|
post: operations["schedule_dream_v3_workspaces__workspace_id__schedule_dream_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/list": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Peers
|
|
* @description Get all Peers for a Workspace, paginated with optional filters.
|
|
*/
|
|
post: operations["get_peers_v3_workspaces__workspace_id__peers_list_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Or Create Peer
|
|
* @description Get a Peer by ID or create a new Peer with the given ID.
|
|
*
|
|
* If peer_id is provided as a query parameter, it uses that (must match JWT workspace_id).
|
|
* Otherwise, it uses the peer_id from the JWT.
|
|
*/
|
|
post: operations["get_or_create_peer_v3_workspaces__workspace_id__peers_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
/**
|
|
* Update Peer
|
|
* @description Update a Peer's metadata and/or configuration.
|
|
*/
|
|
put: operations["update_peer_v3_workspaces__workspace_id__peers__peer_id__put"];
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/sessions": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Sessions For Peer
|
|
* @description Get all Sessions for a Peer, paginated with optional filters.
|
|
*/
|
|
post: operations["get_sessions_for_peer_v3_workspaces__workspace_id__peers__peer_id__sessions_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/chat": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Chat
|
|
* @description Query a Peer's representation using natural language. Performs agentic search and reasoning to comprehensively
|
|
* answer the query based on all latent knowledge gathered about the peer from their messages and conclusions.
|
|
*/
|
|
post: operations["chat_v3_workspaces__workspace_id__peers__peer_id__chat_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/representation": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Representation
|
|
* @description Get a curated subset of a Peer's Representation. A Representation is always a subset of the total
|
|
* knowledge about the Peer. The subset can be scoped and filtered in various ways.
|
|
*
|
|
*
|
|
* If a session_id is provided in the body, we get the Representation of the Peer scoped to that Session.
|
|
* If a target is provided, we get the Representation of the target from the perspective of the Peer.
|
|
* If no target is provided, we get the omniscient Honcho Representation of the Peer.
|
|
*/
|
|
post: operations["get_representation_v3_workspaces__workspace_id__peers__peer_id__representation_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/card": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Peer Card
|
|
* @description Get a peer card for a specific peer relationship.
|
|
*
|
|
* Returns the peer card that the observer peer has for the target peer if it exists.
|
|
* If no target is specified, returns the observer's own peer card.
|
|
*/
|
|
get: operations["get_peer_card_v3_workspaces__workspace_id__peers__peer_id__card_get"];
|
|
/**
|
|
* Set Peer Card
|
|
* @description Set a peer card for a specific peer relationship.
|
|
*
|
|
* Sets the peer card that the observer peer has for the target peer.
|
|
* If no target is specified, sets the observer's own peer card.
|
|
*/
|
|
put: operations["set_peer_card_v3_workspaces__workspace_id__peers__peer_id__card_put"];
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/context": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Peer Context
|
|
* @description Get context for a peer, including their representation and peer card.
|
|
*
|
|
* This endpoint returns a curated subset of the representation and peer card for a peer.
|
|
* If a target is specified, returns the context for the target from the
|
|
* observer peer's perspective. If no target is specified, returns the
|
|
* peer's own context (self-observation).
|
|
*
|
|
* This is useful for getting all the context needed about a peer without
|
|
* making multiple API calls.
|
|
*/
|
|
get: operations["get_peer_context_v3_workspaces__workspace_id__peers__peer_id__context_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/peers/{peer_id}/search": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Search Peer
|
|
* @description Search a Peer's messages, optionally filtered by various criteria.
|
|
*/
|
|
post: operations["search_peer_v3_workspaces__workspace_id__peers__peer_id__search_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/list": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Sessions
|
|
* @description Get all Sessions for a Workspace, paginated with optional filters.
|
|
*/
|
|
post: operations["get_sessions_v3_workspaces__workspace_id__sessions_list_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Or Create Session
|
|
* @description Get a Session by ID or create a new Session with the given ID.
|
|
*
|
|
* If Session ID is provided as a parameter, it verifies the Session is in the Workspace.
|
|
* Otherwise, it uses the session_id from the JWT for verification.
|
|
*/
|
|
post: operations["get_or_create_session_v3_workspaces__workspace_id__sessions_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
/**
|
|
* Update Session
|
|
* @description Update a Session's metadata and/or configuration.
|
|
*/
|
|
put: operations["update_session_v3_workspaces__workspace_id__sessions__session_id__put"];
|
|
post?: never;
|
|
/**
|
|
* Delete Session
|
|
* @description Delete a Session and all associated messages.
|
|
*
|
|
* The Session is marked as inactive immediately and returns 202 Accepted. The actual
|
|
* deletion of all related data happens asynchronously via the queue with retry support.
|
|
*
|
|
* This action cannot be undone.
|
|
*/
|
|
delete: operations["delete_session_v3_workspaces__workspace_id__sessions__session_id__delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/clone": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Clone Session
|
|
* @description Clone a Session, optionally up to a specific message ID.
|
|
*/
|
|
post: operations["clone_session_v3_workspaces__workspace_id__sessions__session_id__clone_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/peers": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Session Peers
|
|
* @description Get all Peers in a Session. Results are paginated.
|
|
*/
|
|
get: operations["get_session_peers_v3_workspaces__workspace_id__sessions__session_id__peers_get"];
|
|
/**
|
|
* Set Session Peers
|
|
* @description Set the Peers in a Session. If a Peer does not yet exist, it will be created automatically.
|
|
*
|
|
* This will fully replace the current set of Peers in the Session.
|
|
*/
|
|
put: operations["set_session_peers_v3_workspaces__workspace_id__sessions__session_id__peers_put"];
|
|
/**
|
|
* Add Peers To Session
|
|
* @description Add Peers to a Session. If a Peer does not yet exist, it will be created automatically.
|
|
*/
|
|
post: operations["add_peers_to_session_v3_workspaces__workspace_id__sessions__session_id__peers_post"];
|
|
/**
|
|
* Remove Peers From Session
|
|
* @description Remove Peers by ID from a Session.
|
|
*/
|
|
delete: operations["remove_peers_from_session_v3_workspaces__workspace_id__sessions__session_id__peers_delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/peers/{peer_id}/config": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Peer Config
|
|
* @description Get the configuration for a Peer in a Session.
|
|
*/
|
|
get: operations["get_peer_config_v3_workspaces__workspace_id__sessions__session_id__peers__peer_id__config_get"];
|
|
/**
|
|
* Set Peer Config
|
|
* @description Set the configuration for a Peer in a Session.
|
|
*/
|
|
put: operations["set_peer_config_v3_workspaces__workspace_id__sessions__session_id__peers__peer_id__config_put"];
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/context": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Session Context
|
|
* @description Produce a context object from the Session. The caller provides an optional token limit which the entire context must fit into.
|
|
* If not provided, the context will be exhaustive (within configured max tokens). To do this, we allocate 40% of the token limit
|
|
* to the summary, and 60% to recent messages -- as many as can fit. Note that the summary will usually take up less space than
|
|
* this. If the caller does not want a summary, we allocate all the tokens to recent messages.
|
|
*/
|
|
get: operations["get_session_context_v3_workspaces__workspace_id__sessions__session_id__context_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/summaries": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Session Summaries
|
|
* @description Get available summaries for a Session.
|
|
*
|
|
* Returns both short and long summaries if available, including metadata like
|
|
* the message ID they cover up to, creation timestamp, and token count.
|
|
*/
|
|
get: operations["get_session_summaries_v3_workspaces__workspace_id__sessions__session_id__summaries_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/search": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Search Session
|
|
* @description Search a Session with optional filters. Use `limit` to control the number of results returned.
|
|
*/
|
|
post: operations["search_session_v3_workspaces__workspace_id__sessions__session_id__search_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/messages": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Create Messages For Session
|
|
* @description Add new message(s) to a session.
|
|
*/
|
|
post: operations["create_messages_for_session_v3_workspaces__workspace_id__sessions__session_id__messages_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/messages/upload": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Create Messages With File
|
|
* @description Create messages from uploaded files. Files are converted to text and split into multiple messages.
|
|
*/
|
|
post: operations["create_messages_with_file_v3_workspaces__workspace_id__sessions__session_id__messages_upload_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/messages/list": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Get Messages
|
|
* @description Get all messages for a Session with optional filters. Results are paginated.
|
|
*/
|
|
post: operations["get_messages_v3_workspaces__workspace_id__sessions__session_id__messages_list_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/sessions/{session_id}/messages/{message_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Get Message
|
|
* @description Get a single message by ID from a Session.
|
|
*/
|
|
get: operations["get_message_v3_workspaces__workspace_id__sessions__session_id__messages__message_id__get"];
|
|
/**
|
|
* Update Message
|
|
* @description Update the metadata of a message.
|
|
*
|
|
* This will overwrite any existing metadata for the message.
|
|
*/
|
|
put: operations["update_message_v3_workspaces__workspace_id__sessions__session_id__messages__message_id__put"];
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/conclusions": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Create Conclusions
|
|
* @description Create one or more Conclusions.
|
|
*
|
|
* Conclusions are logical certainties derived from interactions between Peers. They form the basis of a Peer's Representation.
|
|
*/
|
|
post: operations["create_conclusions_v3_workspaces__workspace_id__conclusions_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/conclusions/list": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* List Conclusions
|
|
* @description List Conclusions using optional filters, ordered by recency unless `reverse` is true. Results are paginated.
|
|
*/
|
|
post: operations["list_conclusions_v3_workspaces__workspace_id__conclusions_list_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/conclusions/query": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Query Conclusions
|
|
* @description Query Conclusions using semantic search. Use `top_k` to control the number of results returned.
|
|
*/
|
|
post: operations["query_conclusions_v3_workspaces__workspace_id__conclusions_query_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/conclusions/{conclusion_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post?: never;
|
|
/**
|
|
* Delete Conclusion
|
|
* @description Delete a single Conclusion by ID.
|
|
*
|
|
* This action cannot be undone.
|
|
*/
|
|
delete: operations["delete_conclusion_v3_workspaces__workspace_id__conclusions__conclusion_id__delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/keys": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
/**
|
|
* Create Key
|
|
* @description Create a new Key
|
|
*/
|
|
post: operations["create_key_v3_keys_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/webhooks": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* List Webhook Endpoints
|
|
* @description List all webhook endpoints, optionally filtered by workspace.
|
|
*/
|
|
get: operations["list_webhook_endpoints_v3_workspaces__workspace_id__webhooks_get"];
|
|
put?: never;
|
|
/**
|
|
* Get Or Create Webhook Endpoint
|
|
* @description Get or create a webhook endpoint URL.
|
|
*/
|
|
post: operations["get_or_create_webhook_endpoint_v3_workspaces__workspace_id__webhooks_post"];
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/webhooks/{endpoint_id}": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
get?: never;
|
|
put?: never;
|
|
post?: never;
|
|
/**
|
|
* Delete Webhook Endpoint
|
|
* @description Delete a specific webhook endpoint.
|
|
*/
|
|
delete: operations["delete_webhook_endpoint_v3_workspaces__workspace_id__webhooks__endpoint_id__delete"];
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
"/v3/workspaces/{workspace_id}/webhooks/test": {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
/**
|
|
* Test Emit
|
|
* @description Test publishing a webhook event.
|
|
*/
|
|
get: operations["test_emit_v3_workspaces__workspace_id__webhooks_test_get"];
|
|
put?: never;
|
|
post?: never;
|
|
delete?: never;
|
|
options?: never;
|
|
head?: never;
|
|
patch?: never;
|
|
trace?: never;
|
|
};
|
|
}
|
|
export type webhooks = Record<string, never>;
|
|
export interface components {
|
|
schemas: {
|
|
/** Body_create_messages_with_file_v3_workspaces__workspace_id__sessions__session_id__messages_upload_post */
|
|
Body_create_messages_with_file_v3_workspaces__workspace_id__sessions__session_id__messages_upload_post: {
|
|
/** File */
|
|
file: string;
|
|
/** Peer Id */
|
|
peer_id: string;
|
|
/** Metadata */
|
|
metadata?: string | null;
|
|
/** Configuration */
|
|
configuration?: string | null;
|
|
/** Created At */
|
|
created_at?: string | null;
|
|
};
|
|
/**
|
|
* Conclusion
|
|
* @description Conclusion response - external view of a document.
|
|
*/
|
|
Conclusion: {
|
|
/** Id */
|
|
id: string;
|
|
/** Content */
|
|
content: string;
|
|
/**
|
|
* Observer Id
|
|
* @description The peer who made the conclusion
|
|
*/
|
|
observer_id: string;
|
|
/**
|
|
* Observed Id
|
|
* @description The peer the conclusion is about
|
|
*/
|
|
observed_id: string;
|
|
/** Session Id */
|
|
session_id?: string | null;
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
};
|
|
/**
|
|
* ConclusionBatchCreate
|
|
* @description Schema for batch conclusion creation with a max of 100 conclusions.
|
|
*/
|
|
ConclusionBatchCreate: {
|
|
/** Conclusions */
|
|
conclusions: components["schemas"]["ConclusionCreate"][];
|
|
};
|
|
/**
|
|
* ConclusionCreate
|
|
* @description Schema for creating a single conclusion.
|
|
*/
|
|
ConclusionCreate: {
|
|
/** Content */
|
|
content: string;
|
|
/**
|
|
* Observer Id
|
|
* @description The peer making the conclusion
|
|
*/
|
|
observer_id: string;
|
|
/**
|
|
* Observed Id
|
|
* @description The peer the conclusion is about
|
|
*/
|
|
observed_id: string;
|
|
/**
|
|
* Session Id
|
|
* @description A session ID to store the conclusion in, if specified
|
|
*/
|
|
session_id?: string | null;
|
|
};
|
|
/**
|
|
* ConclusionGet
|
|
* @description Schema for listing conclusions with optional filters.
|
|
*/
|
|
ConclusionGet: {
|
|
/** Filters */
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/**
|
|
* ConclusionQuery
|
|
* @description Query parameters for semantic search of conclusions.
|
|
*/
|
|
ConclusionQuery: {
|
|
/**
|
|
* Query
|
|
* @description Semantic search query
|
|
*/
|
|
query: string;
|
|
/**
|
|
* Top K
|
|
* @description Number of results to return
|
|
* @default 10
|
|
*/
|
|
top_k: number;
|
|
/**
|
|
* Distance
|
|
* @description Maximum cosine distance threshold for results
|
|
*/
|
|
distance?: number | null;
|
|
/**
|
|
* Filters
|
|
* @description Additional filters to apply
|
|
*/
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** DialecticOptions */
|
|
DialecticOptions: {
|
|
/**
|
|
* Session Id
|
|
* @description ID of the session to scope the representation to
|
|
*/
|
|
session_id?: string | null;
|
|
/**
|
|
* Target
|
|
* @description Optional peer to get the representation for, from the perspective of this peer
|
|
*/
|
|
target?: string | null;
|
|
/**
|
|
* Query
|
|
* @description Dialectic API Prompt
|
|
*/
|
|
query: string;
|
|
/**
|
|
* Stream
|
|
* @default false
|
|
*/
|
|
stream: boolean;
|
|
/**
|
|
* Reasoning Level
|
|
* @description Level of reasoning to apply: minimal, low, medium, high, or max
|
|
* @default low
|
|
* @enum {string}
|
|
*/
|
|
reasoning_level: "minimal" | "low" | "medium" | "high" | "max";
|
|
};
|
|
/** DreamConfiguration */
|
|
DreamConfiguration: {
|
|
/**
|
|
* Enabled
|
|
* @description Whether to enable dream functionality. If reasoning is disabled, dreams will also be disabled and this setting will be ignored.
|
|
*/
|
|
enabled?: boolean | null;
|
|
};
|
|
/**
|
|
* DreamType
|
|
* @description Types of dreams that can be triggered.
|
|
* @enum {string}
|
|
*/
|
|
DreamType: "omni";
|
|
/** HTTPValidationError */
|
|
HTTPValidationError: {
|
|
/** Detail */
|
|
detail?: components["schemas"]["ValidationError"][];
|
|
};
|
|
/** Message */
|
|
Message: {
|
|
/** Id */
|
|
id: string;
|
|
/** Content */
|
|
content: string;
|
|
/** Peer Id */
|
|
peer_id: string;
|
|
/** Session Id */
|
|
session_id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
/** Workspace Id */
|
|
workspace_id: string;
|
|
/** Token Count */
|
|
token_count: number;
|
|
};
|
|
/**
|
|
* MessageBatchCreate
|
|
* @description Schema for batch message creation with a max of 100 messages
|
|
*/
|
|
MessageBatchCreate: {
|
|
/** Messages */
|
|
messages: components["schemas"]["MessageCreate"][];
|
|
};
|
|
/**
|
|
* MessageConfiguration
|
|
* @description The set of options that can be in a message DB-level configuration dictionary.
|
|
*
|
|
* All fields are optional. Message-level configuration overrides all other configurations.
|
|
*/
|
|
MessageConfiguration: {
|
|
/** @description Configuration for reasoning functionality. */
|
|
reasoning?: components["schemas"]["ReasoningConfiguration"] | null;
|
|
};
|
|
/** MessageCreate */
|
|
MessageCreate: {
|
|
/** Content */
|
|
content: string;
|
|
/** Peer Id */
|
|
peer_id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
configuration?: components["schemas"]["MessageConfiguration"] | null;
|
|
/** Created At */
|
|
created_at?: string | null;
|
|
};
|
|
/** MessageGet */
|
|
MessageGet: {
|
|
/** Filters */
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** MessageSearchOptions */
|
|
MessageSearchOptions: {
|
|
/**
|
|
* Query
|
|
* @description Search query
|
|
*/
|
|
query: string;
|
|
/**
|
|
* Filters
|
|
* @description Filters to scope the search
|
|
*/
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
/**
|
|
* Limit
|
|
* @description Number of results to return
|
|
* @default 10
|
|
*/
|
|
limit: number;
|
|
};
|
|
/** MessageUpdate */
|
|
MessageUpdate: {
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** Page[Conclusion] */
|
|
Page_Conclusion_: {
|
|
/** Items */
|
|
items: components["schemas"]["Conclusion"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Page[Message] */
|
|
Page_Message_: {
|
|
/** Items */
|
|
items: components["schemas"]["Message"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Page[Peer] */
|
|
Page_Peer_: {
|
|
/** Items */
|
|
items: components["schemas"]["Peer"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Page[Session] */
|
|
Page_Session_: {
|
|
/** Items */
|
|
items: components["schemas"]["Session"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Page[WebhookEndpoint] */
|
|
Page_WebhookEndpoint_: {
|
|
/** Items */
|
|
items: components["schemas"]["WebhookEndpoint"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Page[Workspace] */
|
|
Page_Workspace_: {
|
|
/** Items */
|
|
items: components["schemas"]["Workspace"][];
|
|
/** Total */
|
|
total: number;
|
|
/** Page */
|
|
page: number;
|
|
/** Size */
|
|
size: number;
|
|
/** Pages */
|
|
pages: number;
|
|
};
|
|
/** Peer */
|
|
Peer: {
|
|
/** Id */
|
|
id: string;
|
|
/** Workspace Id */
|
|
workspace_id: string;
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/** Configuration */
|
|
configuration?: {
|
|
[key: string]: unknown;
|
|
};
|
|
};
|
|
/** PeerCardConfiguration */
|
|
PeerCardConfiguration: {
|
|
/**
|
|
* Use
|
|
* @description Whether to use peer card related to this peer during reasoning process.
|
|
*/
|
|
use?: boolean | null;
|
|
/**
|
|
* Create
|
|
* @description Whether to generate peer card based on content.
|
|
*/
|
|
create?: boolean | null;
|
|
};
|
|
/** PeerCardResponse */
|
|
PeerCardResponse: {
|
|
/**
|
|
* Peer Card
|
|
* @description The peer card content, or None if not found
|
|
*/
|
|
peer_card?: string[] | null;
|
|
};
|
|
/** PeerCardSet */
|
|
PeerCardSet: {
|
|
/**
|
|
* Peer Card
|
|
* @description The peer card content to set
|
|
*/
|
|
peer_card: string[];
|
|
};
|
|
/**
|
|
* PeerContext
|
|
* @description Context for a peer, including representation and peer card.
|
|
*/
|
|
PeerContext: {
|
|
/**
|
|
* Peer Id
|
|
* @description The ID of the peer
|
|
*/
|
|
peer_id: string;
|
|
/**
|
|
* Target Id
|
|
* @description The ID of the target peer being observed
|
|
*/
|
|
target_id: string;
|
|
/**
|
|
* Representation
|
|
* @description A curated subset of the representation of the target peer from the observer's perspective
|
|
*/
|
|
representation?: string | null;
|
|
/**
|
|
* Peer Card
|
|
* @description The peer card for the target peer from the observer's perspective
|
|
*/
|
|
peer_card?: string[] | null;
|
|
};
|
|
/** PeerCreate */
|
|
PeerCreate: {
|
|
/** Id */
|
|
id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
/** Configuration */
|
|
configuration?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** PeerGet */
|
|
PeerGet: {
|
|
/** Filters */
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** PeerRepresentationGet */
|
|
PeerRepresentationGet: {
|
|
/**
|
|
* Session Id
|
|
* @description Optional session ID within which to scope the representation
|
|
*/
|
|
session_id?: string | null;
|
|
/**
|
|
* Target
|
|
* @description Optional peer ID to get the representation for, from the perspective of this peer
|
|
*/
|
|
target?: string | null;
|
|
/**
|
|
* Search Query
|
|
* @description Optional input to curate the representation around semantic search results
|
|
*/
|
|
search_query?: string | null;
|
|
/**
|
|
* Search Top K
|
|
* @description Only used if `search_query` is provided. Number of semantic-search-retrieved conclusions to include in the representation
|
|
*/
|
|
search_top_k?: number | null;
|
|
/**
|
|
* Search Max Distance
|
|
* @description Only used if `search_query` is provided. Maximum distance to search for semantically relevant conclusions
|
|
*/
|
|
search_max_distance?: number | null;
|
|
/**
|
|
* Include Most Frequent
|
|
* @description Only used if `search_query` is provided. Whether to include the most frequent conclusions in the representation
|
|
*/
|
|
include_most_frequent?: boolean | null;
|
|
/**
|
|
* Max Conclusions
|
|
* @description Only used if `search_query` is provided. Maximum number of conclusions to include in the representation
|
|
* @default 25
|
|
*/
|
|
max_conclusions: number | null;
|
|
};
|
|
/** PeerUpdate */
|
|
PeerUpdate: {
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
/** Configuration */
|
|
configuration?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/**
|
|
* QueueStatus
|
|
* @description Aggregated processing queue status.
|
|
*
|
|
* Tracks user-facing task types only: representation, summary, and dream.
|
|
* Internal infrastructure tasks (reconciler, webhook, deletion) are excluded.
|
|
*
|
|
* Note: completed_work_units reflects items since the last periodic queue
|
|
* cleanup, not lifetime totals.
|
|
*/
|
|
QueueStatus: {
|
|
/**
|
|
* Total Work Units
|
|
* @description Total work units
|
|
*/
|
|
total_work_units: number;
|
|
/**
|
|
* Completed Work Units
|
|
* @description Completed work units (since last periodic cleanup)
|
|
*/
|
|
completed_work_units: number;
|
|
/**
|
|
* In Progress Work Units
|
|
* @description Work units currently being processed
|
|
*/
|
|
in_progress_work_units: number;
|
|
/**
|
|
* Pending Work Units
|
|
* @description Work units waiting to be processed
|
|
*/
|
|
pending_work_units: number;
|
|
/**
|
|
* Sessions
|
|
* @description Per-session status when not filtered by session
|
|
*/
|
|
sessions?: {
|
|
[key: string]: components["schemas"]["SessionQueueStatus"];
|
|
} | null;
|
|
};
|
|
/** ReasoningConfiguration */
|
|
ReasoningConfiguration: {
|
|
/**
|
|
* Enabled
|
|
* @description Whether to enable reasoning functionality.
|
|
*/
|
|
enabled?: boolean | null;
|
|
/**
|
|
* Custom Instructions
|
|
* @description TODO: currently unused. Custom instructions to use for the reasoning system on this workspace/session/message.
|
|
*/
|
|
custom_instructions?: string | null;
|
|
};
|
|
/** RepresentationResponse */
|
|
RepresentationResponse: {
|
|
/** Representation */
|
|
representation: string;
|
|
};
|
|
/** ScheduleDreamRequest */
|
|
ScheduleDreamRequest: {
|
|
/**
|
|
* Observer
|
|
* @description Observer peer name
|
|
*/
|
|
observer: string;
|
|
/**
|
|
* Observed
|
|
* @description Observed peer name (defaults to observer if not specified)
|
|
*/
|
|
observed?: string | null;
|
|
/** @description Type of dream to schedule */
|
|
dream_type: components["schemas"]["DreamType"];
|
|
/**
|
|
* Session Id
|
|
* @description Session ID to scope the dream to if specified
|
|
*/
|
|
session_id?: string | null;
|
|
};
|
|
/** Session */
|
|
Session: {
|
|
/** Id */
|
|
id: string;
|
|
/** Is Active */
|
|
is_active: boolean;
|
|
/** Workspace Id */
|
|
workspace_id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/** Configuration */
|
|
configuration?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
};
|
|
/**
|
|
* SessionConfiguration
|
|
* @description The set of options that can be in a session DB-level configuration dictionary.
|
|
*
|
|
* All fields are optional. Session-level configuration overrides workspace-level configuration, which overrides global configuration.
|
|
*/
|
|
SessionConfiguration: {
|
|
/** @description Configuration for reasoning functionality. */
|
|
reasoning?: components["schemas"]["ReasoningConfiguration"] | null;
|
|
/** @description Configuration for peer card functionality. If reasoning is disabled, peer cards will also be disabled and these settings will be ignored. */
|
|
peer_card?: components["schemas"]["PeerCardConfiguration"] | null;
|
|
/** @description Configuration for summary functionality. */
|
|
summary?: components["schemas"]["SummaryConfiguration"] | null;
|
|
/** @description Configuration for dream functionality. If reasoning is disabled, dreams will also be disabled and these settings will be ignored. */
|
|
dream?: components["schemas"]["DreamConfiguration"] | null;
|
|
} & {
|
|
[key: string]: unknown;
|
|
};
|
|
/** SessionContext */
|
|
SessionContext: {
|
|
/** Id */
|
|
id: string;
|
|
/** Messages */
|
|
messages: components["schemas"]["Message"][];
|
|
/** @description The summary if available */
|
|
summary?: components["schemas"]["Summary"] | null;
|
|
/**
|
|
* Peer Representation
|
|
* @description A curated subset of a peer representation, if context is requested from a specific perspective
|
|
*/
|
|
peer_representation?: string | null;
|
|
/**
|
|
* Peer Card
|
|
* @description The peer card, if context is requested from a specific perspective
|
|
*/
|
|
peer_card?: string[] | null;
|
|
};
|
|
/** SessionCreate */
|
|
SessionCreate: {
|
|
/** Id */
|
|
id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
/** Peers */
|
|
peers?: {
|
|
[key: string]: components["schemas"]["SessionPeerConfig"];
|
|
} | null;
|
|
configuration?: components["schemas"]["SessionConfiguration"] | null;
|
|
};
|
|
/** SessionGet */
|
|
SessionGet: {
|
|
/** Filters */
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** SessionPeerConfig */
|
|
SessionPeerConfig: {
|
|
/**
|
|
* Observe Me
|
|
* @description Whether Honcho will use reasoning to form a representation of this peer
|
|
*/
|
|
observe_me?: boolean | null;
|
|
/**
|
|
* Observe Others
|
|
* @description Whether this peer should form a session-level theory-of-mind representation of other peers in the session
|
|
*/
|
|
observe_others?: boolean | null;
|
|
};
|
|
/**
|
|
* SessionQueueStatus
|
|
* @description Status for a specific session within the processing queue.
|
|
*/
|
|
SessionQueueStatus: {
|
|
/**
|
|
* Session Id
|
|
* @description Session ID if filtered by session
|
|
*/
|
|
session_id?: string | null;
|
|
/**
|
|
* Total Work Units
|
|
* @description Total work units
|
|
*/
|
|
total_work_units: number;
|
|
/**
|
|
* Completed Work Units
|
|
* @description Completed work units
|
|
*/
|
|
completed_work_units: number;
|
|
/**
|
|
* In Progress Work Units
|
|
* @description Work units currently being processed
|
|
*/
|
|
in_progress_work_units: number;
|
|
/**
|
|
* Pending Work Units
|
|
* @description Work units waiting to be processed
|
|
*/
|
|
pending_work_units: number;
|
|
};
|
|
/** SessionSummaries */
|
|
SessionSummaries: {
|
|
/** Id */
|
|
id: string;
|
|
/** @description The short summary if available */
|
|
short_summary?: components["schemas"]["Summary"] | null;
|
|
/** @description The long summary if available */
|
|
long_summary?: components["schemas"]["Summary"] | null;
|
|
};
|
|
/** SessionUpdate */
|
|
SessionUpdate: {
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
configuration?: components["schemas"]["SessionConfiguration"] | null;
|
|
};
|
|
/** Summary */
|
|
Summary: {
|
|
/**
|
|
* Content
|
|
* @description The summary text
|
|
*/
|
|
content: string;
|
|
/**
|
|
* Message Id
|
|
* @description The public ID of the message that this summary covers up to
|
|
*/
|
|
message_id: string;
|
|
/**
|
|
* Summary Type
|
|
* @description The type of summary (short or long)
|
|
*/
|
|
summary_type: string;
|
|
/**
|
|
* Created At
|
|
* @description The timestamp of when the summary was created (ISO format)
|
|
*/
|
|
created_at: string;
|
|
/**
|
|
* Token Count
|
|
* @description The number of tokens in the summary text
|
|
*/
|
|
token_count: number;
|
|
};
|
|
/** SummaryConfiguration */
|
|
SummaryConfiguration: {
|
|
/**
|
|
* Enabled
|
|
* @description Whether to enable summary functionality.
|
|
*/
|
|
enabled?: boolean | null;
|
|
/**
|
|
* Messages Per Short Summary
|
|
* @description Number of messages per short summary. Must be positive, greater than or equal to 10, and less than messages_per_long_summary.
|
|
*/
|
|
messages_per_short_summary?: number | null;
|
|
/**
|
|
* Messages Per Long Summary
|
|
* @description Number of messages per long summary. Must be positive, greater than or equal to 20, and greater than messages_per_short_summary.
|
|
*/
|
|
messages_per_long_summary?: number | null;
|
|
};
|
|
/** ValidationError */
|
|
ValidationError: {
|
|
/** Location */
|
|
loc: (string | number)[];
|
|
/** Message */
|
|
msg: string;
|
|
/** Error Type */
|
|
type: string;
|
|
/** Input */
|
|
input?: unknown;
|
|
/** Context */
|
|
ctx?: Record<string, never>;
|
|
};
|
|
/** WebhookEndpoint */
|
|
WebhookEndpoint: {
|
|
/** Id */
|
|
id: string;
|
|
/** Workspace Id */
|
|
workspace_id: string | null;
|
|
/** Url */
|
|
url: string;
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
};
|
|
/** WebhookEndpointCreate */
|
|
WebhookEndpointCreate: {
|
|
/** Url */
|
|
url: string;
|
|
};
|
|
/** Workspace */
|
|
Workspace: {
|
|
/** Id */
|
|
id: string;
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/** Configuration */
|
|
configuration?: {
|
|
[key: string]: unknown;
|
|
};
|
|
/**
|
|
* Created At
|
|
* Format: date-time
|
|
*/
|
|
created_at: string;
|
|
};
|
|
/**
|
|
* WorkspaceConfiguration
|
|
* @description The set of options that can be in a workspace DB-level configuration dictionary.
|
|
*
|
|
* All fields are optional. Session-level configuration overrides workspace-level configuration, which overrides global configuration.
|
|
*/
|
|
WorkspaceConfiguration: {
|
|
/** @description Configuration for reasoning functionality. */
|
|
reasoning?: components["schemas"]["ReasoningConfiguration"] | null;
|
|
/** @description Configuration for peer card functionality. If reasoning is disabled, peer cards will also be disabled and these settings will be ignored. */
|
|
peer_card?: components["schemas"]["PeerCardConfiguration"] | null;
|
|
/** @description Configuration for summary functionality. */
|
|
summary?: components["schemas"]["SummaryConfiguration"] | null;
|
|
/** @description Configuration for dream functionality. If reasoning is disabled, dreams will also be disabled and these settings will be ignored. */
|
|
dream?: components["schemas"]["DreamConfiguration"] | null;
|
|
} & {
|
|
[key: string]: unknown;
|
|
};
|
|
/** WorkspaceCreate */
|
|
WorkspaceCreate: {
|
|
/** Id */
|
|
id: string;
|
|
/**
|
|
* Metadata
|
|
* @default {}
|
|
*/
|
|
metadata: {
|
|
[key: string]: unknown;
|
|
};
|
|
configuration?: components["schemas"]["WorkspaceConfiguration"];
|
|
};
|
|
/** WorkspaceGet */
|
|
WorkspaceGet: {
|
|
/** Filters */
|
|
filters?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
};
|
|
/** WorkspaceUpdate */
|
|
WorkspaceUpdate: {
|
|
/** Metadata */
|
|
metadata?: {
|
|
[key: string]: unknown;
|
|
} | null;
|
|
configuration?: components["schemas"]["WorkspaceConfiguration"] | null;
|
|
};
|
|
};
|
|
responses: never;
|
|
parameters: never;
|
|
requestBodies: never;
|
|
headers: never;
|
|
pathItems: never;
|
|
}
|
|
export type $defs = Record<string, never>;
|
|
export interface operations {
|
|
get_or_create_workspace_v3_workspaces_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["WorkspaceCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Workspace"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_all_workspaces_v3_workspaces_list_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["WorkspaceGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Workspace_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
update_workspace_v3_workspaces__workspace_id__put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["WorkspaceUpdate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Workspace"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
delete_workspace_v3_workspaces__workspace_id__delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
202: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": unknown;
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
search_workspace_v3_workspaces__workspace_id__search_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageSearchOptions"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_queue_status_v3_workspaces__workspace_id__queue_status_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Optional observer ID to filter by */
|
|
observer_id?: string | null;
|
|
/** @description Optional sender ID to filter by */
|
|
sender_id?: string | null;
|
|
/** @description Optional session ID to filter by */
|
|
session_id?: string | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["QueueStatus"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
schedule_dream_v3_workspaces__workspace_id__schedule_dream_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["ScheduleDreamRequest"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_peers_v3_workspaces__workspace_id__peers_list_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["PeerGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Peer_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_or_create_peer_v3_workspaces__workspace_id__peers_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["PeerCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Peer"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
update_peer_v3_workspaces__workspace_id__peers__peer_id__put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["PeerUpdate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Peer"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_sessions_for_peer_v3_workspaces__workspace_id__peers__peer_id__sessions_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["SessionGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Session_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
chat_v3_workspaces__workspace_id__peers__peer_id__chat_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["DialecticOptions"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": {
|
|
/** Content */
|
|
content: string | null;
|
|
};
|
|
"text/event-stream": unknown;
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_representation_v3_workspaces__workspace_id__peers__peer_id__representation_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["PeerRepresentationGet"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["RepresentationResponse"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_peer_card_v3_workspaces__workspace_id__peers__peer_id__card_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Optional target peer to retrieve a card for, from the observer's perspective. If not provided, returns the observer's own card */
|
|
target?: string | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
/** @description ID of the observer peer */
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["PeerCardResponse"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
set_peer_card_v3_workspaces__workspace_id__peers__peer_id__card_put: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Optional target peer to set a card for, from the observer's perspective. If not provided, sets the observer's own card */
|
|
target?: string | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
/** @description ID of the observer peer */
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["PeerCardSet"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["PeerCardResponse"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_peer_context_v3_workspaces__workspace_id__peers__peer_id__context_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Optional target peer to get context for, from the observer's perspective. If not provided, returns the observer's own context (self-observation) */
|
|
target?: string | null;
|
|
/** @description Optional query to curate the representation around semantic search results */
|
|
search_query?: string | null;
|
|
/** @description Only used if `search_query` is provided. Number of semantic-search-retrieved conclusions to include */
|
|
search_top_k?: number | null;
|
|
/** @description Only used if `search_query` is provided. Maximum distance for semantically relevant conclusions */
|
|
search_max_distance?: number | null;
|
|
/** @description Whether to include the most frequent conclusions in the representation */
|
|
include_most_frequent?: boolean;
|
|
/** @description Maximum number of conclusions to include in the representation */
|
|
max_conclusions?: number | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
/** @description ID of the observer peer */
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["PeerContext"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
search_peer_v3_workspaces__workspace_id__peers__peer_id__search_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageSearchOptions"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_sessions_v3_workspaces__workspace_id__sessions_list_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["SessionGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Session_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_or_create_session_v3_workspaces__workspace_id__sessions_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["SessionCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
update_session_v3_workspaces__workspace_id__sessions__session_id__put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["SessionUpdate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
delete_session_v3_workspaces__workspace_id__sessions__session_id__delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
202: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": unknown;
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
clone_session_v3_workspaces__workspace_id__sessions__session_id__clone_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Message ID to cut off the clone at */
|
|
message_id?: string | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
201: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_session_peers_v3_workspaces__workspace_id__sessions__session_id__peers_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Peer_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
set_session_peers_v3_workspaces__workspace_id__sessions__session_id__peers_put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": {
|
|
[key: string]: components["schemas"]["SessionPeerConfig"];
|
|
};
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
add_peers_to_session_v3_workspaces__workspace_id__sessions__session_id__peers_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": {
|
|
[key: string]: components["schemas"]["SessionPeerConfig"];
|
|
};
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
remove_peers_from_session_v3_workspaces__workspace_id__sessions__session_id__peers_delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": string[];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Session"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_peer_config_v3_workspaces__workspace_id__sessions__session_id__peers__peer_id__config_get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["SessionPeerConfig"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
set_peer_config_v3_workspaces__workspace_id__sessions__session_id__peers__peer_id__config_put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
peer_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["SessionPeerConfig"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_session_context_v3_workspaces__workspace_id__sessions__session_id__context_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Number of tokens to use for the context. Includes summary if set to true. Includes representation and peer card if they are included in the response. If not provided, the context will be exhaustive (within 100000 tokens) */
|
|
tokens?: number | null;
|
|
/** @description A query string used to fetch semantically relevant conclusions */
|
|
search_query?: string | null;
|
|
/** @description Whether or not to include a summary *if* one is available for the session */
|
|
summary?: boolean;
|
|
/** @description The target of the perspective. If given without `peer_perspective`, will get the Honcho-level representation and peer card for this peer. If given with `peer_perspective`, will get the representation and card for this peer *from the perspective of that peer*. */
|
|
peer_target?: string | null;
|
|
/** @description A peer to get context for. If given, response will attempt to include representation and card from the perspective of that peer. Must be provided with `peer_target`. */
|
|
peer_perspective?: string | null;
|
|
/** @description Only used if `search_query` is provided. Whether to limit the representation to the session (as opposed to everything known about the target peer) */
|
|
limit_to_session?: boolean;
|
|
/** @description Only used if `search_query` is provided. The number of semantic-search-retrieved conclusions to include in the representation */
|
|
search_top_k?: number | null;
|
|
/** @description Only used if `search_query` is provided. The maximum distance to search for semantically relevant conclusions */
|
|
search_max_distance?: number | null;
|
|
/** @description Only used if `search_query` is provided. Whether to include the most frequent conclusions in the representation */
|
|
include_most_frequent?: boolean;
|
|
/** @description Only used if `search_query` is provided. The maximum number of conclusions to include in the representation */
|
|
max_conclusions?: number | null;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["SessionContext"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_session_summaries_v3_workspaces__workspace_id__sessions__session_id__summaries_get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["SessionSummaries"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
search_session_v3_workspaces__workspace_id__sessions__session_id__search_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageSearchOptions"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
create_messages_for_session_v3_workspaces__workspace_id__sessions__session_id__messages_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageBatchCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
201: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
create_messages_with_file_v3_workspaces__workspace_id__sessions__session_id__messages_upload_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"multipart/form-data": components["schemas"]["Body_create_messages_with_file_v3_workspaces__workspace_id__sessions__session_id__messages_upload_post"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
201: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_messages_v3_workspaces__workspace_id__sessions__session_id__messages_list_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Whether to reverse the order of results */
|
|
reverse?: boolean | null;
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Message_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_message_v3_workspaces__workspace_id__sessions__session_id__messages__message_id__get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
message_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
update_message_v3_workspaces__workspace_id__sessions__session_id__messages__message_id__put: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
session_id: string;
|
|
message_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["MessageUpdate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Message"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
create_conclusions_v3_workspaces__workspace_id__conclusions_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["ConclusionBatchCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
201: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Conclusion"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
list_conclusions_v3_workspaces__workspace_id__conclusions_list_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Whether to reverse the order of results */
|
|
reverse?: boolean | null;
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: {
|
|
content: {
|
|
"application/json": components["schemas"]["ConclusionGet"] | null;
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_Conclusion_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
query_conclusions_v3_workspaces__workspace_id__conclusions_query_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["ConclusionQuery"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Conclusion"][];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
delete_conclusion_v3_workspaces__workspace_id__conclusions__conclusion_id__delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
workspace_id: string;
|
|
conclusion_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
create_key_v3_keys_post: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description ID of the workspace to scope the key to */
|
|
workspace_id?: string | null;
|
|
/** @description ID of the peer to scope the key to */
|
|
peer_id?: string | null;
|
|
/** @description ID of the session to scope the key to */
|
|
session_id?: string | null;
|
|
expires_at?: string | null;
|
|
};
|
|
header?: never;
|
|
path?: never;
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": unknown;
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
list_webhook_endpoints_v3_workspaces__workspace_id__webhooks_get: {
|
|
parameters: {
|
|
query?: {
|
|
/** @description Page number */
|
|
page?: number;
|
|
/** @description Page size */
|
|
size?: number;
|
|
};
|
|
header?: never;
|
|
path: {
|
|
/** @description Workspace ID */
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["Page_WebhookEndpoint_"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
get_or_create_webhook_endpoint_v3_workspaces__workspace_id__webhooks_post: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
/** @description Workspace ID */
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["WebhookEndpointCreate"];
|
|
};
|
|
};
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
delete_webhook_endpoint_v3_workspaces__workspace_id__webhooks__endpoint_id__delete: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
/** @description Workspace ID */
|
|
workspace_id: string;
|
|
/** @description Webhook endpoint ID */
|
|
endpoint_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
204: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content?: never;
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
test_emit_v3_workspaces__workspace_id__webhooks_test_get: {
|
|
parameters: {
|
|
query?: never;
|
|
header?: never;
|
|
path: {
|
|
/** @description Workspace ID */
|
|
workspace_id: string;
|
|
};
|
|
cookie?: never;
|
|
};
|
|
requestBody?: never;
|
|
responses: {
|
|
/** @description Successful Response */
|
|
200: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": unknown;
|
|
};
|
|
};
|
|
/** @description Validation Error */
|
|
422: {
|
|
headers: {
|
|
[name: string]: unknown;
|
|
};
|
|
content: {
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|