# Cloud Logging API API

> Cloud Logging API API on Apizie: 47 endpoints (Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for…, Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only…, Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders,…, Updates the settings for the given resource. This method applies to all feature configurations for…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/analytics:googleapis-logging/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-logging`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/logging/docs/
- Page: https://zieapi.vercel.app/api/analytics/googleapis-logging
- OpenAPI: https://zieapi.vercel.app/api/analytics/googleapis-logging/openapi.json

Writes log entries and manages your Cloud Logging configuration.

## Endpoints

### Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-get-cmek-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings"… |

### Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-update-cmek-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings"… |
| updateMask | string | no | Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in… |
| body | object | yes | JSON request body |

### Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders,…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-get-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings"… |

### Updates the settings for the given resource. This method applies to all feature configurations for…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-update-settings` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For… |
| updateMask | string | no | Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the… |
| body | object | yes | JSON request body |

### Lists all the exclusions on the _Default sink in a parent resource.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-exclusions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"… |

### Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-exclusions-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"… |
| body | object | yes | JSON request body |

### Returns all data associated with the requested query.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-saved-queries-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]"… |

### Updates an existing SavedQuery.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-saved-queries-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a… |
| updateMask | string | no | Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the… |
| body | object | yes | JSON request body |

### Deletes an existing SavedQuery that was created by the user making the request.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-saved-queries-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The full resource name of the saved query to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]"… |

### Lists information about the supported locations for this service.This method lists locations based on the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| extraLocationTypes | string | no | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter | string | no | A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented… |
| name | string | yes | The resource that owns the locations collection, if applicable. |
| pageSize | integer | no | The maximum number of results to return. If not set, the service selects a default. |
| pageToken | string | no | A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. |

### Lists log buckets.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]"… |

### Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| bucketId | string | no | Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters,… |
| parent | string | yes | Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For… |
| body | object | yes | JSON request body |

### Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created,…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-create-async` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| bucketId | string | no | Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters,… |
| parent | string | yes | Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For… |
| body | object | yes | JSON request body |

### Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-undelete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"… |
| body | object | yes | JSON request body |

### Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-update-async` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"… |
| updateMask | string | no | Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in… |
| body | object | yes | JSON request body |

### Lists links.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-links-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"… |

### Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-links-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| linkId | string | no | Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters… |
| parent | string | yes | Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" |
| body | object | yes | JSON request body |

### Lists views on a log bucket.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-views-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" |

### Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-views-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For… |
| viewId | string | no | Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits,… |
| body | object | yes | JSON request body |

### Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-logs-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID]… |
| resourceNames | string | no | Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]… |

### Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-operations-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to be cancelled. |
| body | object | yes | JSON request body |

### Lists operations that match the specified filter in the request. If the server doesn't support this method,…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The standard list filter. |
| name | string | yes | The name of the operation's parent resource. |
| pageSize | integer | no | The standard list page size. |
| pageToken | string | no | The standard list page token. |
| returnPartialSuccess | boolean | no | When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the… |

### Lists the RecentQueries that were created by the user making the request.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-recent-queries-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of… |
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]"… |

### Lists the SavedQueries that were created by the user making the request.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-saved-queries-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If… |
| pageSize | integer | no | Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]"… |

### Creates a new SavedQuery for the user making the request.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-saved-queries-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]"… |
| savedQueryId | string | no | Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the… |
| body | object | yes | JSON request body |

### Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-logs-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| logName | string | yes | Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID]… |

### Lists sinks.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-sinks-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")',… |
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"… |

### Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-sinks-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customWriterIdentity | string | no | Optional. The service account provided by the caller that will be used to write the log entries. The format must be… |
| parent | string | yes | Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"… |
| uniqueWriterIdentity | boolean | no | Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and… |
| body | object | yes | JSON request body |

### Gets a sink.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-sinks-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sinkName | string | yes | Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"… |

### Updates a sink. This method replaces the values of the destination and filter fields of the existing sink…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-sinks-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customWriterIdentity | string | no | Optional. The service account provided by the caller that will be used to write the log entries. The format must be… |
| sinkName | string | yes | Required. The full resource name of the sink to update, including the parent resource and the sink identifier:… |
| uniqueWriterIdentity | boolean | no | Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity… |
| updateMask | string | no | Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the… |
| body | object | yes | JSON request body |

### Updates a sink. This method replaces the values of the destination and filter fields of the existing sink…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-sinks-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customWriterIdentity | string | no | Optional. The service account provided by the caller that will be used to write the log entries. The format must be… |
| sinkName | string | yes | Required. The full resource name of the sink to update, including the parent resource and the sink identifier:… |
| uniqueWriterIdentity | boolean | no | Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity… |
| updateMask | string | no | Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the… |
| body | object | yes | JSON request body |

### Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-sinks-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| sinkName | string | yes | Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:… |

### Copies a set of log entries from a log bucket to a Cloud Storage bucket.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-entries-copy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Lists log entries. Use this method to retrieve log entries that originated from a…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-entries-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-entries-tail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-entries-write` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-views-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND,…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-views-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-buckets-views-test-iam-permission` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See Resource names… |
| body | object | yes | JSON request body |

### Lists log scopes.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-log-scopes-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" |

### Creates a log scope.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-locations-log-scopes-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| logScopeId | string | no | Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters,… |
| parent | string | yes | Required. The parent resource in which to create the log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]"… |
| body | object | yes | JSON request body |

### Lists the descriptors for monitored resource types used by Logging.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-monitored-resource-descriptors-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |

### Lists logs-based metrics.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-metrics-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the… |
| pageToken | string | no | Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of… |
| parent | string | yes | Required. The name of the project containing the metrics: "projects/[PROJECT_ID]" |

### Creates a logs-based metric.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-metrics-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the… |
| body | object | yes | JSON request body |

### Gets a logs-based metric.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-metrics-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| metricName | string | yes | Required. The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" |

### Creates or updates a logs-based metric.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-metrics-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| metricName | string | yes | Required. The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in… |
| body | object | yes | JSON request body |

### Deletes a logs-based metric.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-projects-metrics-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| metricName | string | yes | Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" |

## Example
```
curl "https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-get-cmek-settings" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Cloud Logging API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/analytics:googleapis-logging/logging-get-cmek-settings with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Cloud Logging API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Cloud Logging API itself also needs your own key from googleapis.com.

### Can AI agents use the Cloud Logging API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-logging.

### What is the status of the Cloud Logging API API?
Needs your own provider key (bring your own key)
