# tools.umbrae.actor.getProfiles

> Hidden profiles of up to 25 accounts at once, each answered exactly as tools.umbrae.actor.getProfile answers it: audiences only for the owner, pinnedPost only if the viewer may see it, and the status only where the profile shows. One item per actor asked, in order; a repeated actor is answered again. notFound stands exactly where getProfile answers ProfileNotFound: no profile, not one the viewer may see, not one this app holds, and a block either way. So the batch reveals nothing a series of getProfile calls doesn't. A client tells a block from tools.umbrae.actor.getRelationships, and shows it to the two parties only. Served and authenticated as tools.umbrae.actor.getProfile, wherever that is served.

- Kind: query
- Authority: actor.umbrae.tools
- Lexicon: 1
- Published by [lexicons.umbrae.tools](https://lexicon.garden/identity/did:plc:656sqbhftme2qbyjtcc2q6jk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.actor.getProfiles)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.actor.getProfiles/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:656sqbhftme2qbyjtcc2q6jk/tools.umbrae.actor.getProfiles/analytics)

## Query (`tools.umbrae.actor.getProfiles`)

Type: query · GET

### Parameters (query string)

- `actors` (array, required): The profiles' owners. A value that isn't a DID makes the whole call InvalidRequest.
  - Constraints: minLength: 1, maxLength: 25
  - `items` (string · did)

### Output (application/json)

- `profiles` (array, required): One per actor asked for, in order.
  - `items` (union)
    - One of: `#profileView`, `#notFound`

### Errors

- `NotAdmitted`: The app doesn't serve this account.

## #notFound (`tools.umbrae.actor.getProfiles#notFound`)

Type: object

No profile the viewer may see here: the same for every reason, a block either way included.

### Properties

- `did` (string · did, required)

## #profileView (`tools.umbrae.actor.getProfiles#profileView`)

Type: object

Exactly tools.umbrae.actor.getProfile's output.

### Properties

- `did` (string · did, required)
- `profile` (unknown, required): The tools.umbrae.profile record value, with its blob refs, without audiences (unless the viewer is the owner). Fetch its blobs with tools.umbrae.actor.getProfileBlob.
- `status` (unknown): The owner's hidden status, by getProfile's rules.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Hidden profiles of up to 25 accounts at once, each answered exactly as tools.umbrae.actor.getProfile answers it: audiences only for the owner, pinnedPost only if the viewer may see it, and the status only where the profile shows. One item per actor asked, in order; a repeated actor is answered again. notFound stands exactly where getProfile answers ProfileNotFound: no profile, not one the viewer may see, not one this app holds, and a block either way. So the batch reveals nothing a series of getProfile calls doesn't. A client tells a block from tools.umbrae.actor.getRelationships, and shows it to the two parties only. Served and authenticated as tools.umbrae.actor.getProfile, wherever that is served.",
      "errors": [
        {
          "description": "The app doesn't serve this account.",
          "name": "NotAdmitted"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "profiles": {
              "description": "One per actor asked for, in order.",
              "items": {
                "refs": [
                  "#profileView",
                  "#notFound"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "profiles"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actors": {
            "description": "The profiles' owners. A value that isn't a DID makes the whole call InvalidRequest.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "actors"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "notFound": {
      "description": "No profile the viewer may see here: the same for every reason, a block either way included.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "profileView": {
      "description": "Exactly tools.umbrae.actor.getProfile's output.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "profile": {
          "description": "The tools.umbrae.profile record value, with its blob refs, without audiences (unless the viewer is the owner). Fetch its blobs with tools.umbrae.actor.getProfileBlob.",
          "type": "unknown"
        },
        "status": {
          "description": "The owner's hidden status, by getProfile's rules.",
          "type": "unknown"
        }
      },
      "required": [
        "did",
        "profile"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.actor.getProfiles",
  "lexicon": 1
}
```
