@human2human/sdk
v0.1.0
Published
api (1.0.0)
Downloads
71
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 - Get token
auth.refresh
- create - Refresh 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
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
tools
- list - Get all tools
tools.codeExecution
- create - Execute code and return the result
tools.dictionarySearch
- create - Search for dictionary definitions related to a feed item
tools.format
- create - Format an input into HTML or Markdown
tools.internetSearch
- create - Internet search tool
tools.memoryQuery
- create - Query the memory table
tools.metaTagger
- create - Meta Tag a feed item
tools.standardLlm
- create - Standard LLM tool
tools.structuredOutput
- create - Structured output tool
workflow.run.trigger
- create - Trigger a new workflow run
workflows.dispatch
- create - Dispatch a new workflow run. This is an asynchronous call that will return the workflow run ID and allow you to poll for the result.
workflows.invoke
- create - Invoke a new workflow run. This is a synchronous call that will wait for the workflow run to complete and return the result.
