Chronosphere GcpMetricsIntegration API

The GcpMetricsIntegration API from Chronosphere — 2 operation(s) for gcpmetricsintegration.

Operations 5

GET /api/v1/config/gcp-metrics-integrations #
POST /api/v1/config/gcp-metrics-integrations #
GET /api/v1/config/gcp-metrics-integrations/{slug} #
PUT /api/v1/config/gcp-metrics-integrations/{slug} #
DELETE /api/v1/config/gcp-metrics-integrations/{slug} #

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/chronosphere-gcpmetricsintegration-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

chronosphere-gcpmetricsintegration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Config V1 Bucket Gcp Metrics Integration API
  description: '

    The Config API provides standard HTTP/JSON REST endpoints for creating, reading,

    updating, deleting, and listing configurable Chronosphere resources.


    Use this link to download the raw Swagger specification:

    <a href="/api/v1/config/swagger.json">/api/v1/config/swagger.json</a>

    '
  version: v1
servers:
- url: /
tags:
- name: GcpMetricsIntegration
paths:
  /api/v1/config/gcp-metrics-integrations:
    get:
      tags:
      - GcpMetricsIntegration
      operationId: ListGcpMetricsIntegrations
      parameters:
      - name: page.max_size
        in: query
        description: 'Page size preference (i.e. how many items are returned in the next

          page). If zero, the server will use a default. Regardless of what size

          is given, clients must never assume how many items will be returned.'
        schema:
          type: integer
          format: int64
      - name: page.token
        in: query
        description: 'Opaque page token identifying which page to request. An empty token

          identifies the first page.'
        schema:
          type: string
      - name: slugs
        in: query
        description: Filters results by slug, where any GcpMetricsIntegration with a matching slug in the given list (and matches all other filters) is returned.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: names
        in: query
        description: Filters results by name, where any GcpMetricsIntegration with a matching name in the given list (and matches all other filters) is returned.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1ListGcpMetricsIntegrationsResponse'
        '500':
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        default:
          description: An undefined error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
    post:
      tags:
      - GcpMetricsIntegration
      operationId: CreateGcpMetricsIntegration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/configv1CreateGcpMetricsIntegrationRequest'
        required: true
      responses:
        '200':
          description: A successful response containing the created GcpMetricsIntegration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1CreateGcpMetricsIntegrationResponse'
        '400':
          description: Cannot create the GcpMetricsIntegration because the request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '409':
          description: Cannot create the GcpMetricsIntegration because there is a conflict with an existing GcpMetricsIntegration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '500':
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        default:
          description: An undefined error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
      x-codegen-request-body-name: body
  /api/v1/config/gcp-metrics-integrations/{slug}:
    get:
      tags:
      - GcpMetricsIntegration
      operationId: ReadGcpMetricsIntegration
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1ReadGcpMetricsIntegrationResponse'
        '404':
          description: Cannot read the GcpMetricsIntegration because the slug does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '500':
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        default:
          description: An undefined error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
    put:
      tags:
      - GcpMetricsIntegration
      operationId: UpdateGcpMetricsIntegration
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigV1UpdateGcpMetricsIntegrationBody'
        required: true
      responses:
        '200':
          description: A successful response containing the updated GcpMetricsIntegration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1UpdateGcpMetricsIntegrationResponse'
        '400':
          description: Cannot update the GcpMetricsIntegration because the request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '404':
          description: Cannot update the GcpMetricsIntegration because the slug does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '409':
          description: Cannot update the GcpMetricsIntegration because there is a conflict with an existing GcpMetricsIntegration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '500':
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        default:
          description: An undefined error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
      x-codegen-request-body-name: body
    delete:
      tags:
      - GcpMetricsIntegration
      operationId: DeleteGcpMetricsIntegration
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/configv1DeleteGcpMetricsIntegrationResponse'
        '400':
          description: Cannot delete the GcpMetricsIntegration because it is in use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '404':
          description: Cannot delete the GcpMetricsIntegration because the slug does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        '500':
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiError'
        default:
          description: An undefined error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/genericError'
components:
  schemas:
    configv1GcpMetricsIntegration:
      type: object
      properties:
        slug:
          type: string
          description: Unique identifier of the GcpMetricsIntegration. If a `slug` isn't provided, one will be generated based of the `name` field. You can't modify this field after the GcpMetricsIntegration is created.
        name:
          type: string
          description: Required. Name of the GcpMetricsIntegration. You can modify this value after the GcpMetricsIntegration is created.
        created_at:
          type: string
          description: Timestamp of when the GcpMetricsIntegration was created. Cannot be set by clients.
          format: date-time
          readOnly: true
        updated_at:
          type: string
          description: Timestamp of when the GcpMetricsIntegration was last updated. Cannot be set by clients.
          format: date-time
          readOnly: true
        service_account:
          $ref: '#/components/schemas/configv1GcpMetricsIntegrationServiceAccount'
        metric_groups:
          type: array
          description: Metric groups to be ingested for this integration.
          items:
            $ref: '#/components/schemas/GcpMetricsIntegrationMetricGroup'
    genericError:
      type: object
      additionalProperties: true
    configv1CreateGcpMetricsIntegrationResponse:
      type: object
      properties:
        gcp_metrics_integration:
          $ref: '#/components/schemas/configv1GcpMetricsIntegration'
    ConfigV1UpdateGcpMetricsIntegrationBody:
      type: object
      properties:
        gcp_metrics_integration:
          $ref: '#/components/schemas/configv1GcpMetricsIntegration'
        create_if_missing:
          type: boolean
          description: If true, the GcpMetricsIntegration will be created if it does not already exist, identified by slug. If false, an error will be returned if the GcpMetricsIntegration does not already exist.
        dry_run:
          type: boolean
          description: If true, the GcpMetricsIntegration isn't created or updated, and no response GcpMetricsIntegration will be returned. The response will return an error if the given GcpMetricsIntegration is invalid.
    GcpMetricsIntegrationMetricGroup:
      type: object
      properties:
        project_id:
          type: string
          description: Project ID that has access to the metric data.
        prefixes:
          type: array
          description: List of Gcp metric prefixes to ingest.
          items:
            type: string
    configv1PageResult:
      type: object
      properties:
        next_token:
          type: string
          description: 'Opaque page token which identifies the next page of items which the

            client should request. An empty next_token indicates that there are no

            more items to return.'
    configv1UpdateGcpMetricsIntegrationResponse:
      type: object
      properties:
        gcp_metrics_integration:
          $ref: '#/components/schemas/configv1GcpMetricsIntegration'
    configv1ReadGcpMetricsIntegrationResponse:
      type: object
      properties:
        gcp_metrics_integration:
          $ref: '#/components/schemas/configv1GcpMetricsIntegration'
    configv1CreateGcpMetricsIntegrationRequest:
      type: object
      properties:
        gcp_metrics_integration:
          $ref: '#/components/schemas/configv1GcpMetricsIntegration'
        dry_run:
          type: boolean
          description: If true, the GcpMetricsIntegration isn't created, and no response GcpMetricsIntegration will be returned. The response will return an error if the given GcpMetricsIntegration is invalid.
    configv1DeleteGcpMetricsIntegrationResponse:
      type: object
    configv1GcpMetricsIntegrationServiceAccount:
      type: object
      properties:
        client_email:
          type: string
          description: Email address of the service account to impersonate.
    apiError:
      type: object
      properties:
        code:
          type: integer
          description: An optional private error code whose values are undefined.
          format: int32
        message:
          type: string
          description: An error message describing what went wrong.
    configv1ListGcpMetricsIntegrationsResponse:
      type: object
      properties:
        page:
          $ref: '#/components/schemas/configv1PageResult'
        gcp_metrics_integrations:
          type: array
          items:
            $ref: '#/components/schemas/configv1GcpMetricsIntegration'
x-original-swagger-version: '2.0'