Retrieve agent information using unique identifiers (agent_uuid).
agent_fetch_payload = {
"groc_account_id": "c4ca4238a0b923820dcc509a6f75849b",
"agent_uuid": "241dd34e-21bd-456e-b557-89a8ca656000"
}
try:
response = al.agent_fetch(agent_fetch_payload)
print(response)
except Exception as e:
print("Error:", str(e))
Agent data: {'message': 'Agent details fetched successfully', 'Agent Details': {'agent_uuid': '93f7cc86-ea63-4946-9116-54782e14d762', 'agent_name': 'Coding Agent from Replit', 'agent_logo_url': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSZ3IvhxvlW1ttoFXT4CrgCqZNlQN7IbrK6og&s', 'agent_description': 'A coding agent which can convert any language code to another language', 'agent_code': '<script id="cartesian-sdk" src="https://assets-cartesian.plotch.io/js/pwa/cartesian-web-sdk-17072024', 'status': 'active', 'agent_url': 'https://replit.com/agentchat', 'country': 'India', 'valid_from': '2024-08-31 08:18:39', 'valid_until': '2024-08-31 08:18:39', 'agent_category': 'Coding Agents', 'signing_public_key': '6767899-eye232-hg21bb-1', 'encr_public_key': '6767899-eye232-hg21bb-1', 'created': '2024-08-31 00:00:00', 'updated': '2024-08-31 00:00:00', 'organization': 'Platiga Technology Pvt Ltd'}}
Fetch Categories of Agent
Fetches a list of available agent categories from Agentlake.
try:
response = al.category_list_fetch()
print(response)
except Exception as e:
print("Error:", str(e))
Agent Categories: {'categories': ['Shopping Agents', 'ERP Agents', 'Social Agents', 'AI Voice Agents', 'Customer Service Agents', 'Recruitment Agents', 'Translation Agents', 'Marketing Agents', 'Image Agents', 'Video Agents', 'Coding Agents', 'Web Scraping Agents']}