Codat · Schema

Data status

Describes the state of data in the Codat cache for a company and data type

Unified-API

Properties

Name Type Description
dataType string Available data types
lastSuccessfulSync object
currentStatus object
latestSyncId string Unique identifier for most recent sync of data type.
latestSuccessfulSyncId string Unique identifier for the most recent successful sync of data type.
View JSON Schema on GitHub

JSON Schema

codat-datastatus-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DataStatus",
  "title": "Data status",
  "description": "Describes the state of data in the Codat cache for a company and data type",
  "type": "object",
  "required": [
    "dataType",
    "currentStatus"
  ],
  "properties": {
    "dataType": {
      "title": "Data types",
      "x-internal": true,
      "type": "string",
      "description": "Available data types",
      "enum": [
        "accountTransactions",
        "balanceSheet",
        "bankAccounts",
        "bankTransactions",
        "billCreditNotes",
        "billPayments",
        "bills",
        "cashFlowStatement",
        "chartOfAccounts",
        "company",
        "creditNotes",
        "customers",
        "directCosts",
        "directIncomes",
        "invoices",
        "itemReceipts",
        "items",
        "journalEntries",
        "journals",
        "paymentMethods",
        "payments",
        "profitAndLoss",
        "purchaseOrders",
        "salesOrders",
        "suppliers",
        "taxRates",
        "trackingCategories",
        "transfers",
        "banking-accountBalances",
        "banking-accounts",
        "banking-transactionCategories",
        "banking-transactions",
        "commerce-companyInfo",
        "commerce-customers",
        "commerce-disputes",
        "commerce-locations",
        "commerce-orders",
        "commerce-paymentMethods",
        "commerce-payments",
        "commerce-productCategories",
        "commerce-products",
        "commerce-taxComponents",
        "commerce-transactions"
      ],
      "example": "invoices"
    },
    "lastSuccessfulSync": {
      "$ref": "#/components/schemas/DateTime"
    },
    "currentStatus": {
      "$ref": "#/components/schemas/PullOperation/properties/status"
    },
    "latestSyncId": {
      "type": "string",
      "description": "Unique identifier for most recent sync of data type.",
      "format": "uuid",
      "example": "ad474a37-2003-478e-baee-9af9f1ec2fe3"
    },
    "latestSuccessfulSyncId": {
      "type": "string",
      "description": "Unique identifier for the most recent successful sync of data type.",
      "format": "uuid",
      "example": "8220fc90-55b6-47bc-9417-48ac6ea93101"
    }
  },
  "examples": [
    {
      "dataType": "string",
      "lastSuccessfulSync": "2022-01-01T13:00:00.000Z",
      "currentStatus": "string",
      "latestSyncId": "ad474a37-2003-478e-baee-9af9f1ec2fe3",
      "latestSuccessfulSyncId": "8220fc90-55b6-47bc-9417-48ac6ea93101"
    }
  ]
}

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/codat-datastatus"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.