Cortex Discovery Audit API

The Discovery Audit API from Cortex — 1 operation(s) for discovery audit.

Operations 1

GET /api/v1/discovery-audit Retrieve discovery audit report #

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/cortex-idp:cortex-idp-discovery-audit-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

cortex-idp-discovery-audit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Cortex REST API provides programmatic access to the data in the catalog, Scorecards, and more.
  title: Cortex Discovery Audit API
  version: v1
servers:
- url: https://api.getcortexapp.com
  description: Cortex Cloud API host
security:
- bearerAuth: []
tags:
- name: Discovery Audit
paths:
  /api/v1/discovery-audit:
    get:
      description: This report shows you recent changes in your environment that aren't reflected in Cortex, including newly created repositories, services, and resources that we discover from your integrations or which were deleted in the environment but corresponding Cortex entities are still present.
      operationId: getDiscoveryAudit
      parameters:
      - description: Filter based on type of the event
        in: query
        name: type
        required: false
        schema:
          type: string
          enum:
          - NEW_REPOSITORY
          - REPOSITORY_DELETED
          - REPOSITORY_ARCHIVED
          - NEW_K8S_RESOURCE
          - NEW_APM_RESOURCE
          - APM_RESOURCE_NOT_DETECTED
          - NEW_AWS_RESOURCE
          - AWS_RESOURCE_NOT_DETECTED
          - NEW_GOOGLE_CLOUD_RESOURCE
          - GOOGLE_CLOUD_RESOURCE_NOT_DETECTED
          - NEW_AZURE_RESOURCE
          - AZURE_RESOURCE_NOT_DETECTED
      - description: Filter based on integration source
        in: query
        name: source
        required: false
        schema:
          type: string
          enum:
          - AWS
          - AZURE_DEVOPS
          - AZURE_RESOURCES
          - BITBUCKET
          - DATADOG
          - DYNATRACE
          - GCP
          - GITHUB
          - GITLAB
          - INSTANA
          - K8S
          - LIGHTSTEP
          - LAMBDA_CLOUD_CONTROL
          - NEWRELIC
          - SERVICENOW
          - SERVICENOW_DOMAIN
      - description: Flag to include ignored events in result
        in: query
        name: includeIgnored
        required: false
        schema:
          type: boolean
          default: false
      - description: Number of results to return per page, between 1 and 1000. Default 250.
        in: query
        name: pageSize
        required: true
        schema:
          type: integer
          format: int32
          default: 250
      - description: Page number to return, 0-indexed. Default 0.
        in: query
        name: page
        required: true
        schema:
          type: integer
          format: int32
          default: 0
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscoveryAuditReportResponse'
          description: Successfully retrieved discovery audit report
        '429':
          $ref: '#/components/responses/TooManyRequests'
      summary: Retrieve discovery audit report
      tags:
      - Discovery Audit
      x-cortex-mcp-enabled: 'false'
components:
  schemas:
    NEWRELIC:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - id
        type: object
        properties:
          id:
            type: string
    SERVICENOW:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - id
        - tableName
        type: object
        properties:
          id:
            type: string
          tableName:
            type: string
    DYNATRACE:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - entityId
        type: object
        properties:
          entityId:
            type: string
    DiscoveryAuditReportResponse:
      required:
      - events
      - page
      - total
      - totalPages
      type: object
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/DiscoveryAuditEvent'
        page:
          type: integer
          description: Current page number, 0-indexed
          format: int32
        total:
          type: integer
          description: Total number of results
          format: int32
        totalPages:
          type: integer
          description: Total number of pages
          format: int32
    BITBUCKET:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - repoName
        type: object
        properties:
          alias:
            type: string
          basePath:
            type: string
          repoName:
            type: string
    INSTANA:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - label
        type: object
        properties:
          label:
            type: string
    LIGHTSTEP:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - name
        type: object
        properties:
          name:
            type: string
    AZURE_RESOURCES:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - identifier
        type: object
        properties:
          alias:
            type: string
          identifier:
            type: string
    AZURE_DEVOPS:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - projectName
        - repoName
        type: object
        properties:
          alias:
            type: string
          basePath:
            type: string
          projectName:
            type: string
          repoName:
            type: string
    CortexEntity:
      required:
      - name
      - tag
      - type
      type: object
      properties:
        description:
          type: string
          description: Description of the entity visible in the catalog. This may contain markdown.
        name:
          type: string
          description: Human-readable name for the entity
          example: My Favorite Entity
        tag:
          type: string
          description: Unique identifier for the entity. Corresponds to the x-cortex-tag field in the entity descriptor.
          example: my-favorite-entity
        type:
          type: string
          description: Type of the entity. Corresponds to the x-cortex-type field in the entity descriptor or 'service' for services.
          example: service
      description: Related Cortex entity
    GCP:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - projectId
        - resourceName
        - resourceType
        type: object
        properties:
          projectId:
            type: string
          resourceName:
            type: string
          resourceType:
            type: string
            enum:
            - AI_DATASET
            - AI_ENDPOINT
            - AI_FEATURESTORE
            - AI_PLATFORM_INDEX_ENDPOINT
            - AI_INDEX
            - AI_BATCH_PREDICTION_JOB
            - AI_MODEL_DEPLOYMENT_MONITORING_JOB
            - AI_MODEL
            - AI_TRAINING_PIPELINE
            - AI_PIPELINE_JOB
            - AI_SPECIALIST_POOL
            - AI_TENSORBOARD
            - AI_STUDY
            - AI_NOTEBOOK_INSTANCE
            - AI_VISION_APPLICATION
            - AI_VISION_PROCESSOR
            - AI_VISION_OPERATOR
            - AI_VISION_CLUSTER
            - APP_ENGINE_SERVICE
            - ARTIFACT_REGISTRY_REPOSITORY
            - BIGQUERY_CONNECTION
            - BIGQUERY_DATASET
            - FUNCTION
            - GKE_CLUSTER
            - GKE_OPERATION
            - INSTANCE_GROUP
            - LOAD_BALANCER
            - SQL
            - STORAGE
            - TOPIC
            - VM_INSTANCE
            - MEMORYSTORE_REDIS
            - MEMORYSTORE_MEMCACHED
            - RUN_SERVICE
            - RUN_JOB
            - COMPOSER_ENVIRONMENT
            - IAM_SERVICE_ACCOUNT
            - SPANNER_INSTANCE_CONFIG
            - SPANNER_INSTANCE
            - VPC_SERVERLESS_CONNECTOR
            - APIGEE_INSTANCE
            - APIGEE_API
            - PROJECT
    DATADOG:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - serviceName
        type: object
        properties:
          serviceName:
            type: string
    GITHUB:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - repoName
        type: object
        properties:
          alias:
            type: string
          basePath:
            type: string
          repoName:
            type: string
    AWS:
      type: object
      discriminator:
        propertyName: type
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - type
        type: object
        properties:
          type:
            type: string
    DiscoveryAuditEvent:
      required:
      - isIgnored
      - mappingKey
      - source
      - type
      type: object
      properties:
        entity:
          $ref: '#/components/schemas/CortexEntity'
        isIgnored:
          type: boolean
          description: Specifies whether discovered event is marked as ignored
          example: true
        mappingKey:
          $ref: '#/components/schemas/EntityDiscoveryKey'
        source:
          type: string
          description: Integration source
          example: AWS
          enum:
          - AWS
          - AZURE_DEVOPS
          - AZURE_RESOURCES
          - BITBUCKET
          - DATADOG
          - DYNATRACE
          - GCP
          - GITHUB
          - GITLAB
          - INSTANA
          - K8S
          - LIGHTSTEP
          - LAMBDA_CLOUD_CONTROL
          - NEWRELIC
          - SERVICENOW
          - SERVICENOW_DOMAIN
        type:
          type: string
          description: Type of the event
          example: NEW_REPOSITORY
          enum:
          - NEW_REPOSITORY
          - REPOSITORY_DELETED
          - REPOSITORY_ARCHIVED
          - NEW_K8S_RESOURCE
          - NEW_APM_RESOURCE
          - APM_RESOURCE_NOT_DETECTED
          - NEW_AWS_RESOURCE
          - AWS_RESOURCE_NOT_DETECTED
          - NEW_GOOGLE_CLOUD_RESOURCE
          - GOOGLE_CLOUD_RESOURCE_NOT_DETECTED
          - NEW_AZURE_RESOURCE
          - AZURE_RESOURCE_NOT_DETECTED
    K8S:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - identifier
        - k8sType
        type: object
        properties:
          identifier:
            type: string
          k8sType:
            type: string
            enum:
            - DEPLOYMENT
            - STATEFUL_SET
            - ARGO_ROLLOUT
            - CRON_JOB
    EntityDiscoveryKey:
      required:
      - type
      type: object
      properties:
        type:
          type: string
      description: Mapping key of the event. Its schema is dependent on the source
      example:
        type: AWS
        arn: arn
      discriminator:
        propertyName: type
      oneOf:
      - $ref: '#/components/schemas/AWS'
      - $ref: '#/components/schemas/AZURE_DEVOPS'
      - $ref: '#/components/schemas/AZURE_RESOURCES'
      - $ref: '#/components/schemas/BITBUCKET'
      - $ref: '#/components/schemas/DATADOG'
      - $ref: '#/components/schemas/DYNATRACE'
      - $ref: '#/components/schemas/GCP'
      - $ref: '#/components/schemas/GITHUB'
      - $ref: '#/components/schemas/GITLAB'
      - $ref: '#/components/schemas/INSTANA'
      - $ref: '#/components/schemas/K8S'
      - $ref: '#/components/schemas/LIGHTSTEP'
      - $ref: '#/components/schemas/NEWRELIC'
      - $ref: '#/components/schemas/SERVICENOW'
    GITLAB:
      type: object
      allOf:
      - $ref: '#/components/schemas/EntityDiscoveryKey'
      - required:
        - projectId
        type: object
        properties:
          alias:
            type: string
          basePath:
            type: string
          projectId:
            type: string
    TooManyRequestsProblemDetail:
      required:
      - type
      - title
      - status
      type: object
      properties:
        detail:
          type: string
        instance:
          type: string
          format: uri-reference
        retryAfter:
          minimum: 0
          type: integer
          description: The number of seconds until the rate limiting resets.
          format: int32
        status:
          maximum: 599
          minimum: 100
          type: integer
          format: int32
          enum:
          - 429
        title:
          type: string
        type:
          type: string
          format: uri-reference
  responses:
    TooManyRequests:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/TooManyRequestsProblemDetail'
      description: The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
      headers:
        Retry-After:
          description: The number of seconds until the rate limiting resets.
          schema:
            minimum: 0
            type: integer
            format: int32
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: 'All requests to the Cortex API need to provide an `Authorization: Bearer <token>` header, where `<token>` is an API key created in the Settings page of your workspace.'
      scheme: bearer
      type: http
x-provenance:
  method: harvested
  publisher: Cortex
  source: https://docs.cortex.io/openapi/cortex_swagger.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)