For the complete BrainAPI documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL. Docs MCP: /docs/mcp.
BrainAPI Metadata API
Inspect authentication scope and graph metadata.
Retrieve all unique node labels present in the graph.
Parameters: brain_id (str): Identifier of the brain/graph to query. Defaults to "default".
Returns: labels (list[str]): List of unique node label names.
BrainAPI personal access token.
In: header
Header Parameters
Preferred brain scope. Query/body/multipart fallbacks remain supported.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/meta/entity-labels"[ "string"]Retrieve all unique property keys used by entities in the specified brain/graph.
Parameters: brain_id (str): Identifier of the brain/graph to query; defaults to "default".
Returns: list[str]: A list of property key names present on entities in the graph.
BrainAPI personal access token.
In: header
Header Parameters
Preferred brain scope. Query/body/multipart fallbacks remain supported.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/meta/entity-properties"[ "string"]Resolve whether a BrainPAT is the system token or scoped to a single brain.
BrainAPI personal access token.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/meta/login-info"{ "brain_id": "string", "is_system_pat": true}Retrieve all unique relationship types present in the graph for the specified brain.
Parameters: brain_id (str): Identifier of the brain/graph to query. Defaults to "default".
Returns: A list of relationship type names (strings) found in the specified graph.
BrainAPI personal access token.
In: header
Header Parameters
Preferred brain scope. Query/body/multipart fallbacks remain supported.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/meta/relationships-properties"[ "string"]Last updated on
