Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs.
Parameters
Output
Encoding
application/jsonresults
array
Required
No description provided.
Errors
InvalidRepository
SearchUnavailable
SearchError
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "InvalidRepository"
},
{
"name": "SearchUnavailable"
},
{
"name": "SearchError"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"ref": "#eventView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return."
},
"query": {
"type": "string",
"maxLength": 150,
"description": "Full-text search query.",
"maxGraphemes": 150
},
"location": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
},
"description": "Filter events by location CIDs. Can be specified multiple times."
},
"repository": {
"type": "string",
"format": "did",
"description": "Filter events by DID."
}
}
},
"description": "Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs."
}