Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/cognee-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Cognee REST agents Search API
description: 'The Cognee REST API provides endpoints for the complete AI memory lifecycle, including data ingestion, knowledge graph construction, and semantic retrieval. Core endpoints cover adding raw text or documents, triggering the cognify pipeline that extracts entities and relationships via LLM, executing multi-mode search queries, managing datasets, and creating agent identities. The API uses X-Api-Key header authentication for cloud deployments and Bearer token auth for self-hosted instances.
'
version: 1.0.0
contact:
name: Cognee Support
url: https://docs.cognee.ai/api-reference/introduction
license:
name: Apache 2.0
url: https://github.com/topoteretes/cognee/blob/main/LICENSE
servers:
- url: https://api.cognee.ai
description: Cognee Cloud (managed)
- url: http://localhost:8000
description: Self-hosted (Docker / local)
security:
- BearerAuth: []
- ApiKeyAuth: []
tags:
- name: search
description: Semantic and graph search queries
paths:
/api/v1/search:
get:
operationId: getSearchHistory
summary: Get search history for the authenticated user
description: 'Retrieves the search history for the authenticated user, returning a list of previously executed searches with their timestamps.
'
tags:
- search
security:
- BearerAuth: []
- ApiKeyAuth: []
responses:
'200':
description: List of search history items
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SearchHistoryItem'
'403':
description: Permission denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
post:
operationId: search
summary: Search the knowledge graph
description: 'Perform semantic search across the knowledge graph using one of 16 search types including GRAPH_COMPLETION, RAG_COMPLETION, SUMMARIES, CHUNKS, CYPHER, TEMPORAL, AGENTIC_COMPLETION and more. Supports dataset scoping and pagination.
'
tags:
- search
security:
- BearerAuth: []
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SearchPayload'
example:
search_type: GRAPH_COMPLETION
query: What are the main topics in the research papers?
datasets:
- research_papers
top_k: 10
only_context: false
responses:
'200':
description: List of search results from the knowledge graph
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SearchResult'
'403':
description: Permission denied (returns empty list)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error or search prerequisites not met
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ErrorResponse:
type: object
properties:
error:
type: string
description: Short error message
detail:
type:
- string
- 'null'
description: Detailed error description
required:
- error
SearchPayload:
type: object
required:
- query
properties:
search_type:
$ref: '#/components/schemas/SearchType'
default: GRAPH_COMPLETION
datasets:
type:
- array
- 'null'
items:
type: string
description: Dataset names to search (resolved to datasets owned by caller)
dataset_ids:
type:
- array
- 'null'
items:
type: string
format: uuid
description: Dataset UUIDs to search (allows cross-user access if permitted)
example: []
query:
type: string
description: The search query string
default: What is in the document?
system_prompt:
type:
- string
- 'null'
description: System prompt for completion-type searches
default: Answer the question using the provided context. Be as brief as possible.
node_name:
type:
- array
- 'null'
items:
type: string
description: Filter results to specific node_sets from the add pipeline
top_k:
type:
- integer
- 'null'
description: Maximum number of results to return
default: 10
only_context:
type: boolean
description: Return only context without LLM completion call
default: false
verbose:
type: boolean
description: Return verbose results
default: false
skills:
type:
- array
- 'null'
items:
type: string
description: Skills to enable for agentic search
tools:
type:
- array
- 'null'
items:
type: string
description: Tools to enable for agentic search
max_iter:
type:
- integer
- 'null'
description: Maximum iterations for agentic search
SearchHistoryItem:
type: object
properties:
id:
type: string
format: uuid
text:
type: string
user:
type: string
created_at:
type: string
format: date-time
required:
- id
- text
- user
- created_at
SearchType:
type: string
enum:
- SUMMARIES
- CHUNKS
- RAG_COMPLETION
- TRIPLET_COMPLETION
- GRAPH_COMPLETION
- GRAPH_COMPLETION_DECOMPOSITION
- GRAPH_SUMMARY_COMPLETION
- CYPHER
- NATURAL_LANGUAGE
- GRAPH_COMPLETION_COT
- GRAPH_COMPLETION_CONTEXT_EXTENSION
- FEELING_LUCKY
- TEMPORAL
- CODING_RULES
- CHUNKS_LEXICAL
- AGENTIC_COMPLETION
description: Type of search to perform against the knowledge graph
SearchResult:
type: object
description: A single result node from the knowledge graph
additionalProperties: true
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Bearer token authentication for self-hosted instances
ApiKeyAuth:
type: apiKey
in: header
name: X-Api-Key
description: API key authentication for Cognee Cloud deployments
externalDocs:
description: Cognee API Reference
url: https://docs.cognee.ai/api-reference/introduction