Tagging your library tracks

You can tag the tracks you upload to the Cyanite.ai platform! Tagging allows you to futher organize your collection.

Currently, it is possible to use the following tags: testing, staging, live.

You can either add tags when creating a InDepthAnalysis or afterwards with the corresponding mutations (inDepthAnalysisAddTag & inDepthAnalysisRemoveTag).

Below are some example operations for creating/modifying tags. All types can be inspected via our GraphQL Playground.

Example: Create InDepthAnalysis with tags

GraphQL Operation

mutation inDepthAnalysisCreate($data: InDepthAnalysisCreateInput!) {
inDepthAnalysisCreate(data: $data) {
__typename
... on InDepthAnalysisCreateResultSuccess {
inDepthAnalysis {
id
status
}
}
... on Error {
message
}
}
}

Variables

{
"data": {
"fileName": "My first InDepthAnalysis with tags",
"uploadId": "10",
"tags": ["live"]
}
}

Example: Add tag to existing InDepthAnalysis

GraphQL Operation

mutation inDepthAnalysisAddTag($data: InDepthAnalysisAddTagInput!) {
inDepthAnalysisAddTag(data: $data) {
__typename
... on InDepthAnalysisAddTagResultSuccess {
inDepthAnalysis {
id
tags
}
}
... on Error {
message
}
}
}

Variables

{
"data": {
"inDepthAnalysisId": "My first InDepthAnalysis with tags",
"tag": "live"
}
}

Example: Remove a tag from an existing InDepthAnalysis

GraphQL Operation

mutation inDepthAnalysisRemoveTag($data: InDepthAnalysisRemoveTagInput!) {
inDepthAnalysisRemoveTag(data: $data) {
__typename
... on InDepthAnalysisRemoveTagResultSuccess {
inDepthAnalysis {
id
tags
}
}
... on Error {
message
}
}
}

Variables

{
"data": {
"inDepthAnalysisId": "My first InDepthAnalysis with tags",
"tag": "live"
}
}