Habu Cleanroom Datasets API

The Cleanroom Datasets API from Habu — 5 operation(s) for cleanroom datasets.

GitHub OpenAPI
Business capability
Information & Data Management BC-610

Operations 6

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 /cleanrooms/{cleanroomId}/datasets List datasets available in a cleanroom · Fetch a list of all Cleanroom Datasets #
Ask an LLM
“Which datasets can I assign to a cleanroom?”
“What field mappings and filters exist on a cleanroom's datasets?”
Tell an agent
List the datasets in cleanroom {cleanroomId}.
Show every dataset I can configure for cleanroom {cleanroomId}.
GET /cleanrooms/{cleanroomId}/datasets/{datasetId} Get one cleanroom dataset · Get a Cleanroom Dataset by ID #
Ask an LLM
“How do I look up a single dataset in a cleanroom?”
“Can I see the field mappings of one cleanroom dataset?”
Tell an agent
Get dataset {datasetId} in cleanroom {cleanroomId}.
Show cleanroom {cleanroomId}'s dataset {datasetId}.
PUT /cleanrooms/{cleanroomId}/datasets/{datasetId} Update a cleanroom dataset's mappings and filters · Update a Cleanroom Dataset by ID #
Ask an LLM
“Can I change the field mappings on a cleanroom dataset?”
“How do I add field filters to a cleanroom dataset?”
Tell an agent
Set the field mappings of dataset {datasetId} in cleanroom {cleanroomId} to {datasetFieldMappings}.
Update cleanroom {cleanroomId}'s dataset {datasetId} with filters {datasetFilters}.
POST /cleanrooms/{cleanroomId}/datasets/configure Configure a cleanroom dataset from a data connection · Configure a Cleanroom Dataset by Data Connection ID #
Ask an LLM
“How do I create a cleanroom dataset from a data connection?”
“Can I consent to using RampID as a join key when configuring a dataset?”
Tell an agent
Configure a cleanroom dataset in {cleanroomId} from data connection {dataConnectionId}.
Create a cleanroom dataset in {cleanroomId} using data connection {dataConnectionId} with RampID consent {rampIDConsent}.
POST /cleanrooms/{cleanroomId}/datasets/partner-assignment Control partner assignment of cleanroom datasets · Configure whether a partner can assign a Cleanroom Dataset #
Ask an LLM
“Can I stop partners from assigning cleanroom datasets?”
“How do I allow partners to assign datasets in a cleanroom?”
Tell an agent
Configure partner dataset assignment in cleanroom {cleanroomId}.
Set whether partners can assign datasets in cleanroom {cleanroomId}.
GET /identifier-types List identifier types for field mapping · Fetch a list of all Identifier Types for Field Mapping #
Ask an LLM
“What identifier types can I map fields to?”
“Which field identifier types are available for data connections?”
Tell an agent
List all identifier types for field mapping.
Show the identifier types I can use when mapping fields.

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:habu-cleanroom-datasets-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

habu-cleanroom-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1.0.0
  title: External APIs for Customer Integration Cleanroom Datasets…
  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: Cleanroom Datasets
paths:
  /cleanrooms/{cleanroomId}/datasets:
    get:
      summary: Fetch a list of all Cleanroom Datasets
      operationId: getCleanroomDatasets
      description: This operation fetches a list of all the Datasets that can be assigned or configured for a Cleanroom.
      parameters:
      - name: cleanroomId
        in: path
        description: Cleanroom ID associated with the datasets
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Cleanroom Datasets fetched successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanRoomDatasets'
        '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:
      - Cleanroom Datasets
  /cleanrooms/{cleanroomId}/datasets/{datasetId}:
    get:
      summary: Get a Cleanroom Dataset by ID
      operationId: getCleanroomDatasetById
      description: This operation gets a Cleanroom Dataset by ID.
      parameters:
      - name: cleanroomId
        in: path
        description: Cleanroom ID associated with the dataset
        required: true
        schema:
          type: string
      - name: datasetId
        in: path
        description: Dataset ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Cleanroom Dataset fetched successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanRoomDataset'
        '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:
      - Cleanroom Datasets
    put:
      summary: Update a Cleanroom Dataset by ID
      operationId: updateCleanroomDatasetById
      description: This operation updates the field mappings and field filters for a Cleanroom Dataset.
      parameters:
      - name: cleanroomId
        in: path
        description: Cleanroom ID associated with the dataset
        required: true
        schema:
          type: string
      - name: datasetId
        in: path
        description: Dataset ID
        required: true
        schema:
          type: string
      requestBody:
        description: Cleanroom Dataset Details
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CleanRoomDatasetUpdateRequest'
      responses:
        '200':
          description: Cleanroom Dataset updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanRoomDataset'
        '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:
      - Cleanroom Datasets
  /cleanrooms/{cleanroomId}/datasets/configure:
    post:
      summary: Configure a Cleanroom Dataset by Data Connection ID
      operationId: configureCleanroomDataset
      description: This operation configures a Cleanroom Dataset based on Data Connection ID.
      parameters:
      - name: cleanroomId
        in: path
        description: Cleanroom ID associated with the dataset
        required: true
        schema:
          type: string
      - name: dataConnectionId
        in: query
        description: Data Connection ID
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigureCleanRoomDatasetRequest'
      responses:
        '200':
          description: Cleanroom Dataset configured successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CleanRoomDataset'
        '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:
      - Cleanroom Datasets
  /cleanrooms/{cleanroomId}/datasets/partner-assignment:
    post:
      summary: Configure whether a partner can assign a Cleanroom Dataset
      operationId: updateCleanroomDatasetPartnerAssignment
      description: This operation configure whether a partner can assign a Cleanroom Dataset
      parameters:
      - name: cleanroomId
        in: path
        description: Cleanroom ID associated with the dataset
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCleanroomDatasetPartnerAssignmentRequest'
      responses:
        '200':
          description: Cleanroom Dataset partner assignment updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCleanroomDatasetPartnerAssignmentResponse'
        '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:
      - Cleanroom Datasets
  /identifier-types:
    get:
      summary: Fetch a list of all Identifier Types for Field Mapping
      operationId: getAllIdentifierTypes
      description: This operation fetches a list of all the Identifier Types to select from for mapping a Field - this is applicable during the mapping step of a Data Connection.
      responses:
        '200':
          description: Identifier Types fetched successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentifierTypes'
        '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:
      - Cleanroom Datasets
components:
  schemas:
    DatasetFieldMapping:
      type: object
      properties:
        dataConnectionId:
          type: string
          description: The Data Connection ID associated with this Field Configuration
        id:
          type: string
          description: Unique ID for the Field
        fieldIndex:
          type: integer
        fieldName:
          type: string
          description: Name of the Field
        fieldLabel:
          type: string
          description: Display Name of the Field
        dataType:
          type: string
        delimiter:
          type: string
        isPii:
          type: boolean
          default: false
        isUserIdField:
          type: boolean
          default: false
        isExcluded:
          type: boolean
          default: false
        rename:
          type: string
        transformation:
          type: string
          description: Transformation formula for calculated fields
        isPartitionColumn:
          type: boolean
          default: false
          readOnly: true
          description: Indicates whether this field is a partition column
        partitionFieldConfig:
          $ref: '#/components/schemas/PartitionFieldConfig'
    UpdateCleanroomDatasetPartnerAssignmentResponse:
      type: object
      properties:
        success:
          type: boolean
    DatasetField:
      type: object
      properties:
        datasetId:
          type: string
          description: Dataset ID
        id:
          type: string
          description: Dataset Field ID
        name:
          type: string
          description: Dataset Field Name
        value:
          type: string
          description: Dataset Field Value
        type:
          type: string
          description: Dataset Field Type
    IdentifierTypes:
      description: A list of Identifier Types
      type: array
      items:
        $ref: '#/components/schemas/IdentifierType'
    CleanRoomDatasetUpdateRequest:
      type: object
      description: 'The following fields are required: datasetFieldMapping.[fieldName, isExcluded, rename], datasetFilter.[datasetFieldName , operator, values]; all others are optional'
      properties:
        datasetFieldMappings:
          $ref: '#/components/schemas/DatasetFieldMappings'
        datasetFilters:
          type: array
          items:
            $ref: '#/components/schemas/DatasetFilter'
    UpdateCleanroomDatasetPartnerAssignmentRequest:
      type: array
      items:
        $ref: '#/components/schemas/UpdateCleanroomDatasetPartnerAssignmentParameters'
    DatasetPartitionParameter:
      type: object
      properties:
        name:
          type: string
          description: Full parameter name including view macro prefix and date expansion suffixes
        dataType:
          type: string
          description: Parameter data type
        partitionFieldConfig:
          $ref: '#/components/schemas/PartitionFieldConfig'
    DatasetParameter:
      type: object
      properties:
        name:
          type: string
          description: Dataset Parameter Name
        value:
          type: string
          description: Dataset Parameter Value
        type:
          type: string
          description: Dataset Parameter Type
    DatasetPartitionField:
      type: object
      properties:
        fieldName:
          type: string
          description: Raw partition column name from the data connection
        dataType:
          type: string
          description: Partition column data type
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/DatasetPartitionParameter'
    DatasetFieldMappings:
      description: A list of Dataset Field Mappings
      type: array
      items:
        $ref: '#/components/schemas/DatasetFieldMapping'
    IdentifierType:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        displayName:
          type: string
    ReturnObject:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
      - code
      - message
    UpdateCleanroomDatasetPartnerAssignmentParameters:
      type: object
      properties:
        datasetId:
          type: string
        partnerCanAssign:
          type: boolean
    CleanRoomDatasets:
      description: A list of Cleanroom Datasets
      type: array
      items:
        $ref: '#/components/schemas/CleanRoomDataset'
    DatasetPartitionParameters:
      type: object
      description: Partition parameters discoverable when this dataset is assigned to a question
      properties:
        isView:
          type: boolean
          description: Whether this dataset is a view
        partitionGroups:
          type: array
          items:
            $ref: '#/components/schemas/DatasetPartitionParameterGroup'
    CleanRoomDataset:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        cleanRoomId:
          type: string
        organizationName:
          type: string
          readOnly: true
          description: Name of the organization that owns this dataset
        dataConnectionType:
          type: string
        dataConnectionId:
          type: string
        stage:
          type: string
        configurationStatus:
          type: string
        datasetFields:
          type: array
          items:
            $ref: '#/components/schemas/DatasetField'
        datasetFieldMappings:
          $ref: '#/components/schemas/DatasetFieldMappings'
        datasetFilters:
          type: array
          items:
            $ref: '#/components/schemas/DatasetFilter'
        datasetParameters:
          type: array
          items:
            $ref: '#/components/schemas/DatasetParameter'
        partitionParameters:
          $ref: '#/components/schemas/DatasetPartitionParameters'
        isView:
          type: boolean
          description: Whether this dataset is a view
        partnerCanAssign:
          type: boolean
    DatasetFilter:
      type: object
      properties:
        datasetId:
          type: string
          description: Dataset ID
        id:
          type: string
          description: Dataset Filter ID
        datasetFieldName:
          type: string
          description: Dataset Field Name
        datasetFieldType:
          type: string
          description: Dataset Field Type
        operator:
          type: string
          description: Operator to be applied on the Dataset Field
          enum:
          - ''
          - EQUALS
          - NOT_EQUALS
          - IN
          - NOT_IN
        values:
          type: array
          items:
            type: string
          description: Values to filter the Dataset Field on
    PartitionFieldConfig:
      type: object
      properties:
        type:
          type: string
          enum:
          - Fixed
          - Range
          - Rolling
          description: Fixed is used for String and Integer type fields, Range and Rolling is for Date and Timestamp
        values:
          type: array
          items:
            type: string
        rollingUnit:
          type: string
          enum:
          - Days
          - Months
          description: Applicable only in case of Rolling Date and Timestamp fields
        isEnforced:
          type: boolean
          default: false
          description: Indicates whether the partition field values are enforced for the CRQ run
    DatasetPartitionParameterGroup:
      type: object
      properties:
        dataConnectionId:
          type: string
          description: Data connection (import job) ID
        dataConnectionName:
          type: string
          description: Data connection name
        dataConnectionMacro:
          type: string
          description: Macro of the underlying data connection (set for view datasets)
        partitionFields:
          type: array
          items:
            $ref: '#/components/schemas/DatasetPartitionField'
    ConfigureCleanRoomDatasetRequest:
      type: object
      properties:
        rampIDConsent:
          type: boolean
          default: false
          description: Consent to the use of RampID as a join key in questions (https://storage.googleapis.com/lr-tech-docs-resources/Files/LiveRamp%20RampID%20Data%20Protection%20Attestation.pdf)
  responses:
    InternalServerError:
      description: Internal Server Error
      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'
    Forbidden:
      description: This action is not allowed
      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'
    Unauthorized:
      description: Authorization information was missing or invalid
      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: {}