Skip to content
withoneaiPublic

About

The world's largest API knowledge base, built for agents.

Resources

Stars

267 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One Knowledge. The world's largest API knowledge base, built for agents.

One Knowledge

API directory  ·  How to use it  ·  Docs  ·  Website  ·  Dashboard  ·  Changelog

platforms   verified tools   License OKCL-1.0

Agents fail against real systems in predictable ways. Wrong parameters, invented endpoints, an API that changed on Tuesday. One Knowledge knows how each action works before the agent runs it. Every parameter, every auth flow, every edge case. Structured for machines and verified by humans.

Tools are tested before they are made available to agents. The knowledge is open source, so one fix reaches every agent, and this repo is its public home. Search an app and read its actions in the API directory, read the same knowledge over the open API, and open an issue here when something is wrong or missing.

Use it from your agent

Point any MCP agent at One's hosted server and sign in when it asks.

claude mcp add --transport http one https://mcp.withone.ai/mcp

Or install the One CLI with npm install -g @withone/cli and run one init. Setup guides are at withone.ai/mcp.

Every task then follows the same three steps. The second one returns the knowledge, with the required parameters and the validation rules.

# What am I connected to?
one list

# Which action, and how? Its knowledge comes back with it.
one actions find gmail "send an email"

# Do it, through your own connection.
one actions execute gmail <actionId> <connectionKey>

Over MCP the same steps are list_one_integrations, find_one_actions and execute_one_action.

Read it over the API

The open API returns the same knowledge. Send a free API key in the x-one-secret header. The base URL is https://api.withone.ai.

Endpoint Returns
GET /open/knowledge/:platform The platform's overview
GET /open/knowledge/:platform/auth Its authentication details
GET /open/knowledge/:platform/actions Its actions, paged with page (from 1) and limit (default 20, max 150)
GET /open/knowledge/:platform/actions/search?query= The actions that match, with an optional limit
GET /open/knowledge/:platform/actions/:actionId One action's full knowledge
GET /open/count/platforms and GET /open/count/tools Live counts as shields.io badge JSON. No key needed
# Airtable's overview
curl 'https://api.withone.ai/open/knowledge/airtable' \
  --header 'x-one-secret: YOUR_ONE_API_KEY'

# Find an action, then read it by its id
curl 'https://api.withone.ai/open/knowledge/airtable/actions/search?query=list%20bases' \
  --header 'x-one-secret: YOUR_ONE_API_KEY'
curl 'https://api.withone.ai/open/knowledge/airtable/actions/ACTION_ID' \
  --header 'x-one-secret: YOUR_ONE_API_KEY'

Knowledge comes back as Markdown with YAML front matter, in a markdown field. An action list comes back as { rows, total, pages, page }, and each row carries the action's id, title, method and path. Search returns the matching rows as an array.

What is in an action

Every action is one Markdown document, and every document has the same parts.

Part What it holds
Metadata YAML front matter with the platform, category, version, license, maintainer and the date it was last updated
Authentication OAuth details, required credentials, scopes and token refresh
Method, URL and headers The call itself, with its prerequisites and a description
Parameters Required and optional path, query and body parameters, with types and descriptions
Enforcement rules Constraints that keep a call correct, such as query against body, with valid and invalid examples
Response The structure of each outcome, with field types and descriptions
Examples A sample request and worked usage examples
Behavior and notes What the call does step by step, and its limits and caveats

Fix something or request a platform

One maintains the knowledge, and one fix reaches every agent that reads it. If something is outdated, incorrect or missing, open an issue.

License

One Knowledge is released under the One Knowledge Commons License v1.0 (OKCL-1.0). It is free to use, modify and distribute with attribution. It may not be used to build a competing knowledge base, and companies that sell integration or agent infrastructure and earn more than $1M a year need a commercial license. Read the full text before you build on it.

About

The world's largest API knowledge base, built for agents.

Resources

Stars

267 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors