Query

Execute a Cypher query

Execute a read-only or write Cypher query against the graph database. Supports parameterized queries to prevent injection.

post/query

Request

  • Base URL: https://api.ladybugdb.com
  • URL: https://api.ladybugdb.com/query
  • Auth: none declared

Request body

querystring required

Cypher query string

parametersobject

Query parameters (named)

databasestring

Database name (default: 'default')

Example request

{
  "query": "MATCH (n:Entity) RETURN n.name, n.type LIMIT 10",
  "parameters": {
    "limit": 10,
    "type": "Person"
  }
}

Response

Successful query execution

columnsstring[]

Column names in the result set

Changes

No recorded changes to this operation across all 1 revision of this API.