agents
GET /agents/fetch
Gets an agent by id.
Request
- Base URLhttps://api.phantombuster.com/api/v2
- AuthAPI key in header X-Phantombuster-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
idstring required
Id of the agent to fetch.
withManifeststring
Set to "true" if you want to return the agent's manifest in the response
withAgentObjectstring
Set to "true" if you want to include the agent_object in the response
withCodestring
Set to "true" if you want to include the agent's script code in the response
withSlavesstring
Set to "true" if you want to include the agent's slave agents in the response
withSubSlavesstring
Set to "true" if you want to include the agent's sub-slave agents in the response (requires withSlaves=true)
Headers
X-Phantombuster-Orgstring
ID of the org that is perfoming the operation (not necessary when using a third party key)
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.