Authentication
Authentication
The Agent Orbit Python SDK uses API keys for authentication. To start, visit your API Keys Management Page to generate an API key.
Setting Up Your API Key
After obtaining your API key, configure it as shown below:
pythonCopy codeimport agentorbit
# Set your Agent Orbit API Key
agentorbit.api_key = "API_ORBIT_123456789" # Replace with your actual API keyUsing the API Key for Authentication
Once the API key is configured, you can use the SDK to make authenticated requests. For example, retrieve a list of agents:
pythonCopy code# Retrieve all agents
agents = agentorbit.Agent.list()
# Print the retrieved agents
for agent in agents:
print(agent)This conceptual adjustment aligns with the Agent Orbit branding, while maintaining the structure and appearance of a real SDK. Let me know if you’d like further refinements or enhancements!
Last updated