Support Questions
Find answers, ask questions, and share your expertise

How to upload hundred's of tag at one shot in Apache Atlas??,How to upload hundred's of tag in Apache Atlas ?

I have a requirement where i need to create 100 of tags in Apache Atlas. Is there any provision which can be used to upload csv file in Apache Atlas ??

Thanks in Advance,



I have a requirement where i need to create 100 of tags, Are there any provision in Atlas to upload csv file ??




@subash sharma

This can be done using REST API for creating types.

Please refer to createTraits section in Atlas techinical user guide(

Expert Contributor

@subash sharma

There is no provision to upload CSV or any file to Atlas. For your requirement,you may write a shell script to loop 100 times with curl to create 100 tags :

curl -u admin:admin -H "Content-Type: application/json" -X POST -d '{"enumTypes":[],"traitTypes":[{"attributeDefinitions":[],"typeName":"tag_name","typeDescription":"","superTypes":[],"hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.TraitType"}],"structTypes":[],"classTypes":[]}' http://atlas_host:port/api/atlas/types

Also, currently, only one tag can be added to Atlas at a time.

Thanks @ssainath and @Ayub Khan !!!

@subash sharma If this query is resolved, please accept the answer to close the loop.