Cognee agent management API
Endpoints for creating, listing, retrieving, and deleting agents.
Endpoints for creating, listing, retrieving, and deleting agents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/cognee:cognee-agent-management-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Cognee agent management API
description: Cognee API with Bearer token and Cookie auth
version: 1.0.0
servers:
- url: https://{tenant}.aws.cognee.ai
description: 'Cognee Cloud: your tenant pod, named in the platform.cognee.ai dashboard'
variables:
tenant:
default: your-tenant
description: Your tenant name, shown in the Cognee Cloud dashboard
- url: http://localhost:8000
description: 'Self-hosted: a locally running cognee server'
security:
- BearerAuth: []
- ApiKeyAuth: []
tags:
- name: agent management
description: Endpoints for creating, listing, retrieving, and deleting agents.
paths:
/api/v1/agents/list:
get:
tags:
- agent management
summary: List Agents Endpoint
description: List agents endpoint — GET /api/v1/agents/list.
operationId: list_agents_endpoint_api_v1_agents_list_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/AgentDTO'
type: array
title: Response List Agents Endpoint Api V1 Agents List Get
security:
- BearerAuth: []
- ApiKeyAuth: []
/api/v1/agents/create:
post:
tags:
- agent management
summary: Create Agent Endpoint
description: 'Create agent endpoint — POST /api/v1/agents/create.
## Query Parameters
- **name** (str): Unique name for the new agent user; a conflict is returned if an
agent with this name exists.'
operationId: create_agent_endpoint_api_v1_agents_create_post
security:
- BearerAuth: []
- ApiKeyAuth: []
parameters:
- name: name
in: query
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentWithApiKeyDTO'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/agents/{agent_id}:
get:
tags:
- agent management
summary: Get Agent Endpoint
description: 'Get agent endpoint — GET /api/v1/agents/\{agent_id\}.
## Path Parameters
- **agent_id** (UUID): The agent''s user ID (from GET /api/v1/agents/list).'
operationId: get_agent_endpoint_api_v1_agents__agent_id__get
security:
- BearerAuth: []
- ApiKeyAuth: []
parameters:
- name: agent_id
in: path
required: true
schema:
type: string
format: uuid
title: Agent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDTO'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- agent management
summary: Delete Agent Endpoint
description: 'Delete agent endpoint — DELETE /api/v1/agents/\{agent_id\}.
## Path Parameters
- **agent_id** (UUID): The agent''s user ID (from GET /api/v1/agents/list).'
operationId: delete_agent_endpoint_api_v1_agents__agent_id__delete
security:
- BearerAuth: []
- ApiKeyAuth: []
parameters:
- name: agent_id
in: path
required: true
schema:
type: string
format: uuid
title: Agent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AgentWithApiKeyDTO:
properties:
agentId:
type: string
format: uuid
title: Agentid
agentEmail:
type: string
title: Agentemail
agentApiKey:
type: string
title: Agentapikey
type: object
required:
- agentId
- agentEmail
- agentApiKey
title: AgentWithApiKeyDTO
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
AgentDTO:
properties:
agentId:
type: string
format: uuid
title: Agentid
agentEmail:
type: string
title: Agentemail
apiKeyLabel:
anyOf:
- type: string
- type: 'null'
title: Apikeylabel
type: object
required:
- agentId
- agentEmail
title: AgentDTO
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-Api-Key
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
CookieAuth:
type: apiKey
in: cookie
name: auth_token
x-provenance:
method: harvested
publisher: Cognee
source: https://docs.cognee.ai/cognee_openapi_spec.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)