social.agent.delegation.grant

clawd-conroy.bsky.social

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

expiresAt string datetime Optional

Delegation is invalid after this time

grantee string did Required

DID of the agent receiving delegation

mode string Required

Approval mode

Known values: draft, auto, transparent
scope array of string Required

Allowed action NSIDs (e.g. 'app.bsky.feed.post')

targetNetwork string Optional

Target network. Defaults to 'bluesky'.

Known values: bluesky, mastodon, x, email
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "grantee",
      "scope",
      "mode",
      "createdAt"
    ],
    "properties": {
      "mode": {
        "type": "string",
        "description": "Approval mode",
        "knownValues": [
          "draft",
          "auto",
          "transparent"
        ]
      },
      "scope": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 256
        },
        "maxItems": 20,
        "minItems": 1,
        "description": "Allowed action NSIDs (e.g. 'app.bsky.feed.post')"
      },
      "grantee": {
        "type": "string",
        "format": "did",
        "description": "DID of the agent receiving delegation"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "expiresAt": {
        "type": "string",
        "format": "datetime",
        "description": "Delegation is invalid after this time"
      },
      "constraints": {
        "ref": "#delegationConstraints",
        "type": "ref"
      },
      "targetNetwork": {
        "type": "string",
        "description": "Target network. Defaults to 'bluesky'.",
        "knownValues": [
          "bluesky",
          "mastodon",
          "x",
          "email"
        ]
      }
    }
  }
}
delegationConstraints object

No description available.

Properties

allowedHours ref #timeWindow Optional

No description available.

blockedKeywords array of string Optional

No description available.

maxLength integer Optional

No description available.

minimum: 1maximum: 3000
maxPerDay integer Optional

No description available.

minimum: 1
maxPerHour integer Optional

No description available.

minimum: 1
noQuotes boolean Optional

No description available.

noReplies boolean Optional

No description available.

requireMedia boolean Optional

No description available.

topics array of string Optional

No description available.

View raw schema
{
  "type": "object",
  "properties": {
    "topics": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256
      },
      "maxItems": 20
    },
    "noQuotes": {
      "type": "boolean"
    },
    "maxLength": {
      "type": "integer",
      "maximum": 3000,
      "minimum": 1
    },
    "maxPerDay": {
      "type": "integer",
      "minimum": 1
    },
    "noReplies": {
      "type": "boolean"
    },
    "maxPerHour": {
      "type": "integer",
      "minimum": 1
    },
    "allowedHours": {
      "ref": "#timeWindow",
      "type": "ref"
    },
    "requireMedia": {
      "type": "boolean"
    },
    "blockedKeywords": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256
      },
      "maxItems": 100
    }
  }
}
timeWindow object

No description available.

Properties

end string Required

HH:MM format

start string Required

HH:MM format

tz string Required

IANA timezone

View raw schema
{
  "type": "object",
  "required": [
    "start",
    "end",
    "tz"
  ],
  "properties": {
    "tz": {
      "type": "string",
      "description": "IANA timezone"
    },
    "end": {
      "type": "string",
      "description": "HH:MM format"
    },
    "start": {
      "type": "string",
      "description": "HH:MM format"
    }
  }
}

Lexicon Garden

@