Cognee Validate API

Diagnostic endpoint for checking consistency between a dataset's graph and vector stores.

Operations 1

GET /api/v1/validate Run Validate #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cognee:cognee-validate-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

cognee-validate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cognee Validate 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: Validate
  description: Diagnostic endpoint for checking consistency between a dataset's graph and vector stores.
paths:
  /api/v1/validate:
    get:
      tags:
      - Validate
      summary: Run Validate
      description: 'Cross-check the graph and vector stores of a dataset for consistency.


        Detects orphaned edges (referencing deleted nodes), nodes whose id no

        longer matches cognee''s own dedup contract, and nodes present in the

        graph but missing from the vector index (unreachable by semantic

        search). Read-only — never modifies any store.


        ## Query Parameters

        - **dataset** (List[str]): Dataset name(s) to validate. Omit to validate the default

        dataset.'
      operationId: run_validate_api_v1_validate_get
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      parameters:
      - name: dataset
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
          description: Dataset name(s) to validate. Omit to validate the default dataset.
          default:
          - main_dataset
          title: Dataset
        description: Dataset name(s) to validate. Omit to validate the default dataset.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationReport'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IssueType:
      type: string
      enum:
      - orphaned_edge
      - identity_id_mismatch
      - missing_vector_entry
      title: IssueType
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationIssue:
      properties:
        severity:
          $ref: '#/components/schemas/IssueSeverity'
        type:
          $ref: '#/components/schemas/IssueType'
        detail:
          type: string
          title: Detail
      type: object
      required:
      - severity
      - type
      - detail
      title: ValidationIssue
    ValidationStatus:
      type: string
      enum:
      - healthy
      - degraded
      - unhealthy
      title: ValidationStatus
    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
    IssueSeverity:
      type: string
      enum:
      - error
      - warning
      title: IssueSeverity
    ValidationReport:
      properties:
        status:
          $ref: '#/components/schemas/ValidationStatus'
        summary:
          additionalProperties: true
          type: object
          title: Summary
        issues:
          items:
            $ref: '#/components/schemas/ValidationIssue'
          type: array
          title: Issues
      type: object
      required:
      - status
      - summary
      - issues
      title: ValidationReport
  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)