Create view
Creates a view, a named APL query that you can query like a dataset. Axiom derives datasets from aplQuery. The name can't match an existing dataset or view, and the query can't reference views or use wildcards.
Body
application/json| Property | Type | Description |
|---|---|---|
apl | stringRequired | APL query that defines the view |
datasets | string[] | Datasets the view queries. Axiom derives this from aplQuery and ignores it in requests. |
description | string | |
name | stringRequired | Name of the view. Use it as the view ID and to query the view like a dataset. |
shared | string | ID of the org that shared this resource, if it's shared |
shared | string | The name of the org that shared this resource, if it's shared |
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200Created view.400Invalid view, for example an APL parse error, a name that's already in use, or a query that references a view or datasets in different regions.403You don't have query access to a dataset that `aplQuery` references.| Property | Type | Description |
|---|---|---|
apl | stringRequired | APL query that defines the view |
datasets | string[] | Datasets the view queries. Axiom derives this from aplQuery and ignores it in requests. |
description | string | |
name | stringRequired | Name of the view. Use it as the view ID and to query the view like a dataset. |
shared | string | ID of the org that shared this resource, if it's shared |
shared | string | The name of the org that shared this resource, if it's shared |