Skip to main content
GET
/
search
/
templates
Search templates
curl --request GET \
  --url https://api.lithoblocks.com/search/templates \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "<string>",
      "isPublic": true,
      "authorId": "<string>",
      "authorName": "<string>",
      "organizationId": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "matchScore": 123
    }
  ],
  "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
public_only
boolean | null
default:false
organization_id
string

Response

Search results

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