Xentral Credit API

Get information about your current current and monthly credits regarding Report usage.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/analytics/credit Get credit usage analytics · Get credit information #
Ask an LLM
“How much credit have I used in the Report module?”
“Can I see credit information for reporting?”
Tell an agent
Show my credit usage analytics.
Get credit information for the Report module.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/xentral:xentral-credit-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

xentral-credit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xentral Credit API
  version: v0.1
  description: Xentral is an ERP platform.
  contact:
    name: Xentral
    url: https://xentral.com
    email: api@xentral.com
servers:
- url: https://{xentralId}.xentral.biz
  description: Your Xentral Instance
  variables:
    xentralId:
      default: xentral
- url: https://{domain}
  description: Xentral at a custom domain
  variables:
    domain:
      default: xentral.com
security:
- BearerAuth: []
tags:
- name: Credit
  description: Get information about your current current and monthly credits regarding Report usage.
paths:
  /api/v1/analytics/credit:
    get:
      tags:
      - Credit
      operationId: analytics.credit.get
      summary: Get credit information
      description: Get credit information regarding Report module usage.
      responses:
        '200':
          description: Shows the amount of used credits for this month as well as the total amount of credits available
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                example:
                  data:
                  - totalCredits: 30
                    usedCredits: 5
                properties:
                  data:
                    type:
                    - array
                    - 'null'
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - usedCredits
                      - totalCredits
                      properties:
                        totalCredits:
                          type: number
                          example: 1
                          description: Total amount of credits available
                        usedCredits:
                          type: number
                          example: 1
                          description: Amount of used credits for this month
        '400':
          description: Error response with message
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - message
                properties:
                  message:
                    description: Error message
                    type: string
                    example: SQL statement is invalid
        '401':
          description: Unable to authenticate the client
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message explaining why the request failed.
                    example: 'Missing required scopes: customer:create.'
              example:
                message: 'Missing required scopes: customer:create.'
            text/html:
              schema:
                type: string
                example: Unauthorized
        '403':
          description: Unable to authorize the client
        '404':
          description: Resource was not found or not enough access privileges
        '415':
          description: Resource representation send in the request is not supported.
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token obtained in POST /tokens endpoint or pregenerated in the system.
x-readme:
  samples-languages: []
x-provenance:
  method: harvested
  publisher: Xentral
  source: https://raw.githubusercontent.com/xentral/api-spec-public/HEAD/openapi/xentral-api.openapi-3.0.0.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)