Cast AI Components API

Provides an API to manage CASTware components.

Operations 8

GET /ai-optimizer/v1beta/organizations/{organizationId}/clusters/{clusterId}/components List CASTware components #
POST /v1/clusters/{clusterId}/components/{component}/audit IngestEvents accepts audit events from CAST AI components running outside of… #
POST /v1/clusters/{clusterId}/components/{component}/audit/v2 IngestAuditV2 accepts v2 audit events from CAST AI components running outside… #
POST /v1/clusters/{clusterId}/components/{component}/events IngestEvents accepts events from CAST AI components running outside of the… #
POST /v1/clusters/{clusterId}/components/{component}/logs IngestLogs accepts logs from CAST AI components running outside of the… #
POST /v1/clusters/{clusterId}/components/{component}/metrics IngestMetrics accepts prometheus metrics from components running outside of the… #
POST /v1/organizations/{organizationId}/cache-groups/{cacheGroupId}/components/{component}/logs CacheGroupLogs accepts logs, for a give cache group, from CAST AI components… #
POST /v1/organizations/{organizationId}/database-instances/{databaseInstanceId}/components/{component}/logs IngestDBAgentLogs accepts logs, for a given database instance, from CAST AI… #

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/kimchi:kimchi-componentsapi-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

kimchi-componentsapi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kimchi Components API
  version: '1.0'
  description: 'Operations tagged ComponentsAPI across 2 of this provider''s published API definitions: kimchi-ai-enabler-api-openapi.yml, kimchi-cast-ai-api-documentation-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cast.ai/
  description: US endpoint
- url: https://api.eu.cast.ai/
  description: EU endpoint
security:
- BearerAuth: []
- ApiKeyAuth: []
tags:
- name: ComponentsAPI
  description: Provides an API to manage CASTware components.
paths:
  /ai-optimizer/v1beta/organizations/{organizationId}/clusters/{clusterId}/components:
    get:
      tags:
      - ComponentsAPI
      summary: List CASTware components
      description: 'Gets the list of CASTware components managed by AI Enabler for given organization.

        Max page limit is 1000.'
      operationId: ComponentsAPI_ListComponents
      parameters:
      - name: organizationId
        in: path
        description: The ID of the organization.
        required: true
        schema:
          type: string
      - name: clusterId
        in: path
        description: The ID of the cluster. Use "-" placeholder to list CASTware components across all clusters.
        required: true
        schema:
          type: string
      - name: page.limit
        in: query
        description: Defines the number of items that should be returned
        schema:
          type: string
      - name: page.cursor
        in: query
        description: "Cursor that defines token indicating where to start the next page.\n Empty value indicates to start from beginning of the dataset."
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListComponentsResponse'
        default:
          description: Default error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Status'
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/clusters/{clusterId}/components/{component}/audit:
    post:
      operationId: ComponentsAPI_IngestAudit
      parameters:
      - description: The ID of the cluster the component is running in.
        in: path
        name: clusterId
        required: true
        schema:
          type: string
      - description: The name of the source component for the events.
        in: path
        name: component
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/components.v1.AuditEntries'
        description: The entries to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestAuditResponse'
          description: A successful response.
      summary: IngestEvents accepts audit events from CAST AI components running outside of…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: entries
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/clusters/{clusterId}/components/{component}/audit/v2:
    post:
      operationId: ComponentsAPI_IngestAuditV2
      parameters:
      - description: The ID of the cluster the component is running in.
        in: path
        name: clusterId
        required: true
        schema:
          type: string
      - description: The name of the source component for the events.
        in: path
        name: component
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/castai.audit.v2.AuditEvent'
              type: array
        description: The v2 audit events to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestAuditV2Response'
          description: A successful response.
      summary: IngestAuditV2 accepts v2 audit events from CAST AI components running outside…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: entries
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/clusters/{clusterId}/components/{component}/events:
    post:
      operationId: ComponentsAPI_IngestEvents
      parameters:
      - description: The ID of the cluster the component is running in.
        in: path
        name: clusterId
        required: true
        schema:
          type: string
      - description: The name of the source component for the events.
        in: path
        name: component
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/components.v1.ComponentEvents'
        description: The events to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestEventsResponse'
          description: A successful response.
      summary: IngestEvents accepts events from CAST AI components running outside of the…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: events
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/clusters/{clusterId}/components/{component}/logs:
    post:
      operationId: ComponentsAPI_IngestLogs
      parameters:
      - description: The ID of the cluster the component is running in.
        in: path
        name: clusterId
        required: true
        schema:
          type: string
      - description: The name of the source component for the logs.
        in: path
        name: component
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/components.v1.ComponentLogs'
        description: The logs to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestLogsResponse'
          description: A successful response.
      summary: IngestLogs accepts logs from CAST AI components running outside of the…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: logs
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/clusters/{clusterId}/components/{component}/metrics:
    post:
      operationId: ComponentsAPI_IngestMetrics
      parameters:
      - description: The ID of the cluster the component is running in.
        in: path
        name: clusterId
        required: true
        schema:
          type: string
      - description: The name of the source component for the logs.
        in: path
        name: component
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/prometheus.WriteRequest'
        description: The request is a WriteRequest prometheus known spec https://github.com/prometheus/prometheus/blob/main/prompb/remote.proto.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestMetricsResponse'
          description: A successful response.
      summary: IngestMetrics accepts prometheus metrics from components running outside of the…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: request
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/organizations/{organizationId}/cache-groups/{cacheGroupId}/components/{component}/logs:
    post:
      operationId: ComponentsAPI_IngestCacheGroupLogs
      parameters:
      - in: path
        name: organizationId
        required: true
        schema:
          type: string
      - in: path
        name: cacheGroupId
        required: true
        schema:
          type: string
      - description: The name of the source component for the logs.
        in: path
        name: component
        required: true
        schema:
          type: string
      - description: Pod IP.
        in: query
        name: podIp
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/components.v1.ComponentLogs'
        description: The logs to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestCacheGroupLogsResponse'
          description: A successful response.
      summary: CacheGroupLogs accepts logs, for a give cache group, from CAST AI components…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: logs
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
  /v1/organizations/{organizationId}/database-instances/{databaseInstanceId}/components/{component}/logs:
    post:
      operationId: ComponentsAPI_IngestDBAgentLogs
      parameters:
      - in: path
        name: organizationId
        required: true
        schema:
          type: string
      - in: path
        name: databaseInstanceId
        required: true
        schema:
          type: string
      - description: The name of the source component for the logs.
        in: path
        name: component
        required: true
        schema:
          type: string
      - description: Pod IP.
        in: query
        name: podIp
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/components.v1.ComponentLogs'
        description: The logs to ingest.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/components.v1.IngestDBAgentLogsResponse'
          description: A successful response.
      summary: IngestDBAgentLogs accepts logs, for a given database instance, from CAST AI…
      tags:
      - ComponentsAPI
      x-codegen-request-body-name: logs
    servers:
    - url: https://api.cast.ai/
      description: US endpoint
    - url: https://api.eu.cast.ai/
      description: EU endpoint
components:
  schemas:
    Status:
      type: object
      properties:
        code:
          type: integer
          description: The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
          format: int32
        message:
          type: string
          description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
        details:
          type: array
          items:
            $ref: '#/components/schemas/GoogleProtobufAny'
          description: A list of messages that carry the error details.  There is a common set of message types for APIs to use.
      description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
    Component:
      required:
      - clusterId
      - organizationId
      - type
      - version
      - status
      - updateTime
      - createTime
      type: object
      properties:
        clusterId:
          type: string
          description: The cluster ID.
        organizationId:
          type: string
          description: The organization ID.
        type:
          enum:
          - TYPE_UNSPECIFIED
          - PROXY
          type: string
          description: The type of the component.
          format: enum
        version:
          type: string
          description: The version of the component.
        status:
          enum:
          - STATUS_UNSPECIFIED
          - NOT_RUNNING
          - RUNNING
          type: string
          description: The status of the component.
          format: enum
        warning:
          type: string
          description: The warning message of a RUNNING component.
        updateTime:
          type: string
          description: The timestamp when the component was last tracked.
          format: date-time
        createTime:
          type: string
          description: The timestamp when the component starter to get tracked.
          format: date-time
      description: A CASTware component managed by AI Enabler.
    ListComponentsResponse:
      required:
      - items
      - totalCount
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Component'
          description: The list of CASTware components.
        nextPageCursor:
          type: string
          description: The pagination cursor to retrieve the next page of items.
        totalCount:
          type: integer
          description: The total number of items.
          format: int32
      description: Response message for listing CASTware components.
    GoogleProtobufAny:
      type: object
      properties:
        '@type':
          type: string
          description: The type of the serialized message.
      additionalProperties: true
      description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
    components.v1.IngestDBAgentLogsResponse:
      type: object
    components.v1.EventEntry:
      description: Represents a single event entry.
      properties:
        eventName:
          description: The event name/type.
          type: string
        content:
          description: The structured event content.
          properties: {}
          type: object
        time:
          description: The time the event occurred.
          format: date-time
          type: string
      required:
      - content
      - eventName
      - time
      type: object
    components.v1.IngestEventsResponse:
      type: object
    prometheus.TimeSeries:
      description: TimeSeries represents samples and labels for a single time series.
      properties:
        labels:
          description: 'For a timeseries to be valid, and for the samples and exemplars

            to be ingested by the remote system properly, the labels field is required.'
          items:
            $ref: '#/components/schemas/prometheus.Label'
          type: array
        samples:
          items:
            $ref: '#/components/schemas/prometheus.Sample'
          type: array
        exemplars:
          items:
            $ref: '#/components/schemas/prometheus.Exemplar'
          type: array
        histograms:
          items:
            $ref: '#/components/schemas/prometheus.Histogram'
          type: array
      type: object
    components.v1.ComponentLogs:
      properties:
        version:
          description: The version of the source component.
          type: string
        entries:
          description: The logs to ingest.
          items:
            $ref: '#/components/schemas/components.v1.LogEntry'
          type: array
      required:
      - entries
      - version
      type: object
    prometheus.Histogram.ResetHint:
      default: UNKNOWN
      description: " - UNKNOWN: Need to test for a counter reset explicitly.\n - YES: This is the 1st histogram after a counter reset.\n - NO: There was no counter reset between this and the previous Histogram.\n - GAUGE: This is a gauge histogram where counter resets don't happen."
      enum:
      - UNKNOWN
      - 'YES'
      - 'NO'
      - GAUGE
      type: string
    prometheus.WriteRequest:
      properties:
        timeseries:
          items:
            $ref: '#/components/schemas/prometheus.TimeSeries'
          type: array
        metadata:
          items:
            $ref: '#/components/schemas/prometheus.MetricMetadata'
          type: array
      type: object
    components.v1.LogEntry:
      description: Represents a single log entry.
      properties:
        level:
          $ref: '#/components/schemas/components.v1.LogLevel'
        time:
          description: The time the log was emitted.
          format: date-time
          type: string
        message:
          description: The log message.
          type: string
        fields:
          additionalProperties:
            type: string
          description: The fields of the log.
          type: object
      required:
      - level
      - message
      - time
      type: object
    prometheus.BucketSpan:
      description: 'A BucketSpan defines a number of consecutive buckets with their

        offset. Logically, it would be more straightforward to include the

        bucket counts in the Span. However, the protobuf representation is

        more compact in the way the data is structured here (with all the

        buckets in a single array separate from the Spans).'
      properties:
        offset:
          description: Gap to previous span, or starting point for 1st span (which can be negative).
          format: int32
          type: integer
        length:
          description: Length of consecutive buckets.
          format: int64
          type: integer
      type: object
    prometheus.Label:
      properties:
        name:
          type: string
        value:
          type: string
      type: object
    castai.audit.v2.Actor:
      description: Actor represents the entity that initiated the action.
      properties:
        type:
          description: Type of actor (e.g. "user", "system").
          type: string
        id:
          description: Actor identifier (optional for system actors).
          type: string
        displayName:
          description: Actor display name.
          type: string
        email:
          description: Actor e-mail address.
          type: string
      type: object
    prometheus.Histogram:
      description: 'A native histogram, also known as a sparse histogram.

        Original design doc:

        https://docs.google.com/document/d/1cLNv3aufPZb3fNfaJgdaRBZsInZKKIHo9E6HinJVbpM/edit

        The appendix of this design doc also explains the concept of float

        histograms. This Histogram message can represent both, the usual

        integer histogram as well as a float histogram.'
      properties:
        countInt:
          format: uint64
          type: string
        countFloat:
          format: double
          type: number
        sum:
          description: Sum of observations in the histogram.
          format: double
          type: number
        schema:
          description: 'The schema defines the bucket schema. Currently, valid numbers

            are -4 <= n <= 8. They are all for base-2 bucket schemas, where 1

            is a bucket boundary in each case, and then each power of two is

            divided into 2^n logarithmic buckets. Or in other words, each

            bucket boundary is the previous boundary times 2^(2^-n). In the

            future, more bucket schemas may be added using numbers < -4 or >

            8.'
          format: int32
          type: integer
        zeroThreshold:
          description: Breadth of the zero bucket.
          format: double
          type: number
        zeroCountInt:
          format: uint64
          type: string
        zeroCountFloat:
          format: double
          type: number
        negativeSpans:
          description: Negative Buckets.
          items:
            $ref: '#/components/schemas/prometheus.BucketSpan'
          type: array
        negativeDeltas:
          description: 'Use either "negative_deltas" or "negative_counts", the former for

            regular histograms with integer counts, the latter for float

            histograms.


            Count delta of each bucket compared to previous one (or to zero for 1st bucket).'
          items:
            format: int64
            type: string
          type: array
        negativeCounts:
          description: Absolute count of each bucket.
          items:
            format: double
            type: number
          type: array
        positiveSpans:
          description: Positive Buckets.
          items:
            $ref: '#/components/schemas/prometheus.BucketSpan'
          type: array
        positiveDeltas:
          description: 'Use either "positive_deltas" or "positive_counts", the former for

            regular histograms with integer counts, the latter for float

            histograms.


            Count delta of each bucket compared to previous one (or to zero for 1st bucket).'
          items:
            format: int64
            type: string
          type: array
        positiveCounts:
          description: Absolute count of each bucket.
          items:
            format: double
            type: number
          type: array
        resetHint:
          $ref: '#/components/schemas/prometheus.Histogram.ResetHint'
        timestamp:
          description: 'timestamp is in ms format, see model/timestamp/timestamp.go for

            conversion from time.Time to Prometheus timestamp.'
          format: int64
          type: string
        customValues:
          description: 'custom_values are not part of the specification, DO NOT use in remote write clients.

            Used only for converting from OpenTelemetry to Prometheus internally.'
          items:
            format: double
            type: number
          type: array
      type: object
    castai.audit.v2.AuditEvent:
      description: 'AuditEvent is the core audit event message for the v2 schema.

        Event types follow a three-segment hierarchy: domain.resource.action

        (e.g. "autoscaler.rebalancing.initiated").'
      properties:
        eventId:
          description: Unique identifier, generated at source for idempotency.
          type: string
        requestId:
          description: Identifier for the request that triggered this event.
          type: string
        correlationId:
          description: Links related events together.
          type: string
        tenantId:
          description: Customer identifier (organization or enterprise).
          type: string
        occurredAt:
          description: When the action happened (source timestamp).
          format: date-time
          type: string
        ingestedAt:
          description: When the event was recorded (set by ingestion).
          format: date-time
          type: string
        sourceService:
          description: Service that emitted the event.
          type: string
        sourceVersion:
          description: Service version.
          type: string
        eventDomain:
          description: Top-level category code (e.g. "autoscaler", "woop", "dbo").
          type: string
        eventDomainText:
          description: Top-level category display text, team or product name (e.g. "Node Autoscaler", "Workload Autoscaler", "Database Optimization").
          type: string
        eventResource:
          description: Entity within domain (e.g. "cluster", "vpa_state", "policy").
          type: string
        eventResourceText:
          description: Entity within domain display text (e.g. "Cluster", "VPA State", "Policy").
          type: string
        eventAction:
          description: Specific action (e.g. "interrupted", "paused", "executed").
          type: string
        eventActionText:
          description: Specific ection display text (e.g. "Interrupted", "Paused", "Executed").
          type: string
        eventSeverity:
          description: Numerical severity level, defaults to 0.
          format: int64
          type: integer
        eventSeverityText:
          description: Severity level as a string, e.g. "info", or "error".
          type: string
        body:
          description: Event-specific details, or freeform key-value pairs.
          format: byte
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
        description:
          description: Human-readable summary for display.
          type: string
        actor:
          $ref: '#/components/schemas/castai.audit.v2.Actor'
        resource:
          $ref: '#/components/schemas/castai.audit.v2.Resource'
        labels:
          additionalProperties:
            type: string
          description: Key-value pairs, indexed and searchable.
          type: object
        clusterId:
          description: Cluster identifier, if the event is associated with a cluster.
          type: string
        correlatedEventCount:
          description: Total number of events sharing this event's correlation_id.
          format: int32
          type: integer
        tenantName:
          description: 'Display name of the tenant (organization) that owns this event, resolved

            from tenant_id at read time.'
          type: string
      type: object
    components.v1.IngestAuditResponse:
      properties:
        succeededIds:
          items:
            type: string
          type: array
        failedIds:
          items:
            type: string
          type: array
      type: object
    prometheus.MetricMetadata.MetricType:
      default: UNKNOWN
      enum:
      - UNKNOWN
      - COUNTER
      - GAUGE
      - HISTOGRAM
      - GAUGEHISTOGRAM
      - SUMMARY
      - INFO
      - STATESET
      type: string
    components.v1.LogLevel:
      default: LOG_LEVEL_UNKNOWN
      description: Standard log levels.
      enum:
      - LOG_LEVEL_UNKNOWN
      - LOG_LEVEL_DEBUG
      - LOG_LEVEL_INFO
      - LOG_LEVEL_WARNING
      - LOG_LEVEL_ERROR
      - LOG_LEVEL_FATAL
      type: string
    prometheus.Exemplar:
      properties:
        labels:
          description: Optional, can be empty.
          items:
            $ref: '#/components/schemas/prometheus.Label'
          type: array
        value:
          format: double
          type: number
        timestamp:
          description: 'timestamp is in ms format, see model/timestamp/timestamp.go for

            conversion from time.Time to Prometheus timestamp.'
          format: int64
          type: string
      type: object
    prometheus.Sample:
      properties:
        value:
          format: double
          type: number
        timestamp:
          description: 'timestamp is in ms format, see model/timestamp/timestamp.go for

            conversion from time.Time to Prometheus timestamp.'
          format: int64
          type: string
      type: object
    components.v1.IngestLogsResponse:
      type: object
    components.v1.IngestCacheGroupLogsResponse:
      type: object
    components.v1.AuditEntries:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/components.v1.AuditEntry'
          type: array
      required:
      - entries
      type: object
    components.v1.ComponentEvents:
      properties:
        entries:
          description: The events to ingest.
          items:
            $ref: '#/components/schemas/components.v1.EventEntry'
          type: array
      required:
      - entries
      type: object
    components.v1.AuditEntry:
      properties:
        id:
          type: string
        eventType:
          type: string
        event:
          properties: {}
          type: object
        tenantId:
          type: string
        initiatedBy:
          type: string
        createdAt:
          type: string
        labels:
          additionalProperties:
            type: string
          type: object
      required:
      - createdAt
      - event
      - eventType
      - id
      - initiatedBy
      - labels
      - tenantId
      title: 'AuditEntry is general structure for publishing audit messages.

        Copypasta from mq/audit'
      type: object
    components.v1.IngestMetricsResponse:
      title: IngestMetricsResponse Custom response message for IngestMetrics
      type: object
    components.v1.IngestAuditV2Response:
      properties:
        succeededIds:
          items:
            type: string
          type: array
        failedIds:
          items:
            type: string
          type: array
      type: object
    prometheus.MetricMetadata:
      properties:
        type:
          $ref: '#/components/schemas/prometheus.MetricMetadata.MetricType'
        metricFamilyName:
          type: string
        help:
          type: string
        unit:
          type: string
      type: object
    castai.audit.v2.Resource:
      description: Resource represents the entity affected by the action.
      properties:
        type:
          description: Type of affected resource (e.g. "node").
          type: string
        id:
          description: Resource identifier.
          type: string
        displayName:
          description: Resource display name.
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
x-refined-from:
- kimchi-ai-enabler-api-openapi.yml
- kimchi-cast-ai-api-documentation-api-openapi.yml
x-provenance:
  method: searched
  source: https://docs.cast.ai/reference
  harvested: '2026-10-20'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.cast.ai/reference/analyticsapi_generateanalytics.md
  - https://docs.cast.ai/reference/analyticsapi_generatebillingmodelusagereport.md
  - https://docs.cast.ai/reference/analyticsapi_generatebreakdown.md
  - https://docs.cast.ai/reference/analyticsapi_generatelatestchatcompletionsummary.md
  - https://docs.cast.ai/reference/analyticsapi_generatelatestevaluationsummary.md
  - https://docs.cast.ai/reference/analyticsapi_generatelatestinferencesummaries.md
  - https://docs.cast.ai/reference/analyticsapi_generaterouterreport.md
  - https://docs.cast.ai/reference/analyticsapi_queryanalytics.md
  - https://docs.cast.ai/reference/apikeysapi_createapikey.md
  - https://docs.cast.ai/reference/apikeysapi_deleteapikeybudget.md
  - https://docs.cast.ai/reference/apikeysapi_deleteorganizationbudget.md
  - https://docs.cast.ai/reference/apikeysapi_deleteteambudget.md
  - https://docs.cast.ai/reference/apikeysapi_deleteuserbudget.md
  - https://docs.cast.ai/reference/apikeysapi_getapikeybudget.md
  - https://docs.cast.ai/reference/apikeysapi_getbudgetoverview.md
  - https://docs.cast.ai/reference/apikeysapi_getorganizationbudget.md
  - https://docs.cast.ai/reference/apikeysapi_getteambudget.md
  - https://docs.cast.ai/reference/apikeysapi_getuserbudget.md
  - https://docs.cast.ai/reference/apikeysapi_getuserbudgetstatus.md
  - https://docs.cast.ai/reference/apikeysapi_listapikeybudgets.md
  - https://docs.cast.ai/reference/apikeysapi_listorganizationbudgets.md
  - https://docs.cast.ai/reference/apikeysapi_listteambudgets.md
  - https://docs.cast.ai/reference/apikeysapi_listuserbudgets.md
  - https://docs.cast.ai/reference/apikeysapi_updateapikeybudget.md


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kimchi/refs/heads/main/openapi/kimchi-componentsapi-api-openapi.yml