# social.coves.aggregator.getServices

> Published by [coves.social](https://lexicon.garden/identity/did:web:coves.social)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.aggregator.getServices)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.aggregator.getServices/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.aggregator.getServices/examples)

## Definitions

### `social.coves.aggregator.getServices`

**Type**: `query`

Get information about aggregator services. Can fetch one or multiple aggregators by DID. Authentication optional.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `dids` | `array` | Yes | Array of aggregator DIDs to fetch |
| `detailed` | `boolean` | No | Include usage statistics in response |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `views` | `array` | Yes | Array of aggregator views. Returns aggregatorView if detailed=false, aggregatorViewDetailed if detailed=true. |

## Raw Schema

```json
{
  "id": "social.coves.aggregator.getServices",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "views"
          ],
          "properties": {
            "views": {
              "type": "array",
              "items": {
                "refs": [
                  "social.coves.aggregator.defs#aggregatorView",
                  "social.coves.aggregator.defs#aggregatorViewDetailed"
                ],
                "type": "union"
              },
              "description": "Array of aggregator views. Returns aggregatorView if detailed=false, aggregatorViewDetailed if detailed=true."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "dids"
        ],
        "properties": {
          "dids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "did"
            },
            "maxLength": 25,
            "description": "Array of aggregator DIDs to fetch"
          },
          "detailed": {
            "type": "boolean",
            "default": false,
            "description": "Include usage statistics in response"
          }
        }
      },
      "description": "Get information about aggregator services. Can fetch one or multiple aggregators by DID. Authentication optional."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
