v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
DataExplorerV2

Create UsageSavedQuery

Create a new UsageSavedQuery.

post/organizations/{orgId}/usage/savedqueries

Path parameters

orgIdstring required

UUID of the organization

Request body

versioninteger

The version number of the entity:

  • Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
  • Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.

Response

Return the created UsageSavedQuery

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.