---
updatedAt: 2026-09-04T21:30:25.000Z
agentTools:
  siteIndex: https://developers.liveramp.com/llms.txt
  projectIndex: https://developers.liveramp.com/clean-room-api/llms.txt
---

# Get clean room context

Retrieves one live context by UUID. Any clean room member can read. Use `GET .../context-lookups?name=` to fetch by handle.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1.0.0",
    "title": "External APIs for Customer Integration",
    "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"
    }
  },
  "security": [
    {
      "application": []
    }
  ],
  "paths": {
    "/cleanrooms/{cleanroomId}/contexts/{contextId}": {
      "get": {
        "summary": "Get clean room context",
        "operationId": "getCleanRoomContextById",
        "description": "Retrieves one live context by UUID. Any clean room member can read. Use `GET .../context-lookups?name=` to fetch by handle.",
        "parameters": [
          {
            "in": "path",
            "name": "cleanroomId",
            "description": "Clean room that owns the context.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "contextId",
            "description": "UUID of the context to retrieve.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Clean room context retrieved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CleanRoomContext"
                }
              }
            }
          },
          "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 Contexts"
        ]
      }
    }
  },
  "components": {
    "responses": {
      "BadRequest": {
        "description": "Bad Request - Incorrect syntax or request",
        "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"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Authorization information was missing or invalid",
        "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"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ReturnObject"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ReturnObject"
            }
          }
        }
      }
    },
    "schemas": {
      "CleanRoomContext": {
        "description": "Owner-authored named instruction document for a clean room.",
        "properties": {
          "object": {
            "type": "string",
            "readOnly": true,
            "enum": [
              "cleanRoomContext"
            ],
            "description": "Resource type name."
          },
          "id": {
            "type": "string",
            "description": "Context UUID identity."
          },
          "cleanRoomId": {
            "type": "string",
            "description": "Clean room that owns this context."
          },
          "organizationId": {
            "type": "string",
            "description": "Author organization. V1 is always the clean room owner."
          },
          "name": {
            "type": "string",
            "maxLength": 512,
            "description": "Required handle, unique per clean room among live rows (case-insensitive)."
          },
          "summary": {
            "type": "string",
            "maxLength": 280,
            "description": "Optional short summary."
          },
          "instructions": {
            "type": "string",
            "description": "Optional instruction body. Stored as received, including markdown tables. No application max length."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the context was created."
          },
          "userAudit": {
            "$ref": "#/components/schemas/UserAudit"
          }
        }
      },
      "UserAudit": {
        "type": "object",
        "properties": {
          "createdBy": {
            "type": "string",
            "description": "Identifier of the user who created the object"
          },
          "updatedBy": {
            "type": "string",
            "description": "Identifier of the user who last updated the object"
          }
        }
      },
      "ReturnObject": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ]
      }
    },
    "securitySchemes": {
      "application": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://api.habu.com/v1/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "servers": [
    {
      "description": "External APIs for Customer Integration",
      "url": "https://api.habu.com/v1/"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```