Habu Billable Configs API

The Billable Configs API from Habu — 2 operation(s) for billable configs.

Operations 3

GET /billable-configs Get billable config #
POST /billable-configs Upsert billable config #
DELETE /billable-configs/{billableConfigId} Delete billable config #

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/habu-billable-configs-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

habu-billable-configs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1.0.0
  title: External APIs for Customer Integration Billable Configs API
  description: APIs to create and fetch Clean Room and related details from LiveRamp (previously Habu) for Customer Integration.
  contact:
    name: LiveRamp (previously Habu)
    url: https://liveramp.com/
    email: platform_admin@habu.com
servers:
- description: External APIs for Customer Integration
  url: https://api.habu.com/v1/
security:
- application: []
tags:
- name: Billable Configs
paths:
  /billable-configs:
    get:
      summary: Get billable config
      operationId: getBillableConfig
      description: Fetches the billable config for a given source ID and source type. Absence of a config row means the source inherits billability from the hierarchy above it. See unhygienix billing-status documentation for resolution order.
      parameters:
      - name: sourceId
        in: query
        description: Identifier of the billable source (e.g. clean room ID, question run ID)
        required: true
        schema:
          type: string
      - name: sourceType
        in: query
        description: Type of billable source
        required: true
        schema:
          $ref: '#/components/schemas/BillableSourceType'
      - name: compositeSourceId
        in: query
        description: Optional; not used by any source type exposed on the external API
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Billable config fetched successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBillableConfigResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      tags:
      - Billable Configs
    post:
      summary: Upsert billable config
      operationId: upsertBillableConfig
      description: 'Creates or updates a billable config for the given source. Use after creating a question run or flow run to opt out of billing (`value: "false"`). Leaving billing enabled requires no row — the hierarchy above applies.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertBillableConfigRequest'
      responses:
        '200':
          description: Billable config upserted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpsertBillableConfigResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      tags:
      - Billable Configs
  /billable-configs/{billableConfigId}:
    delete:
      summary: Delete billable config
      operationId: deleteBillableConfig
      description: Deletes the billable config by its config ID (from a prior GET or upsert response). Returns 404 if no config with that ID was deleted. To resolve sourceId/sourceType to a config ID, call GET /billable-configs first.
      parameters:
      - name: billableConfigId
        in: path
        description: Billable config primary key ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Billable config deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteBillableConfigResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      tags:
      - Billable Configs
components:
  schemas:
    UpsertBillableConfigResponse:
      type: object
      properties:
        success:
          type: boolean
        billableConfigId:
          type: string
    GetBillableConfigResponse:
      type: object
      properties:
        config:
          $ref: '#/components/schemas/BillableConfig'
    ReturnObject:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
      - code
      - message
    BillableConfig:
      type: object
      description: Billable configuration for a source entity
      required:
      - sourceId
      - sourceType
      properties:
        id:
          type: string
        sourceId:
          type: string
        sourceType:
          $ref: '#/components/schemas/BillableSourceType'
        value:
          type: string
          description: Billable flag as string ("true" or "false")
        compositeSourceId:
          type: string
    DeleteBillableConfigResponse:
      type: object
      properties:
        success:
          type: boolean
    UpsertBillableConfigRequest:
      type: object
      required:
      - config
      properties:
        config:
          $ref: '#/components/schemas/BillableConfig'
    BillableSourceType:
      type: string
      description: Type of entity a billable config applies to
      enum:
      - BILLABLE_UNKNOWN
      - BILLABLE_RUN
      - BILLABLE_FLOW_RUN
      - BILLABLE_QUESTION
      - BILLABLE_FLOW
      - BILLABLE_CR
      - BILLABLE_OWNER
      - BILLABLE_PARTNER
      - BILLABLE_CRQ
  responses:
    Forbidden:
      description: This action is not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReturnObject'
        application/xml:
          schema:
            $ref: '#/components/schemas/ReturnObject'
    Unauthorized:
      description: Authorization information was missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReturnObject'
        application/xml:
          schema:
            $ref: '#/components/schemas/ReturnObject'
    NotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReturnObject'
        application/xml:
          schema:
            $ref: '#/components/schemas/ReturnObject'
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReturnObject'
        application/xml:
          schema:
            $ref: '#/components/schemas/ReturnObject'
    BadRequest:
      description: Bad Request - Incorrect syntax or request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReturnObject'
        application/xml:
          schema:
            $ref: '#/components/schemas/ReturnObject'
  securitySchemes:
    application:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.habu.com/v1/oauth/token
          scopes: {}