Charthop budget API

The budget API from Charthop — 3 operation(s) for budget.

Operations 6

GET /v1/org/{orgId}/budget Find budgets #
POST /v1/org/{orgId}/budget Create a new budget #
GET /v1/org/{orgId}/budget/calculate-usage Calculate potential budget usage, for use while creating/setting budgets #
GET /v1/org/{orgId}/budget/{budgetId} Get a budget by id or slug #
PATCH /v1/org/{orgId}/budget/{budgetId} Update an existing budget #
DELETE /v1/org/{orgId}/budget/{budgetId} Delete a budget #

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/charthop-budget-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

charthop-budget-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: REST API for ChartHop
  version: V1.0.0
  title: ChartHop access Budget API
  contact:
    name: ChartHop
    url: https://www.charthop.com
    email: support@charthop.com
servers:
- url: https://localhost
- url: http://localhost
tags:
- name: budget
paths:
  /v1/org/{orgId}/budget:
    get:
      tags:
      - budget
      summary: Find budgets
      operationId: findBudgets
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: groupId
        in: query
        description: Group id to filter budgets by
        required: false
        schema:
          type: string
      - name: date
        in: query
        description: Date to filter budgets as-of (defaults to today)
        required: false
        schema:
          type: string
          format: date
      - name: fromId
        in: query
        description: Starting budget id for pagination
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: Status to filter budgets by (DRAFT, ACTIVE, or ARCHIVED)
        required: false
        schema:
          type: string
      - name: limit
        in: query
        description: Number of results to return
        required: false
        schema:
          type: integer
          format: int32
      - name: returnAccess
        in: query
        description: 'Return access information -- pass a list of actions to check, for example: create,update,delete'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultsBudget'
        '400':
          description: bad request
        '401':
          description: not authorized
        '404':
          description: not found
    post:
      tags:
      - budget
      summary: Create a new budget
      operationId: createBudget
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Budget'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
        '404':
          description: org not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBudget'
        description: Budget data to create
        required: true
  /v1/org/{orgId}/budget/calculate-usage:
    get:
      tags:
      - budget
      summary: Calculate potential budget usage, for use while creating/setting budgets
      operationId: calculateBudgetUsage
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: groupIds
        in: query
        description: Group ids
        required: false
        schema:
          type: string
      - name: costExpr
        in: query
        description: Cost expression to calculate
        required: false
        schema:
          type: string
      - name: currency
        in: query
        description: Currency to calculate in
        required: false
        schema:
          type: string
      - name: date
        in: query
        description: Date to retrieve as of
        required: false
        schema:
          type: string
          format: date
      responses:
        '204':
          description: deleted
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
        '404':
          description: not found
  /v1/org/{orgId}/budget/{budgetId}:
    get:
      tags:
      - budget
      summary: Get a budget by id or slug
      operationId: getBudget
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: budgetId
        in: path
        description: Budget id or slug
        required: true
        schema:
          type: string
      - name: date
        in: query
        description: Date to get budget data as-of (defaults to today)
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Budget'
        '400':
          description: bad request
        '401':
          description: not authorized
        '404':
          description: not found
    patch:
      tags:
      - budget
      summary: Update an existing budget
      operationId: updateBudget
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: budgetId
        in: path
        description: Budget id
        required: true
        schema:
          type: string
      - name: date
        in: query
        description: Date to update budget on (defaults to today)
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Budget'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
        '404':
          description: not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBudget'
        description: Budget data to update
        required: true
    delete:
      tags:
      - budget
      summary: Delete a budget
      operationId: deleteBudget
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: budgetId
        in: path
        description: Budget id
        required: true
        schema:
          type: string
      - name: date
        in: query
        description: Date to delete budget on (defaults to today)
        required: false
        schema:
          type: string
          format: date
      responses:
        '204':
          description: deleted
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
        '404':
          description: not found
components:
  schemas:
    Attribution:
      type: object
      properties:
        principalUserId:
          type: string
          example: 588f7ee98f138b19220041a7
        agentUserIds:
          type: array
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        eventId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiChatId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiToolUseId:
          type: string
        channel:
          type: string
          enum:
          - WEB
          - MOBILE
          - SLACK
          - TEAMS
          - MCP
    CreateBudget:
      type: object
      required:
      - startDate
      - endDate
      - sensitive
      properties:
        slug:
          type: string
          description: url-safe slug for the budget, auto-generated from label if not provided
        label:
          type: string
          description: human-readable label for the budget
        ownerPersonIds:
          type: array
          description: list of persons who own this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        groupIds:
          type: array
          description: list of group IDs (e.g. department) for this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        color:
          type: string
          description: color of budget
          pattern: ^#[a-f0-9]{6}$
        startDate:
          type: string
          format: date
          description: start date of the budget
        endDate:
          type: string
          format: date
          description: end date of the budget
        sensitive:
          type: string
          description: sensitivity level of budget
          enum:
          - GLOBAL
          - ORG
          - SENSITIVE
          - PERSONAL
          - MANAGER
          - HIGH
          - PRIVATE
        shareAccess:
          type: array
          description: users who are specifically granted permission to view or edit this budget
          items:
            $ref: '#/components/schemas/ShareAccess'
        costExpr:
          type: string
          description: calculation to compute cost
        status:
          type: string
          description: status of the budget
          enum:
          - DRAFT
          - ACTIVE
          - ARCHIVED
        amount:
          description: budget amount for the current date (time tracked field)
          $ref: '#/components/schemas/Money'
    Money:
      type: object
      required:
      - amount
      - currency
      properties:
        amount:
          type: number
        currency:
          type: string
        places:
          type: integer
          format: int32
    ResultsBudget:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Budget'
        next:
          type: string
        access:
          type: array
          items:
            $ref: '#/components/schemas/ResultsAccess'
    ResultsAccess:
      type: object
      required:
      - allowed
      properties:
        ids:
          type: array
          uniqueItems: true
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        allowed:
          type: array
          uniqueItems: true
          items:
            $ref: '#/components/schemas/AccessAction'
    ShareAccess:
      type: object
      required:
      - access
      properties:
        access:
          type: string
          description: access permission level
          enum:
          - NONE
          - LIMITED_READ
          - LIMITED_WRITE
          - STANDARD_READ
          - STANDARD_WRITE
          - COMPENSATION_READ
          - FULL_READ
          - COMP_PLANNING_PARTICIPANT
          - COMPENSATION_WRITE
          - WRITE
          - COMPENSATION_OWNER
          - OWNER
        userId:
          type: string
          description: user id
          example: 5887a7718f138b6a2a0041a7
        groupId:
          type: string
          description: group id
          example: 5887a7718f138b6a2a0041a7
        fields:
          type: string
          description: fields
          example: name,image,title
    AccessAction:
      type: object
      required:
      - action
      properties:
        action:
          type: string
        fields:
          type: array
          uniqueItems: true
          items:
            type: string
        types:
          type: array
          uniqueItems: true
          items:
            type: string
    Budget:
      type: object
      required:
      - id
      - orgId
      - slug
      - startDate
      - endDate
      - sensitive
      - shareAccess
      - status
      - createDate
      properties:
        id:
          type: string
          description: globally unique id
          example: 588f7ee98f138b19220041a7
        orgId:
          type: string
          description: parent organization id
          example: 588f7ee98f138b19220041a7
        slug:
          type: string
          description: url-safe slug for the budget, auto-generated from label if not provided
        label:
          type: string
          description: human-readable label for the budget
        ownerPersonIds:
          type: array
          description: list of persons who own this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        groupIds:
          type: array
          description: list of group IDs (e.g. department) for this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        color:
          type: string
          description: color of budget
          pattern: ^#[a-f0-9]{6}$
        startDate:
          type: string
          format: date
          description: start date of the budget
        endDate:
          type: string
          format: date
          description: end date of the budget
        sensitive:
          type: string
          description: sensitivity level of budget
          enum:
          - GLOBAL
          - ORG
          - SENSITIVE
          - PERSONAL
          - MANAGER
          - HIGH
          - PRIVATE
        shareAccess:
          type: array
          description: users who are specifically granted permission to view or edit this budget
          items:
            $ref: '#/components/schemas/ShareAccess'
        costExpr:
          type: string
          description: calculation to compute cost
        status:
          type: string
          description: status of the budget
          enum:
          - DRAFT
          - ACTIVE
          - ARCHIVED
        usage:
          description: current amount used (calculated and time tracked field)
          $ref: '#/components/schemas/Money'
        amount:
          description: budget amount for the current date (time tracked field)
          $ref: '#/components/schemas/Money'
        createDate:
          type: string
          format: date
          description: when this budget starts existing in org history
        deleteDate:
          type: string
          format: date
          description: when this budget stops existing in org history (null if still active)
        createId:
          type: string
          description: created by user id
          example: 588f7ee98f138b19220041a7
        createBehalfId:
          type: string
          description: created on behalf of user id
          example: 588f7ee98f138b19220041a7
        createAttribution:
          $ref: '#/components/schemas/Attribution'
        createAt:
          type: string
          description: created timestamp
          example: '2017-01-24T13:57:52Z'
        updateId:
          type: string
          description: last updated by user id
          example: 588f7ee98f138b19220041a7
        updateBehalfId:
          type: string
          description: last updated on behalf of user id
          example: 588f7ee98f138b19220041a7
        updateAttribution:
          $ref: '#/components/schemas/Attribution'
        updateAt:
          type: string
          description: last updated timestamp
          example: '2017-01-24T13:57:52Z'
    UpdateBudget:
      type: object
      properties:
        slug:
          type: string
          description: url-safe slug for the budget, auto-generated from label if not provided
        label:
          type: string
          description: human-readable label for the budget
        ownerPersonIds:
          type: array
          description: list of persons who own this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        groupIds:
          type: array
          description: list of group IDs (e.g. department) for this budget
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        color:
          type: string
          description: color of budget
          pattern: ^#[a-f0-9]{6}$
        startDate:
          type: string
          format: date
          description: start date of the budget
        endDate:
          type: string
          format: date
          description: end date of the budget
        sensitive:
          type: string
          description: sensitivity level of budget
          enum:
          - GLOBAL
          - ORG
          - SENSITIVE
          - PERSONAL
          - MANAGER
          - HIGH
          - PRIVATE
        shareAccess:
          type: array
          description: users who are specifically granted permission to view or edit this budget
          items:
            $ref: '#/components/schemas/ShareAccess'
        costExpr:
          type: string
          description: calculation to compute cost
        status:
          type: string
          description: status of the budget
          enum:
          - DRAFT
          - ACTIVE
          - ARCHIVED
        amount:
          description: budget amount for the current date (time tracked field)
          $ref: '#/components/schemas/Money'