# dev.cartridge.actor.getProfile

> Published by [cartridge.dev](https://lexicon.garden/identity/did:plc:4mrwcmxk266itsdn33leqljq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.actor.getProfile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.actor.getProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.actor.getProfile/examples)

## Definitions

### `dev.cartridge.actor.getProfile`

**Type**: `query`

Get a Cartridge profile with roles. Wraps games.gamesgamesgamesgames.getProfile and appends a roles array.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `handle` | `string` (at-identifier) | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `roles` | `array` | No |  |
| `handle` | `string` (handle) | No |  |
| `profile` | `union` | No |  |
| `profileType` | `string` | No |  |

## Raw Schema

```json
{
  "id": "dev.cartridge.actor.getProfile",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "roles": {
              "type": "array",
              "items": {
                "type": "string",
                "knownValues": [
                  "superadmin",
                  "admin"
                ]
              }
            },
            "handle": {
              "type": "string",
              "format": "handle"
            },
            "profile": {
              "refs": [
                "games.gamesgamesgamesgames.defs#actorProfileDetailView",
                "games.gamesgamesgamesgames.defs#orgProfileDetailView"
              ],
              "type": "union"
            },
            "profileType": {
              "type": "string",
              "maxLength": 64,
              "knownValues": [
                "actor",
                "org"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "handle": {
            "type": "string",
            "format": "at-identifier"
          }
        }
      },
      "description": "Get a Cartridge profile with roles. Wraps games.gamesgamesgamesgames.getProfile and appends a roles array."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
