# prov.attest.media.screen

prov.attest.media.screen in Python SDK.

## Signature

```python
prov.attest.media.screen(**body: Any = …) -> Any
```

## Parameters

- `**body` (Any, optional)

## Returns

`Any`

## HTTP operation

[`POST /v1/attest/media/screen`](https://provenanceauth.com/docs/api/media.md#post-v1-attest-media-screen): Screen media

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`detector_not_configured`](https://provenanceauth.com/docs/platform/errors.md#detector_not_configured)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`media_too_large`](https://provenanceauth.com/docs/platform/errors.md#media_too_large)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`screening_provider_error`](https://provenanceauth.com/docs/platform/errors.md#screening_provider_error)
- [`spend_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#spend_limit_exceeded)
- [`usage_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#usage_limit_reached)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/media/screen`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ "image_base64": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAP" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/media/screen", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}, json={
    "image_base64": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAP"
}).json()
```
