# List summary

URL: https://docs.hanzo.ai/docs/openapi/social/get-social-summary

> Returns four counts for the caller's org: total posts, how many are scheduled, how many have published, and how many accounts are connected.

`GET /v1/social/summary`

> [Social →](https://docs.hanzo.ai/docs/openapi/social) · [All API references →](https://docs.hanzo.ai/docs/openapi) · [Get started →](https://docs.hanzo.ai/docs/guides)

|               |                                          |
| ------------- | ---------------------------------------- |
| **Address**   | `https://api.hanzo.ai/v1/social/summary` |
| **Method**    | `GET`                                    |
| **Operation** | `get_social_summary`                     |
| **Auth**      | `Authorization: Bearer $HANZO_API_KEY`   |

Returns four counts for the caller's org: total posts, how many are
scheduled, how many have published, and how many accounts are connected. It is
the dashboard roll-up, computed over the org's own rows in one read.

## Request

`GET /v1/social/summary` takes no parameters and no body — the credential is the whole request.

## Response

| Status    | Body                 | Meaning |
| --------- | -------------------- | ------- |
| `200`     | social.socialSummary | ok      |
| `default` | problem-details      | refused |

`200` body — 4 fields.

| Field       | In   | Type            | Always | Description                                                         |
| ----------- | ---- | --------------- | ------ | ------------------------------------------------------------------- |
| `accounts`  | body | integer (int64) | —      | Accounts is how many accounts the org has connected, in any status. |
| `posts`     | body | integer (int64) | —      | Posts is how many posts the org has, in any state.                  |
| `published` | body | integer (int64) | —      | Published is how many of them have published.                       |
| `scheduled` | body | integer (int64) | —      | Scheduled is how many of them are waiting for their scheduled time. |

Failure carries the platform error shape — see [Errors](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo social summary
```

**SDK**

**.ts**

```ts
import { Configuration, SocialApi } from 'hanzoai';

const api = new SocialApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getSocialSummary();
```

**.py**

```python
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import SocialApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = SocialApi(client).get_social_summary()
```

**.go**

```go
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.SocialAPI.GetSocialSummary(context.Background()).Execute()
if err != nil {
	return err
}
```

**.rs**

```rust
use hanzo_client::apis::{configuration::Configuration, social_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = social_api::get_social_summary(&cfg, Default::default()).await?;
```

**.java**

```java
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.SocialApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new SocialApi(client).getSocialSummary();
```

**HTTP**

```bash
curl https://api.hanzo.ai/v1/social/summary \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

Tool `social`, op `get_social_summary` — POST the JSON-RPC envelope to `https://api.hanzo.ai/v1/mcp`.

```bash
curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "social",
         "arguments": {
           "op": "get_social_summary",
           "input": {}
         }
       }
     }'
```

---

[Social API](https://docs.hanzo.ai/docs/openapi/social) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
