Retrieve an Agent Builder Job

Retrieve an Agent Builder Job

You can retrieve details of a specific AgentBuilderJob in Agent Orbit by using its unique id. This will return an AgentBuilderJob object.


Example Code

pythonCopy codeimport agentorbit

# Set your API key for authentication
agentorbit.api_key = "YOUR_API_KEY"

# Retrieve a specific AgentBuilderJob by ID
builder_job = agentorbit.AgentBuilderJob.retrieve(id="123e4567-e89b-12d3-a456-426614174000")

# Display the retrieved job details
print(f"Job ID: {builder_job.id}")
print(f"Agent ID: {builder_job.agent_id}")
print(f"Created: {builder_job.created}")

Output

When you retrieve an AgentBuilderJob, you will receive an object with the following attributes:

  • id: The unique identifier for the job.

  • agent_id: The ID of the associated agent.

  • created: The timestamp when the job was created.

Last updated