Skip to content

Latest commit

 

History

History
133 lines (96 loc) · 14.6 KB

api.md

File metadata and controls

133 lines (96 loc) · 14.6 KB

Apps

Types:

from honcho.types import App

Methods:

Users

Types:

from honcho.types.apps import PageUser, User

Methods:

Metamessages

Methods:

Sessions

Types:

from honcho.types.apps.users import (
    AgentChat,
    PageSession,
    Session,
    SessionDeleteResponse,
    SessionStreamResponse,
)

Methods:

Messages

Types:

from honcho.types.apps.users.sessions import Message, PageMessage, MessageBatchResponse

Methods:

Metamessages

Types:

from honcho.types.apps.users.sessions import Metamessage, PageMetamessage

Methods:

Collections

Types:

from honcho.types.apps.users import Collection, PageCollection, CollectionDeleteResponse

Methods:

Documents

Types:

from honcho.types.apps.users.collections import (
    Document,
    PageDocument,
    DocumentDeleteResponse,
    DocumentQueryResponse,
)

Methods:

  • client.apps.users.collections.documents.create(collection_id, *, app_id, user_id, **params) -> Document
  • client.apps.users.collections.documents.update(document_id, *, app_id, user_id, collection_id, **params) -> Document
  • client.apps.users.collections.documents.list(collection_id, *, app_id, user_id, **params) -> SyncPage[Document]
  • client.apps.users.collections.documents.delete(document_id, *, app_id, user_id, collection_id) -> object
  • client.apps.users.collections.documents.get(document_id, *, app_id, user_id, collection_id) -> Document
  • client.apps.users.collections.documents.query(collection_id, *, app_id, user_id, **params) -> DocumentQueryResponse