app.chronosky.plan.getUsage

chronosky.app

Documentation

Get the authenticated user's plan information and usage statistics

main query

Get the authenticated user's plan information and usage statistics

Output

Encodingapplication/json
currentPlan ref#currentPlan Required

No description available.

limits ref#planLimits Required

No description available.

usage ref#usageStats Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "currentPlan",
        "limits",
        "usage"
      ],
      "properties": {
        "usage": {
          "ref": "#usageStats",
          "type": "ref"
        },
        "limits": {
          "ref": "#planLimits",
          "type": "ref"
        },
        "currentPlan": {
          "ref": "#currentPlan",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get the authenticated user's plan information and usage statistics"
}
currentPlan object

Current plan information.

Properties

displayName unknown Required

Localized plan display names

id string Required

Plan ID

maxLength: 100 bytes
isActive boolean Required

Whether the plan is currently active

name string Required

Internal plan name

maxLength: 200 bytes
tier string Required

Plan tier (FREE, BASIC, STANDARD, PREMIUM)

maxLength: 50 bytes
validUntil string datetime Optional

Plan expiration date (ISO 8601)

maxLength: 100 bytes
View raw schema
{
  "type": "object",
  "required": [
    "id",
    "tier",
    "name",
    "displayName",
    "isActive"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 100,
      "description": "Plan ID"
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "description": "Internal plan name"
    },
    "tier": {
      "type": "string",
      "maxLength": 50,
      "description": "Plan tier (FREE, BASIC, STANDARD, PREMIUM)"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether the plan is currently active"
    },
    "validUntil": {
      "type": "string",
      "format": "datetime",
      "maxLength": 100,
      "description": "Plan expiration date (ISO 8601)"
    },
    "displayName": {
      "type": "unknown",
      "description": "Localized plan display names"
    }
  },
  "description": "Current plan information."
}
planLimits object

Plan limits.

Properties

markdownSupport boolean Optional

Whether markdown formatting is supported

maxImageSizeMb integer Optional

Maximum image size (MB)

maxImagesPerPost integer Required

Maximum images per post

maxScheduleDays integer Required

Maximum days in advance to schedule

maxVideoSizeMb integer Optional

Maximum video size (MB)

monthlyPostsLimit integer Required

Maximum posts per month

pendingPostsLimit integer Required

Maximum concurrent pending posts

scheduleIntervalMinutes integer Required

Minimum interval between scheduled posts (minutes)

threadPosts boolean Optional

Whether thread posts are enabled

threadPostsLimit integer Required

Maximum posts per thread

videoProcessingMinutesMonthly integer Optional

Monthly video processing minutes

videoUpload boolean Optional

Whether video uploads are enabled

View raw schema
{
  "type": "object",
  "required": [
    "monthlyPostsLimit",
    "pendingPostsLimit",
    "maxScheduleDays",
    "scheduleIntervalMinutes",
    "maxImagesPerPost",
    "threadPostsLimit"
  ],
  "properties": {
    "threadPosts": {
      "type": "boolean",
      "description": "Whether thread posts are enabled"
    },
    "videoUpload": {
      "type": "boolean",
      "description": "Whether video uploads are enabled"
    },
    "maxImageSizeMb": {
      "type": "integer",
      "description": "Maximum image size (MB)"
    },
    "maxVideoSizeMb": {
      "type": "integer",
      "description": "Maximum video size (MB)"
    },
    "markdownSupport": {
      "type": "boolean",
      "description": "Whether markdown formatting is supported"
    },
    "maxScheduleDays": {
      "type": "integer",
      "description": "Maximum days in advance to schedule"
    },
    "maxImagesPerPost": {
      "type": "integer",
      "description": "Maximum images per post"
    },
    "threadPostsLimit": {
      "type": "integer",
      "description": "Maximum posts per thread"
    },
    "monthlyPostsLimit": {
      "type": "integer",
      "description": "Maximum posts per month"
    },
    "pendingPostsLimit": {
      "type": "integer",
      "description": "Maximum concurrent pending posts"
    },
    "scheduleIntervalMinutes": {
      "type": "integer",
      "description": "Minimum interval between scheduled posts (minutes)"
    },
    "videoProcessingMinutesMonthly": {
      "type": "integer",
      "description": "Monthly video processing minutes"
    }
  },
  "description": "Plan limits."
}
usageStats object

Usage statistics.

Properties

apiRequestsThisHour integer Optional

API requests in current hour

lastUpdated string datetime Required

Last time usage was updated (ISO 8601)

maxLength: 100 bytes
monthlyPeriodEnd string datetime Required

End of current monthly period (ISO 8601)

maxLength: 100 bytes
monthlyPeriodStart string datetime Required

Start of current monthly period (ISO 8601)

maxLength: 100 bytes
monthlyPostsCount integer Required

Number of posts this month

pendingPostsCount integer Required

Current number of pending posts

storageUsedMb integer Optional

Storage used (MB)

View raw schema
{
  "type": "object",
  "required": [
    "pendingPostsCount",
    "monthlyPostsCount",
    "monthlyPeriodStart",
    "monthlyPeriodEnd",
    "lastUpdated"
  ],
  "properties": {
    "lastUpdated": {
      "type": "string",
      "format": "datetime",
      "maxLength": 100,
      "description": "Last time usage was updated (ISO 8601)"
    },
    "storageUsedMb": {
      "type": "integer",
      "description": "Storage used (MB)"
    },
    "monthlyPeriodEnd": {
      "type": "string",
      "format": "datetime",
      "maxLength": 100,
      "description": "End of current monthly period (ISO 8601)"
    },
    "monthlyPostsCount": {
      "type": "integer",
      "description": "Number of posts this month"
    },
    "pendingPostsCount": {
      "type": "integer",
      "description": "Current number of pending posts"
    },
    "monthlyPeriodStart": {
      "type": "string",
      "format": "datetime",
      "maxLength": 100,
      "description": "Start of current monthly period (ISO 8601)"
    },
    "apiRequestsThisHour": {
      "type": "integer",
      "description": "API requests in current hour"
    }
  },
  "description": "Usage statistics."
}

Lexicon Garden

@