The Deployment API is currently available in the Python SDK.
Deploy an agent
Create a folder namedweather-agent with your agent code, then deploy it:
deploy_agent.py
Path to the directory containing your agent code.
Unique name for the deployment.
Human-readable description of the deployment.
Environment variables as key-value pairs.
Project name to scope the deployment. Defaults to your first project.
Deployment response
Unique deployment identifier.
Deployment status:
BUILDING, READY, or FAILED.Endpoint URL, available when status is
READY.Additional information about the deployment result.
List deployments
list_deployments.py
Unique deployment identifier.
Deployment name.
Human-readable description, if provided during deploy.
Deployment status:
READY, BUILDING, FAILED, or STOPPED.ISO 8601 timestamp of when the deployment was created.
ISO 8601 timestamp of the most recent update.
