Antwork · Schema

AccountDetail

Artificial IntelligenceSocial MediaAutomationSchedulerMarketing

Properties

Name Type Description
object object
id string
workspaceId string
platform string
name string
handle stringnull
accountType stringnull
active boolean
tokenHealth string
connectedAt stringnull
settings array
boards arraynull Pinterest only. Null when Pinterest refused the lookup.
boardsError string
reconnect boolean
dailyPostCap objectnull Posts this account may publish per rolling 24 hours on the owner's plan, and what is left. `remaining` subtracts both the posts published in the last 24 hours and those scheduled in the next 24, as th
posting object
recentPosts array With `include=recentPosts`: up to 15 of the account’s posts, its voice, text cut at 600 characters.
bestTimes object With `include=bestTimes`: the suggested posting times the composer shows.
View JSON Schema on GitHub

JSON Schema

antwork-io-account-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/antwork-io/json-schema/antwork-io-account-detail-schema.json",
  "title": "AccountDetail",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/antwork-io-openapi.json#/components/schemas/AccountDetail",
  "allOf": [
    {
      "$ref": "#/$defs/Account"
    },
    {
      "type": "object",
      "required": [
        "settings"
      ],
      "properties": {
        "settings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SettingField"
          }
        },
        "boards": {
          "type": [
            "array",
            "null"
          ],
          "description": "Pinterest only. Null when Pinterest refused the lookup.",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "boardsError": {
          "type": "string"
        },
        "reconnect": {
          "type": "boolean"
        },
        "dailyPostCap": {
          "type": [
            "object",
            "null"
          ],
          "description": "Posts this account may publish per rolling 24 hours on the owner's plan, and what is left. `remaining` subtracts both the posts published in the last 24 hours and those scheduled in the next 24, as the cap check does. `publishedLast24h` and `remaining` are absent when the count could not be read.",
          "properties": {
            "limit": {
              "type": "integer"
            },
            "windowHours": {
              "const": 24
            },
            "tier": {
              "type": "string",
              "enum": [
                "free",
                "paid"
              ]
            },
            "publishedLast24h": {
              "type": "integer"
            },
            "scheduledNext24h": {
              "type": "integer"
            },
            "remaining": {
              "type": "integer"
            },
            "platformLimit": {
              "type": "integer",
              "description": "The platform's maximum on the plan, when the owner set a lower `accountLimit`."
            },
            "accountLimit": {
              "type": "integer",
              "description": "The owner’s own daily maximum (`posting.maxPostsPerDay`); then it is `limit`."
            },
            "minGapMinutes": {
              "type": "integer",
              "description": "The owner’s minimum gap between this account’s posts."
            }
          }
        },
        "posting": {
          "oneOf": [
            {
              "$ref": "#/$defs/PostingSettings"
            },
            {
              "type": "null"
            }
          ]
        },
        "recentPosts": {
          "type": "array",
          "description": "With `include=recentPosts`: up to 15 of the account’s posts, its voice, text cut at 600 characters.",
          "items": {
            "type": "object",
            "properties": {
              "text": {
                "type": "string"
              },
              "publishedAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "metrics": {
                "type": "object"
              }
            }
          }
        },
        "bestTimes": {
          "type": "object",
          "description": "With `include=bestTimes`: the suggested posting times the composer shows."
        }
      }
    }
  ],
  "$defs": {
    "Account": {
      "type": "object",
      "required": [
        "object",
        "id",
        "workspaceId",
        "platform",
        "name",
        "active",
        "tokenHealth"
      ],
      "properties": {
        "object": {
          "const": "account"
        },
        "id": {
          "type": "string"
        },
        "workspaceId": {
          "type": "string"
        },
        "platform": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "handle": {
          "type": [
            "string",
            "null"
          ]
        },
        "accountType": {
          "type": [
            "string",
            "null"
          ]
        },
        "active": {
          "type": "boolean"
        },
        "tokenHealth": {
          "type": "string"
        },
        "connectedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "PostingSettings": {
      "type": "object",
      "description": "The account owner’s own posting rules, enforced like the platform caps (`account_limit_reached`): a daily maximum under the platform’s, a minimum gap between posts, and weekly slots that `scheduledFor: \"next_slot\"` fills.",
      "properties": {
        "maxPostsPerDay": {
          "type": "integer",
          "minimum": 1,
          "description": "At most this many posts in any 24 hours, at most the platform’s cap."
        },
        "minGapMinutes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1440
        },
        "timezone": {
          "type": "string",
          "description": "IANA zone of `slots`; the workspace’s when absent, else UTC."
        },
        "slots": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "object",
            "required": [
              "day",
              "time"
            ],
            "properties": {
              "day": {
                "type": "integer",
                "minimum": 1,
                "maximum": 7,
                "description": "1 = Monday … 7 = Sunday."
              },
              "time": {
                "type": "string",
                "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                "description": "Local time, HH:MM."
              }
            }
          }
        }
      }
    },
    "SettingField": {
      "type": "object",
      "required": [
        "key",
        "label",
        "type"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "enum",
            "bool",
            "text",
            "url"
          ]
        },
        "options": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "default": {},
        "maxLength": {
          "type": "integer"
        },
        "placeholder": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/antwork-io-account-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.