# \#api

**URL:** https://community.shotgridsoftware.com/tag/api/51.md

[Latest](https://community.shotgridsoftware.com/latest.md) · [Categories](https://community.shotgridsoftware.com/categories.md) · [Tags](https://community.shotgridsoftware.com/tags.md)

---

## [Duplicating a Version](https://community.shotgridsoftware.com/t/duplicating-a-version/3381)

<div class="topic-metadata">

**Author:** [@vtrvtr](https://community.shotgridsoftware.com/u/vtrvtr)\
**Replies:** 7\
**Last updated:** [January 18, 2025, 1:11am UTC](https://community.shotgridsoftware.com/t/duplicating-a-version/3381 "2025-01-18T01:11:48Z")

</div>

Hello. I’m using the Event Deamon. For some reasons, I need to duplicate some Versions. For example, I have VersionA in ProjectA. I need to have a copy of VersionA in ProjectB. The entity name linked to it may or may n…

---

## [Find all local broken links for Published Files](https://community.shotgridsoftware.com/t/find-all-local-broken-links-for-published-files/18715)

<div class="topic-metadata">

**Author:** [@aaaa](https://community.shotgridsoftware.com/u/aaaa)\
**Replies:** 6\
**Last updated:** [May 2, 2024, 11:46am UTC](https://community.shotgridsoftware.com/t/find-all-local-broken-links-for-published-files/18715 "2024-05-02T11:46:33Z")

</div>

Hi all! If Shotgrid Desktop app is opened, we can open files directly clicking on the path field of the Shotgrid Web UI. And if the link is broken we get a “Local File Linking Error” on the web UI. So I wonder if there…

---

## [Accessing Task Split Information outside of Gantt](https://community.shotgridsoftware.com/t/accessing-task-split-information-outside-of-gantt/16969)

<div class="topic-metadata">

**Author:** [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Replies:** 2\
**Last updated:** [June 1, 2023, 2:51pm UTC](https://community.shotgridsoftware.com/t/accessing-task-split-information-outside-of-gantt/16969 "2023-06-01T14:51:19Z")

</div>

Hello! When splitting a task on the gantt (Right Click \> Split On \[current day\]) is there any way to access the dates in which the task in split via a field or through the API? In other words, is there any value that r…

---

## [Setting an item's context in Publish2](https://community.shotgridsoftware.com/t/setting-an-items-context-in-publish2/4578)

<div class="topic-metadata">

**Author:** [@Ricardo\_Musch](https://community.shotgridsoftware.com/u/Ricardo_Musch)\
**Replies:** 14\
**Last updated:** [March 12, 2023, 8:03pm UTC](https://community.shotgridsoftware.com/t/setting-an-items-context-in-publish2/4578 "2023-03-12T20:03:16Z")

</div>

\[Edit by @philip.scadding\] Moved this out from the old topic: https://community.shotgridsoftware.com/t/tk-multi-publish2-where-do-i-add-resolving-logic-for-a-custom-key/4348/12 One more question, what sort of information…

---

## [Restricting Downloads on Specific Entities](https://community.shotgridsoftware.com/t/restricting-downloads-on-specific-entities/16852)

<div class="topic-metadata">

**Author:** [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Replies:** 0\
**Last updated:** [February 17, 2023, 3:46pm UTC](https://community.shotgridsoftware.com/t/restricting-downloads-on-specific-entities/16852 "2023-02-17T15:46:26Z")

</div>

Hello everyone! Does anyone know of a way, API or otherwise, to restrict download access for specific versions or publishes? Trying to think of a workaround through the API but struggling to see any foolproof approaches…

---

## [Access personal / "My Filters" via API](https://community.shotgridsoftware.com/t/access-personal-my-filters-via-api/14465)

<div class="topic-metadata">

**Author:** [@dayneoram](https://community.shotgridsoftware.com/u/dayneoram)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 3:13pm UTC](https://community.shotgridsoftware.com/t/access-personal-my-filters-via-api/14465 "2022-01-14T15:13:51Z")

</div>

Is it at all possible to access the personal filters (e.g. “My Asset Filters”) via the API? Either by checking for a specific user’s filters against a provided entity type, OR accessing via the api’s account, and having …

---

## [Python API 3.3.1 is out](https://community.shotgridsoftware.com/t/python-api-3-3-1-is-out/13059)

<div class="topic-metadata">

**Author:** [@jfboismenu](https://community.shotgridsoftware.com/u/jfboismenu)\
**Replies:** 9\
**Last updated:** [August 9, 2021, 9:47am UTC](https://community.shotgridsoftware.com/t/python-api-3-3-1-is-out/13059 "2021-08-09T09:47:08Z")

</div>

Hi! We released a new version of the Python API, v3.3.1. Here are the release notes. Implements retries with incremental backoff on 502 errors. As always, feel free to reach out to our support team if you have any qu…

---

## [RV API Playback from Shotgun Slow](https://community.shotgridsoftware.com/t/rv-api-playback-from-shotgun-slow/11606)

<div class="topic-metadata">

**Author:** [@PhilFranjo](https://community.shotgridsoftware.com/u/PhilFranjo)\
**Replies:** 10\
**Last updated:** [March 4, 2021, 10:59pm UTC](https://community.shotgridsoftware.com/t/rv-api-playback-from-shotgun-slow/11606 "2021-03-04T22:59:18Z")

</div>

Hello! I’m writing a tool to automatically compare a list of versions from a playlist. The script works entirely, importing the correct media with the correct layout, but the playback is incredibly slow. We’ve tested on…

---

## [Querying tk-houdini context with Python](https://community.shotgridsoftware.com/t/querying-tk-houdini-context-with-python/11252)

<div class="topic-metadata">

**Author:** [@David\_Schneider](https://community.shotgridsoftware.com/u/David_Schneider)\
**Replies:** 2\
**Last updated:** [January 12, 2021, 5:09pm UTC](https://community.shotgridsoftware.com/t/querying-tk-houdini-context-with-python/11252 "2021-01-12T17:09:59Z")

</div>

Hi there Is there a way to query the current Shotgun context using python inside Houdini? I’d like to set parameter values according to the current shot/asset and have those values update if the scene is re-saved to a d…

---

## [Dell's new open-source plug-in gets disk space info into Shotgun](https://community.shotgridsoftware.com/t/dells-new-open-source-plug-in-gets-disk-space-info-into-shotgun/10651)

<div class="topic-metadata">

**Author:** [@joecdamato](https://community.shotgridsoftware.com/u/joecdamato)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 1:56am UTC](https://community.shotgridsoftware.com/t/dells-new-open-source-plug-in-gets-disk-space-info-into-shotgun/10651 "2020-11-10T01:56:49Z")

</div>

Just Released by Dell Technologies on GitHub, there is a now an open source plugin that will allow you to connect your storage to Autodesk’s Shotgun. Check this 3-minute video for a short explanation. Big thanks to Grego…

---

## [Dot-notation query through multi-entity field](https://community.shotgridsoftware.com/t/dot-notation-query-through-multi-entity-field/10132)

<div class="topic-metadata">

**Author:** [@Unai](https://community.shotgridsoftware.com/u/Unai)\
**Replies:** 10\
**Last updated:** [October 14, 2020, 5:04pm UTC](https://community.shotgridsoftware.com/t/dot-notation-query-through-multi-entity-field/10132 "2020-10-14T17:04:59Z")

</div>

Hi, Yesterday some artists started noticing that certain code wasn’t working anymore. In a very simplified way, it looks like this: for element in sg.find('Element', \[\['shots.Shot.sg\_episode.CustomEntity01.code…

---

## [API Filter path overview](https://community.shotgridsoftware.com/t/api-filter-path-overview/9834)

<div class="topic-metadata">

**Author:** [@ChristianHelmich](https://community.shotgridsoftware.com/u/ChristianHelmich)\
**Replies:** 5\
**Last updated:** [August 29, 2020, 8:50am UTC](https://community.shotgridsoftware.com/t/api-filter-path-overview/9834 "2020-08-29T08:50:38Z")

</div>

Hi, I haven’t found information about the filter path to provide to a GET request, and I was wondering if there is an overview over the types, or a way to get the correct path. E.g. with the request below, the path I’m…

---

## [API Uploads hanging](https://community.shotgridsoftware.com/t/api-uploads-hanging/8922)

<div class="topic-metadata">

**Author:** [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 9:38am UTC](https://community.shotgridsoftware.com/t/api-uploads-hanging/8922 "2020-06-04T09:38:41Z")

</div>

We’ve had a report of the API hanging when uploading files as there is no timeout set. So the script doesn’t error it just continues to wait to receive a reply that is not going to happen. I just wanted to see if anyone…

---

## [Shotgun Python API v3.1.0 released -- Python 3 support!](https://community.shotgridsoftware.com/t/shotgun-python-api-v3-1-0-released-python-3-support/318)

<div class="topic-metadata">

**Author:** [@Jeff\_Beeland](https://community.shotgridsoftware.com/u/Jeff_Beeland)\
**Replies:** 4\
**Last updated:** [May 22, 2020, 1:15pm UTC](https://community.shotgridsoftware.com/t/shotgun-python-api-v3-1-0-released-python-3-support/318 "2020-05-22T13:15:21Z")

</div>

Hey everyone, We’re happy to announce that we’ve released v3.1.0 of Shotgun’s Python API! This release adds support for Python 3, while maintaining compatibility with Python 2.x. With the VFX Reference Platform’s CY202…

---

## [Have inbox api?](https://community.shotgridsoftware.com/t/have-inbox-api/8323)

<div class="topic-metadata">

**Author:** [@hanguil](https://community.shotgridsoftware.com/u/hanguil)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 10:59am UTC](https://community.shotgridsoftware.com/t/have-inbox-api/8323 "2020-04-23T10:59:41Z")

</div>

shotgun api have about api ? i want make other tool use python this tool show number some people not read inbox message, is it possible?

---

## [Movie upload issues with the api](https://community.shotgridsoftware.com/t/movie-upload-issues-with-the-api/7971)

<div class="topic-metadata">

**Author:** [@Nweeden](https://community.shotgridsoftware.com/u/Nweeden)\
**Replies:** 5\
**Last updated:** [April 2, 2020, 6:37pm UTC](https://community.shotgridsoftware.com/t/movie-upload-issues-with-the-api/7971 "2020-04-02T18:37:05Z")

</div>

Hi, I’m getting a weird issue trying to upload an mp4 to Shotgun through Deadline and it’s proving quite difficult to debug. I’m using the command: sg.upload(“Version”, \*v\_id, \*mp4, “sg\_upload\_movie\_mp4”). within an…

---

## [Shotgun API Tips and Tricks Megapost](https://community.shotgridsoftware.com/t/shotgun-api-tips-and-tricks-megapost/7292)

<div class="topic-metadata">

**Author:** [@tony](https://community.shotgridsoftware.com/u/tony)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 8:06pm UTC](https://community.shotgridsoftware.com/t/shotgun-api-tips-and-tricks-megapost/7292 "2020-02-13T20:06:20Z")

</div>

Hey folks, I wanted to kickstart something here – we/I get a lot of questions from various places about “how to do X” with the API. The API documentation itself is great, but it doesn’t really tell you how to think your…

---

## [Unreal Engine 4](https://community.shotgridsoftware.com/t/unreal-engine-4/7334)

<div class="topic-metadata">

**Author:** [@RT-Anthony](https://community.shotgridsoftware.com/u/RT-Anthony)\
**Replies:** 2\
**Last updated:** [February 18, 2020, 3:23pm UTC](https://community.shotgridsoftware.com/t/unreal-engine-4/7334 "2020-02-18T15:23:47Z")

</div>

We are starting our integration of UE4 into our pipeline (Animation). Has anyone else worked with UE and SGTK and if you’re willing to share, what are some good steps for moving forward?

---

## [Developer Documentation Site Restructure](https://community.shotgridsoftware.com/t/developer-documentation-site-restructure/4543)

<div class="topic-metadata">

**Author:** [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 9:48pm UTC](https://community.shotgridsoftware.com/t/developer-documentation-site-restructure/4543 "2020-01-10T21:48:54Z")

</div>

Hi all! Just wanted to let you know that we’ve released a pretty dramatic restructure of the Shotgun Developer Documentation Portal. We’ve structured the Table of Contents/navigation to organize the docs into Guides and…

---

## [List Active Projects via API](https://community.shotgridsoftware.com/t/list-active-projects-via-api/4294)

<div class="topic-metadata">

**Author:** [@Johan](https://community.shotgridsoftware.com/u/Johan)\
**Replies:** 2\
**Last updated:** [December 16, 2019, 3:51pm UTC](https://community.shotgridsoftware.com/t/list-active-projects-via-api/4294 "2019-12-16T15:51:50Z")

</div>

Hi, I’m probably missing a something obvious here, but how can I get a list of active projects and their Id’s via shotgun\_api3. I can handle the rest, but I can’t seem to find the right query for listing projects. Than…

---

## [Mirroring / Copying or Migrating SG Instances](https://community.shotgridsoftware.com/t/mirroring-copying-or-migrating-sg-instances/3846)

<div class="topic-metadata">

**Author:** [@Halil](https://community.shotgridsoftware.com/u/Halil)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 11:37pm UTC](https://community.shotgridsoftware.com/t/mirroring-copying-or-migrating-sg-instances/3846 "2019-11-19T23:37:44Z")

</div>

Hey all, I’m looking to migrate a customised schema from one SG instance to another. Firstly is there an out of the box way to do this? Second, I’ve jumped ahead an attempted to do this myself via the API and run into…

---

## [RV Open a session (.rv) file python command](https://community.shotgridsoftware.com/t/rv-open-a-session-rv-file-python-command/3775)

<div class="topic-metadata">

**Author:** [@ajayakumarrp](https://community.shotgridsoftware.com/u/ajayakumarrp)\
**Replies:** 3\
**Last updated:** [November 15, 2019, 12:14pm UTC](https://community.shotgridsoftware.com/t/rv-open-a-session-rv-file-python-command/3775 "2019-11-15T12:14:28Z")

</div>

Hi all I am looking for the python command to load the rv session(".rv") in rv I can save using rv.commands.saveSession(file\_path) and I can open in a new rv session by using rv.commands.newSession(file\_path) but the …

---

## [Thumb nails at publish time](https://community.shotgridsoftware.com/t/thumb-nails-at-publish-time/3470)

<div class="topic-metadata">

**Author:** [@jkiser](https://community.shotgridsoftware.com/u/jkiser)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 9:48pm UTC](https://community.shotgridsoftware.com/t/thumb-nails-at-publish-time/3470 "2019-10-23T21:48:09Z")

</div>

Can anyone point me in the direction of where the logic for thumbnail captures happen at publish time? I love the thumb nail system but what I am looking to do is augment that just a bit and automatically capture a thumb…

---

## [How to get asset type from asset name through Shotgun API](https://community.shotgridsoftware.com/t/how-to-get-asset-type-from-asset-name-through-shotgun-api/3098)

<div class="topic-metadata">

**Author:** [@jkiser](https://community.shotgridsoftware.com/u/jkiser)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 10:59pm UTC](https://community.shotgridsoftware.com/t/how-to-get-asset-type-from-asset-name-through-shotgun-api/3098 "2019-09-26T22:59:54Z")

</div>

Can anyone tell me how I might get an assets type from the assets name though the shotgun api here. I was able to use find to get the asset dict from an asset name asset\_dict = sg\_obj.find\_one(“Asset”, \[\[“code”, “is”, “…

---

## [SIGGRAPH Shotgun Day Replay Webinars](https://community.shotgridsoftware.com/t/siggraph-shotgun-day-replay-webinars/708)

<div class="topic-metadata">

**Author:** [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 11:36pm UTC](https://community.shotgridsoftware.com/t/siggraph-shotgun-day-replay-webinars/708 "2019-09-13T23:36:29Z")

</div>

Hi all! Once again, we had a great response to our Shotgun Day courses at SIGGRAPH, and it was great to see some of you there in person! This year, we had two sessions on Shotgun development, and for those who weren’t t…
