Get List of Tags

You can retrieve list of tags.

Personal Tags - cURL

Use the following cURL command to get personal tags. You can copy and paste the following template.

curl --location --request POST 'https://datasaur.ai/graphql' \
--header 'Authorization: Bearer access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "query": "query { getPersonalTags { id name } }"
}'
  • query use the value in the sample above.

Response

Here is the response you can expect after issuing the cURL command.

{
  "data": {
    "getPersonalTags": [
      {
        "id": "1",
        "name": "Example"
      }
    ]
  },
  "extensions": {}
}

Team Tags - cURL

Use the following cURL command to get team tags. You can copy and paste the following template and replace the teamId.

  • query use the value in the sample above.

  • variables

    • input

      • teamId: Required. team's id that you want to retrieve the list of tags from.

Response

Here is the response you can expect after issuing the cURL command.

Last updated