cURL
curl --request POST \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "scope": "events", "limit": 123, "page": 123, "query": {}, "aggs": {}, "runtime_mappings": {}, "source": [ "<string>" ], "sort": [ {} ], "track_total_hits": true }'
{ "size": 123, "documents": [ {} ], "aggs": {} }
Generic search API to query or aggregate events & DSUL objects
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of workspace to search in
Success Response
The response is of type object.
object
Was this page helpful?