ONE social:health
← Receivers

social:health

social family

mcp

Is each connected social account still able to post? One cheap read per account on its own network (its "who am I"), then: ok; expiring (a Facebook, Instagram, Threads or LinkedIn login that runs out within 7 days); broken (the login expired, failed or was switched off, or the network refused the read — with the network's own words); unchecked (ONE could not ask: no key, no credits, a rate limit — never called broken). The owner is emailed once per change, never every day; broken accounts warn. Each read is one Composio call on the workspace's meter. The platform checks every workspace with social posts about once a day; this asks now. Bluesky and Mastodon logins are not checked here yet.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
read_corpus
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
variable
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/social:health \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "workspace": <string>, "scope": <workspaces> }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • workspace string optional Defaults to the caller's own. Naming another (a client) needs control of it
  • scope workspaces optional The platform's own tick: the 10 longest-unchecked workspaces not checked in 20 hours. Platform caller only

Response

What comes back from the call.

  • ok boolean
  • workspace string
  • accounts object[]
  • counts object
  • notified number Accounts the owner was told about this time
  • scope string
  • workspaces number scope workspaces: how many were checked
  • capped boolean scope workspaces: more were due than one tick takes; the rest wait for the next hour
  • errors object[]
  • error string composio_<refusal>: could not list the connected accounts · forbidden · unauthorized · not_ready (migration 0491) · no_db

Traffic

Every call to social:health, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names social:health, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 3
  • one.ie/web/src/lib/receiver-index.generated.ts:456
  • one.ie/web/src/lib/resolvers/social-plumbing.ts:107
  • one.ie/web/src/lib/social-health.ts:228
CLI 3
  • packages/cli/src/lib/receivers-index.generated.ts:480
  • packages/cli/src/lib/receivers.generated.ts:480
  • packages/cli/src/social.ts:352
SDK 1
  • packages/sdk/src/social.ts:31
→
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspace": {
      "description": "Defaults to the caller's own. Naming another (a client) needs control of it",
      "type": "string"
    },
    "scope": {
      "description": "The platform's own tick: the 10 longest-unchecked workspaces not checked in 20 hours. Platform caller only",
      "type": "string",
      "enum": [
        "workspaces"
      ]
    }
  }
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "workspace": {
      "type": "string"
    },
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "ok",
              "expiring",
              "broken",
              "unchecked"
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "checkedAt": {
            "type": "number"
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "accountId",
          "platform",
          "state",
          "reason",
          "checkedAt"
        ]
      }
    },
    "counts": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "number"
        },
        "expiring": {
          "type": "number"
        },
        "broken": {
          "type": "number"
        },
        "unchecked": {
          "type": "number"
        }
      },
      "required": [
        "ok",
        "expiring",
        "broken",
        "unchecked"
      ]
    },
    "notified": {
      "description": "Accounts the owner was told about this time",
      "type": "number"
    },
    "scope": {
      "type": "string"
    },
    "workspaces": {
      "description": "scope workspaces: how many were checked",
      "type": "number"
    },
    "capped": {
      "description": "scope workspaces: more were due than one tick takes; the rest wait for the next hour",
      "type": "boolean"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "workspace": {
            "type": "string"
          },
          "error": {
            "type": "string"
          }
        },
        "required": [
          "workspace",
          "error"
        ]
      }
    },
    "error": {
      "description": "composio_<refusal>: could not list the connected accounts · forbidden · unauthorized · not_ready (migration 0491) · no_db",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}