List All Agent Builder Jobs

List All Agent Builder Jobs

You can retrieve a list of all AgentBuilderJob records in Agent Orbit. This will return a PagePaginatedResource object, allowing you to navigate through the results using pagination.


Example Code

pythonCopy codeimport agentorbit

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

# List all AgentBuilderJob records
builder_jobs = agentorbit.AgentBuilderJob.list()

# Access the results
for job in builder_jobs.results:
    print(f"Job ID: {job.id}, Agent ID: {job.agent_id}, Created: {job.created}")

Filtering AgentBuilderJobs

To filter AgentBuilderJob results by a specific agent_id, use the agent_id parameter:

Example Code


Key Features

  • The list() method returns a PagePaginatedResource object, allowing you to navigate through pages using .next() and .previous() methods.

  • Use the agent_id parameter to filter jobs specific to an agent.

Last updated