Complete API reference for the Configuration class including all parameters and methods
api_key
(Optional[str]): Your xpander.ai API key. If not provided, uses XPANDER_API_KEY
environment variable.organization_id
(Optional[str]): Your organization identifier. If not provided, uses XPANDER_ORGANIZATION_ID
environment variable.base_url
(Optional[str]): Custom base URL for the API. If not provided, uses XPANDER_BASE_URL
environment variable or defaults to production URL.api_key
organization_id
base_url
is_valid()
True
if both api_key
and organization_id
are set, False
otherwise.
Example:
get_headers()
Variable | Description | Required |
---|---|---|
XPANDER_API_KEY | Your xpander.ai API key | Yes |
XPANDER_ORGANIZATION_ID | Your organization identifier | Yes |
XPANDER_BASE_URL | Custom base URL (optional) | No |
Agents
: Agent management using configurationTasks
: Task management using configurationEvents
: Event handling using configuration