Your Container ID is the last number in the URL when you open a Phantom's log page. Go to your Dashboard, click the Phantom, open the Activity tab, click View logs on any run, and copy the number at the end of the URL. You need the Container ID for API requests that target a specific Phantom launch, like retrieving logs or execution details.
What is a container ID
A container ID is a unique reference to an individual Phantom launch. It’s most useful when:
- Reviewing execution logs.
- Debugging errors.
- Making API requests that require a specific launch.
If you need the unique ID for the Phantom itself (not a specific launch), you’ll need the Agent ID instead.
→ Learn how to find your Agent ID
How to find your container ID
- Go to your PhantomBuster Dashboard, and click on the Phantom you’re working with. This opens its console page.
- Go to the Activity tab, and hover over a log entry and click View logs when it appears.
- On the new page, check the URL: the container ID is the final set of numbers at the end of the link.
Example:
→ Full URL: https://phantombuster.com/{workspaceId}/phantoms/4129994778285565/logs/6966337465306871
→ Container ID: 6966337465306871
This is the number you’ll need when making API calls or troubleshooting execution issues.
Frequently asked questions
What's the difference between a Container ID and an Agent ID?
An Agent ID identifies the Phantom itself and stays the same. A Container ID identifies one specific launch and changes every time the Phantom runs.
Does a new Container ID get created every time my Phantom runs?
Yes. Each launch generates a unique Container ID, so you can reference any individual run.
Where is the Container ID used in the API?
Mainly in the Containers section of the API reference, for endpoints that retrieve logs, results, or execution data for a specific run.