# ContentSafety Service API

> ContentSafety Service API on Apizie: 12 endpoints (Analyze Image, Get All Text Blocklists, Get Text Blocklist By blocklistName, Create Or Update Text Blocklist, …) 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/cloud:azure-cognitiveservices-content-safety/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-cognitiveservices-content-safety`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://apizie.tech/api/cloud/azure-cognitiveservices-content-safety
- OpenAPI: https://apizie.tech/api/cloud/azure-cognitiveservices-content-safety/openapi.json

Analyze harmful content

## Endpoints

### Analyze Image
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/image-operations-analyze-image` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

### Get All Text Blocklists
`GET https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-list-text-blocklists` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |

### Get Text Blocklist By blocklistName
`GET https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-get-text-blocklist` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |

### Create Or Update Text Blocklist
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-create-or-update-text-blocklist` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |
| body | object | yes | JSON request body |

### Delete Text Blocklist By blocklistName
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-delete-text-blocklist` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |

### Add or update BlocklistItems To Text Blocklist
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-add-or-update-blocklist-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |
| body | object | yes | JSON request body |

### Remove BlocklistItems From Text Blocklist
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-remove-blocklist-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |
| body | object | yes | JSON request body |

### Get All BlocklistItems By blocklistName
`GET https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-list-text-blocklist-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |
| top | integer | no | The number of result items to return. |
| skip | integer | no | The number of result items to skip. |
| maxpagesize | integer | no | The maximum number of result items per page. |

### Get BlocklistItem By blocklistName And blocklistItemId
`GET https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-blocklists-get-text-blocklist-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| blocklistName | string | yes | Text blocklist name. |
| blocklistItemId | string | yes | The service will generate a BlocklistItemId, which will be a UUID. |

### Analyze Text
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-operations-analyze-text` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

### Detect Protected Material for Text
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-operations-detect-text-protected-material` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

### Shield Prompt
`POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/text-operations-shield-prompt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | Supported Cognitive Services endpoints (protocol and hostname, for example: https:// .cognitiveservices.azure.com). |
| api-version | string | no | The API version to use for this operation. |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/image-operations-analyze-image" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the ContentSafety Service API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:azure-cognitiveservices-content-safety/image-operations-analyze-image with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the ContentSafety Service 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 cloud:azure-cognitiveservices-content-safety.

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