@human2human/sdk
v0.3.0
Published
api (1.0.0)
Readme
Human 2 Human API - Typescript
api (1.0.0)
Getting Started
Example Client Initialization
import Client from "api_ts";
const client = new Client({
apiKey: process.env["API_KEY"]!!,
token: process.env["API_TOKEN"]!!,
});Module Documentation and Snippets
agent.build.workflow
auth.login
- create - Log in
auth.refresh
- create - Refresh an auth token
chats
feeds
feeds.items
feeds.vector.search
- create - Run a query against feed embeddings
integrations.api
- create - Create a new API integration
- delete - Delete an API integration
- get - Get an API integration by ID
integrations.api.operations
- create - Create a new API operation
- delete - Delete an API operation
- get - Get an API operation by ID
- patch - Update an API operation
integrations.api.secrets
- create - Create a new API secret
- delete - Delete an API secret
- list - Get all API secrets for an API integration
memory.tables
- create - Create a memory table
- delete - Delete a memory table
- get - Get a memory table
- list - List memory tables
memory.tables.mutate
- create - Mutate a memory table
memory.tables.query
- create - Query a memory table
searchGroups
searchGroups.items
- create - Create a new search item in a search group
- get - Get a search item by id
- list - List search items in a search group
subscriptions.events
- create - Create an event subscription
- delete - Delete an event subscription
- get - Get an event subscription
- list - List event subscriptions
tools
- list - List tools
tools.codeExecution
- create - Execute code
tools.dictionarySearch
- create - Search dictionary definitions
tools.format
- create - Format content
tools.internetSearch
- create - Run internet search
tools.memoryQuery
- create - Query memory
tools.metaTagger
- create - Apply meta tags
tools.standardLlm
- create - Run standard LLM
tools.structuredOutput
- create - Generate structured output
workflows
- create - Create a workflow
- delete - Delete a workflow
- get - Get a workflow
- list - List workflows
- patch - Update a workflow
workflows.dispatch
- create - Dispatch a workflow
workflows.invoke
- create - Invoke a workflow
workflows.runs
- create - Create a workflow run
- delete - Delete a workflow run
- get - Get a workflow run
- list - List workflow runs
workflows.runs.dispatch
- create - Dispatch a workflow run
