BRICK Schema Entities API
The Entities API from BRICK Schema — 3 operation(s) for entities.
The Entities API from BRICK Schema — 3 operation(s) for entities.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/brick-entities-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Brick Server Entities API
version: 0.1.0
tags:
- name: Entities
paths:
/brickapi/v1/entities/upload:
post:
tags:
- Entities
summary: Uplaod a Turtle file
description: 'Upload a Turtle file. An example file: https://gitlab.com/jbkoh/brick-server-dev/blob/dev/examples/data/bldg.ttl'
operationId: upload_brickapi_v1_entities_upload_post
parameters:
- description: The name of the graph. This is similar to a database name in relational databases.
required: false
schema:
title: Named Graph
type: string
description: The name of the graph. This is similar to a database name in relational databases.
name: named_graph
in: query
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_upload_brickapi_v1_entities_upload_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/IsSuccess'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/brickapi/v1/entities/:
get:
tags:
- Entities
summary: Get Entity By Id
description: 'Get information about an entity including type and its relationships with others. The definition of entity: An entity can be defined in two ways. It''s an instance of a (Brick) Class. More specifically, it is either a physical or a virtual thing whose properties are well-maintained to be a thing. Top three Brick Classes are Point (e.g., sensors, setpoints, etc.), Equipment (e.g., VAV, Luminaire, AHU, etc.), and Location (e.g., Room, Floor, etc.)'
operationId: get_entity_by_id_brickapi_v1_entities__get
parameters:
- required: true
schema:
title: Entity Id
type: string
name: entity_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Entity'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/brickapi/v1/entities/list:
post:
tags:
- Entities
summary: Post
description: List all entities with their types and relations.
operationId: post_brickapi_v1_entities_list_post
requestBody:
content:
application/json:
schema:
title: Params
allOf:
- $ref: '#/components/schemas/ListEntityParams'
description: A list of object URIs for the corresponding predicate. Brick Server will find entities having relations with all the objects with the predicate (i.e., AND operation.)
default:
hasPoint: []
isPointOf: []
hasPart: []
isPartOf: []
hasLocation: []
isLocationOf: []
feeds: []
isFedBy: []
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EntityIds'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
ListEntityParams:
title: ListEntityParams
type: object
properties:
hasPoint:
title: Haspoint
type: array
items:
type: string
default: []
isPointOf:
title: Ispointof
type: array
items:
type: string
default: []
hasPart:
title: Haspart
type: array
items:
type: string
default: []
isPartOf:
title: Ispartof
type: array
items:
type: string
default: []
hasLocation:
title: Haslocation
type: array
items:
type: string
default: []
isLocationOf:
title: Islocationof
type: array
items:
type: string
default: []
feeds:
title: Feeds
type: array
items:
type: string
default: []
isFedBy:
title: Isfedby
type: array
items:
type: string
default: []
EntityIds:
title: EntityIds
required:
- entity_ids
type: object
properties:
entity_ids:
title: Entity Ids
type: array
items:
type: string
description: The list of `entity_id`s
Body_upload_brickapi_v1_entities_upload_post:
title: Body_upload_brickapi_v1_entities_upload_post
required:
- file
type: object
properties:
file:
title: File
type: string
format: binary
Entity:
title: Entity
required:
- type
- entity_id
type: object
properties:
relationships:
title: Relationships
type: array
items:
maxItems: 2
minItems: 2
type: array
items:
type: string
description: The list of relationships for the target entity. Assuming the target entity is the subject, each relation consists of the subject's predicate and object.s
default: []
type:
title: Type
type: string
description: The entity's type, which is often a Brick Class.
entity_id:
title: Entity Id
type: string
description: The identifier of an entity. Often a URI. This should be unique across the target systems (i.e., the graphs of the interest.)
name:
title: Name
type: string
description: An informative name for the entity. This does not have to be unique.
ValidationError:
title: ValidationError
required:
- loc
- msg
- type
type: object
properties:
loc:
title: Location
type: array
items:
type: string
msg:
title: Message
type: string
type:
title: Error Type
type: string
IsSuccess:
title: IsSuccess
type: object
properties:
is_success:
title: Is Success
type: boolean
default: true
reason:
title: Reason
type: string
default: ''
HTTPValidationError:
title: HTTPValidationError
type: object
properties:
detail:
title: Detail
type: array
items:
$ref: '#/components/schemas/ValidationError'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
bearerFormat: JWT