Get list of datasets
Changed onLists the datasets you can read, including datasets shared with your organization, sorted by name. Returns all matching datasets in one response without pagination.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Exclude resolved label objects from each dataset response. The labelIds and labelNames fields are still returned.
Filter by label names in your organization. Repeat the parameter for multiple names, for example ?label=prod&label=team-a. Names match case-insensitively after whitespace normalization; duplicates count once. Commas are part of a name, not separators. Reading resources never creates missing labels.
How to combine label names: any (the default) requires at least one requested label on a resource; all requires every requested label on that same resource. For example, ?label=prod&label=team-a matches either label, while ?label=prod&label=team-a&labelMatch=all requires both. Unknown names have no matches with any and make all return no resources. Without label parameters, labelMatch has no effect.
Return datasets assigned every specified label ID. When combined with label names, both filters must match; labelMatch applies only to names.
Response
Datasets you can read.
Example response
[
{
"created": "2020-01-01T00:00:00Z",
"description": "This is an example dataset",
"id": "example-dataset",
"name": "example-dataset",
"updatedAt": "2020-01-01T00:00:00Z",
"who": "John Doe"
},
{
"created": "2020-02-01T00:00:00Z",
"description": "This is an example dataset",
"id": "example-dataset-2",
"name": "example-dataset-2",
"updatedAt": "2020-02-01T00:00:00Z",
"who": "Foo Bar"
}
]Changes
- info
added the new optional
queryrequest parameterlabel - info
added the new optional
queryrequest parameterlabelMatch - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- info
- info
added the new optional
queryrequest parameterexclude - info
added the new optional
queryrequest parameterlabelIds - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- info