Skip to main content
Glama

list_jobs

Retrieve and filter agent jobs by status, schedule, or type, with options for pagination and sorting to efficiently manage job tracking in the Agent Jobs system.

Instructions

Retrieves a list of agent jobs, with optional filters and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_codeNoFilter by the channel code (e.g., 'C123456' for a Slack channel).
created_at_gteNoFilter for jobs created at or after a specific time (ISO 8601).
created_at_lteNoFilter for jobs created at or before a specific time (ISO 8601).
job_type_idNoFilter by the specific job type ID (e.g., 'daily-report').
limitNoMaximum number of jobs to return (e.g.,20). Default is 20.
offsetNoNumber of jobs to skip, used for pagination. Default is 0.
org_idNoFilter by organization ID. If not provided, the default from the environment is used.
scheduled_atNoFilter by the exact scheduled time in ISO 8601 format (e.g., '2024-07-23T10:00:00Z').
scheduled_at_gteNoFilter for jobs scheduled at or after a specific time (ISO 8601).
scheduled_at_lteNoFilter for jobs scheduled at or before a specific time (ISO 8601).
sortNoField to sort by and direction. Format is 'field:direction'. Example: 'created_at:desc'.
statusNoFilter by job status. Possible values are: 'waiting', 'scheduled', 'running', 'completed', 'failed', 'canceled'.

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aiconnect-cloud/agentjobs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server