UCSB Department Chartfield

Department, cost centre, cost type and project-code chartfields from the campus financial system. Published as OpenAPI 3.0.1 and the only contract that declares test and dev environments alongside production. Published as OpenAPI 3.0.1, 1 path, base https://api.ucsb.edu/administration/financial/accounts.

Operations 1

GET /departments/v1/{departmentCode} Get departments and their chart fields by parent department

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/department-chartfield"
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

ucsb-department-chartfield-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Department Chartfield
  description: Departments and their chartfields, cost types, cost centers and project codes, by parent
    department code from the GMC.  This service will return department child descendents.
  version: '1.0'
  x-source-url: https://developer.ucsb.edu/sites/default/files/openapi/gmc-department-accounts_0.yaml
  x-last-validated: '2026-08-30'
  x-operator: institution
servers:
- url: https://api.ucsb.edu/administration/financial/accounts
- url: https://test.api.ucsb.edu/administration/financial/accounts
- url: https://dev.api.ucsb.edu/administration/financial/accounts
paths:
  /departments/v1/{departmentCode}:
    get:
      tags:
      - Departments
      summary: Get departments and their chart fields by parent department
      description: ''
      parameters:
      - name: departmentCode
        in: path
        description: 4 chars department code
        required: true
        schema:
          type: string
      - name: includeChartfields
        in: query
        description: Include Department Chartfields
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: Returns a list of child departments and their chartfields
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DepartmentModel'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DepartmentModel'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/xml:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Server Error
components:
  schemas:
    CostTypeModel:
      type: object
      properties:
        costType:
          type: string
          nullable: true
        costTypeDesc:
          type: string
          nullable: true
        enabled:
          type: boolean
          nullable: true
        updateDate:
          type: string
          format: date-time
      additionalProperties: false
    CostCenterModel:
      type: object
      properties:
        costCenter:
          type: string
          description: ''
          nullable: true
        costCenterDesc:
          type: string
          nullable: true
        enabled:
          type: boolean
          nullable: true
        updateDate:
          type: string
          format: date-time
      additionalProperties: false
    ProjectCodeModel:
      type: object
      properties:
        projectCode:
          type: string
          nullable: true
        projectCodeDesc:
          type: string
          nullable: true
        enabled:
          type: boolean
          nullable: true
        updateDate:
          type: string
          format: date-time
      additionalProperties: false
    DepartmentModel:
      type: object
      properties:
        deptCode:
          type: string
          description: Department Code
          nullable: true
        deptName:
          type: string
          description: Department Name
          nullable: true
        reportTo:
          type: string
          description: DepartmentModel to which this department report to
          nullable: true
        enabled:
          type: boolean
          description: Department Enabled flag
        updateDate:
          type: string
          description: Last time department was updated
          format: date-time
        costTypes:
          type: array
          items:
            $ref: '#/components/schemas/CostTypeModel'
          description: department Cost Types
          nullable: true
        costCenters:
          type: array
          items:
            $ref: '#/components/schemas/CostCenterModel'
          description: Department Cost Centers
          nullable: true
        projectCodes:
          type: array
          items:
            $ref: '#/components/schemas/ProjectCodeModel'
          description: Department Project Codes
          nullable: true
      additionalProperties: false
      description: ''
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties:
        type: object
        additionalProperties: false
  securitySchemes:
    ucsbApiKey:
      type: apiKey
      name: ucsb-api-key
      in: header
security:
- ucsbApiKey: []