# app.didpic.actor.exists

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.exists)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.exists/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.exists/examples)

## Definitions

### `app.didpic.actor.exists`

**Type**: `query`

Lightweight existence check: returns 200 if the actor is a known, active didpic user (same activity filter as the admin Users page). Designed for the image CDN's known-DID gate where the heavier getProfilePublic was too slow.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (did) | Yes | DID of the actor to check. Handles are not accepted. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |

#### Errors

- **InvalidActor**
- **ActorNotFound**

## Raw Schema

```json
{
  "id": "app.didpic.actor.exists",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "InvalidActor"
        },
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "did",
            "description": "DID of the actor to check. Handles are not accepted."
          }
        }
      },
      "description": "Lightweight existence check: returns 200 if the actor is a known, active didpic user (same activity filter as the admin Users page). Designed for the image CDN's known-DID gate where the heavier getProfilePublic was too slow."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
