{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-jobs-request-schema.json",
  "title": "ListJobsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-job-api-openapi.yml#/components/schemas/ListJobsRequest",
  "type": "object",
  "properties": {
    "JobCategory": {
      "type": "string",
      "enum": [
        "AgentRFT",
        "AgentRFTEvaluation"
      ],
      "description": "The category of jobs to list."
    },
    "NextToken": {
      "type": "string",
      "description": "If the previous response was truncated, this token retrieves the next set of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of jobs to return in the response. The default value is 50."
    },
    "CreationTimeAfter": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only jobs created after the specified time."
    },
    "CreationTimeBefore": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only jobs created before the specified time."
    },
    "LastModifiedTimeAfter": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only jobs modified after the specified time."
    },
    "LastModifiedTimeBefore": {
      "type": "string",
      "format": "date-time",
      "description": "A filter that returns only jobs modified before the specified time."
    },
    "NameContains": {
      "type": "string",
      "description": "A string in the job name to filter results. Only jobs whose name contains the specified string are returned."
    },
    "SortBy": {
      "type": "string",
      "enum": [
        "Name",
        "CreationTime",
        "Status"
      ],
      "description": "The field to sort results by."
    },
    "SortOrder": {
      "type": "string",
      "enum": [
        "Ascending",
        "Descending"
      ],
      "description": "The sort order for results. Valid values are Ascending and Descending."
    },
    "StatusEquals": {
      "type": "string",
      "enum": [
        "InProgress",
        "Completed",
        "Failed",
        "Stopping",
        "Stopped",
        "Deleting",
        "DeleteFailed"
      ],
      "description": "A filter that returns only jobs with the specified status."
    }
  },
  "required": [
    "JobCategory"
  ]
}