Save an event explorer query
Saves a query owned by the signed-in user, under a name unique among their saved queries (409 when taken); an API key cannot (400). The query must validate (400 with its position); it is not run. At most 100 per user (422). Requires the METER_DATA.VIEW or INVOICE.VIEW permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
name
A name, 1 to 100 characters, unique among the owner's saved queries on the platform.
query
An explorer query that validates on the platform (it is checked, never run).
Response
OK
id
The saved query’s id (seqy_…).
name
Its name, unique among the owner's saved queries on the platform.
query
The explorer query.
owner_user_id
The user who saved it (user_…); only they, or a user allowed to manage saved queries, change or delete it.
created_at
updated_at
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error