List All Agent Executor Jobs

List All Agent Executor Jobs

pythonCopy codeimport agentorbit

agentorbit.api_key = "YOUR_API_KEY"

# Retrieve a list of all agent executor jobs
jobs = agentorbit.AgentExecutorJob.list()

# Filtering by agent_id
filtered_jobs = agentorbit.AgentExecutorJob.list(agent_id="ef14f43e-02fc-4b78-902b-9b37b485d3a1")

Returns: A CursorPaginatedResource object for navigating through results.

  • Use .next() to retrieve the next page of results.

  • Use .previous() to go back to the previous page.

Last updated