# On-Demand Scanning API API

> On-Demand Scanning API API on Apizie: 7 endpoints (Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…, Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…, Deletes a long-running operation. This method indicates that the client is no longer interested in the…, Lists operations that match the specified filter in the request. If the server doesn't support this method,…, …) 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://apizie.tech/v1/analytics:googleapis-ondemandscanning/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-ondemandscanning`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/container-analysis/docs/on-demand-scanning/
- Page: https://apizie.tech/api/analytics/googleapis-ondemandscanning
- OpenAPI: https://apizie.tech/api/analytics/googleapis-ondemandscanning/openapi.json

A service to scan container images for vulnerabilities.

## Endpoints

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

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

### Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…
`GET https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-operations-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource. |

### Deletes a long-running operation. This method indicates that the client is no longer interested in the…
`POST https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-operations-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to be deleted. |

### Lists operations that match the specified filter in the request. If the server doesn't support this method,…
`GET https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-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… |

### Waits until the specified long-running operation is done or reaches at most a specified timeout, returning…
`POST https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-operations-wait` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to wait on. |
| timeout | string | no | The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC… |

### Initiates an analysis of the provided packages.
`POST https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-scans-analyze-packages` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The parent of the resource for which analysis is requested. Format: projects/[project_name]/locations/[location] |
| body | object | yes | JSON request body |

### Lists vulnerabilities resulting from a successfully completed scan.
`GET https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-scans-vulnerabilities-li` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | The number of vulnerabilities to retrieve. |
| pageToken | string | no | The page token, resulting from a previous call to ListVulnerabilities. |
| parent | string | yes | Required. The parent of the collection of Vulnerabilities being requested. Format:… |

## Example
```
curl "https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-operations-cancel" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the On-Demand Scanning API API?
Create a free Apizie key, then send POST https://apizie.tech/v1/analytics:googleapis-ondemandscanning/ondemandscanning-projects-locations-operations-cancel with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the On-Demand Scanning API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-ondemandscanning.

### What is the status of the On-Demand Scanning API API?
Needs your own provider key (bring your own key)
