Skip to main content
GET
/
search
/
entities
Search entities
curl --request GET \
  --url https://api.lithoblocks.com/search/entities \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "organizationId": "<string>",
      "fieldCount": 123,
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "matchScore": 123,
      "matchedFields": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "<string>"
        }
      ]
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

LithoBlocks API key obtained from your organization dashboard

Query Parameters

q
string
required

Search query

Minimum string length: 1
limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer | null
default:0
Required range: x >= 0
organization_id
string

Response

Search results

results
object[]
required
total
number
required
limit
number
required
offset
number
required