> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Jobs

> Get all jobs using filter.

:param explore_service: The explore service instance to use for querying data.
:param filter_exp: OData filter to filter jobs
:param order_by: Comma separated list of fields to sort the results by. Prepend a field with "-" to specify
                 that descending order should be used instead of the ascending (which is the default).
:param skip: items to skip
:param top: number of items to retrieve
:param count: If True, the "count" entry of the response is populated with the number of retrieved elements.



## OpenAPI

````yaml docs/avxcelerate/explore-service-rest-api/explore.aws-pre-prod-api-v1.json GET /jobs
openapi: 3.1.0
info:
  title: Explore Service API
  summary: Service to manage jobs
  description: >

    ## API allows to perform operations related to jobs and create post job
    sessions.

    ### Features

    - **Jobs**:
        The API allows users to perform the following operations related to jobs:
        - Create a new job as per provided parameters
        - Get a single or multiple jobs by their IDs
        - Kill a running job
        - Restart a completed or killed job
        - Clone a job
    - **Post Job Sessions**:
        This API allows the user to create a post job session for a job and returns the relative URL to access the session.
        The session can then be used to perform various post-processing operations like viewing results, analyzing data etc.
  contact:
    name: Ansys AVxcelerate Autonomy
    url: https://developer.ansys.com/docs/avxcelerate
    email: TeamTyson@ansys.com
  version: 0.1.0
servers:
  - url: https://{host}/api/explore/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /jobs:
    get:
      tags:
        - jobs
      summary: Get Jobs
      description: >-
        Get all jobs using filter.


        :param explore_service: The explore service instance to use for querying
        data.

        :param filter_exp: OData filter to filter jobs

        :param order_by: Comma separated list of fields to sort the results by.
        Prepend a field with "-" to specify
                         that descending order should be used instead of the ascending (which is the default).
        :param skip: items to skip

        :param top: number of items to retrieve

        :param count: If True, the "count" entry of the response is populated
        with the number of retrieved elements.
      operationId: jobs-get_jobs
      parameters:
        - name: $top
          in: query
          required: true
          schema:
            type: integer
            maximum: 100
            title: $Top
        - name: $filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: $Filter
        - name: $orderby
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: $Orderby
        - name: $skip
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: $Skip
        - name: $count
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: $Count
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedExploreJobsRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PaginatedExploreJobsRead:
      properties:
        values:
          items:
            $ref: '#/components/schemas/ExploreJobRead'
          type: array
          title: Values
          default: []
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
      type: object
      title: PaginatedExploreJobsRead
      description: Paginated results.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExploreJobRead:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        template_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Id
        template_name:
          type: string
          title: Template Name
        solver_queue_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Solver Queue Name
        solver_application_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Solver Application Name
        solver_application_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Solver Application Version
        simctl_queue_name:
          type: string
          title: Simctl Queue Name
        simctl_application_name:
          type: string
          title: Simctl Application Name
        simctl_application_version:
          type: string
          title: Simctl Application Version
        job_configuration:
          $ref: '#/components/schemas/ExploreJobConfiguration'
          default: {}
        resource_manager_job_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Resource Manager Job Id
        resource_manager_post_job_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Resource Manager Post Job Id
        status:
          $ref: '#/components/schemas/ExploreJobStatusEnum'
        cleaned:
          type: boolean
          title: Cleaned
        created_at:
          type: string
          format: date-time
          title: Created At
        status_updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Status Updated At
        failed_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failed Reason
        state_summary:
          $ref: '#/components/schemas/JsonValue'
        user_name:
          anyOf:
            - type: string
            - type: 'null'
          title: User Name
      type: object
      required:
        - name
        - template_name
        - simctl_queue_name
        - simctl_application_name
        - simctl_application_version
        - resource_manager_job_id
        - resource_manager_post_job_id
        - status
        - cleaned
        - created_at
        - status_updated_at
        - failed_reason
        - state_summary
        - user_name
      title: ExploreJobRead
      description: Public job definition.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ExploreJobConfiguration:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        template_name:
          type: string
          title: Template Name
        template_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Id
        simulation_controller_settings:
          $ref: '#/components/schemas/SimulationControllerSettings'
          default:
            files_to_use: []
            files_to_retrieve: {}
        tasks:
          items:
            $ref: '#/components/schemas/TaskRuntimeParams'
          type: array
          title: Tasks
        files:
          additionalProperties:
            anyOf:
              - $ref: '#/components/schemas/UploadFileDefinition'
              - $ref: '#/components/schemas/ReferenceFileDefinition'
          type: object
          title: Files
          default: {}
        parameters:
          additionalProperties:
            $ref: '#/components/schemas/ParameterDescription'
          type: object
          title: Parameters
          default: {}
      type: object
      required:
        - name
        - template_name
        - tasks
      title: ExploreJobConfiguration
      description: Configuration for an Explore job.
    ExploreJobStatusEnum:
      type: string
      enum:
        - pending
        - running
        - failed
        - succeeded
        - killing
        - killed
      title: ExploreJobStatusEnum
      description: Enum of job status.
    JsonValue: {}
    SimulationControllerSettings:
      properties:
        queue_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Queue Name
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
        files_to_use:
          items:
            type: string
          type: array
          title: Files To Use
          default: []
        files_to_retrieve:
          additionalProperties:
            type: string
          type: object
          title: Files To Retrieve
          default: {}
      type: object
      title: SimulationControllerSettings
      description: Simulation controller settings.
    TaskRuntimeParams:
      properties:
        task_id:
          type: string
          title: Task Id
        instance_name:
          type: string
          title: Instance Name
        inputs:
          $ref: '#/components/schemas/JsonValue'
      type: object
      required:
        - task_id
        - instance_name
        - inputs
      title: TaskRuntimeParams
      description: This class holds necessary parameters to run a task.
      object_validation: task@task_id:inputs
    UploadFileDefinition:
      properties:
        source_type:
          type: string
          const: upload
          title: Source Type
          default: upload
        destination:
          type: string
          title: Destination
        asset_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Asset Type
        file_format:
          anyOf:
            - type: string
            - type: 'null'
          title: File Format
      type: object
      required:
        - destination
      title: UploadFileDefinition
      description: Upload file definition.
    ReferenceFileDefinition:
      properties:
        source_type:
          type: string
          const: reference
          title: Source Type
          default: reference
        destination:
          type: string
          title: Destination
        asset_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Asset Type
        file_format:
          anyOf:
            - type: string
            - type: 'null'
          title: File Format
        internal_reference:
          type: string
          title: Internal Reference
      type: object
      required:
        - destination
        - internal_reference
      title: ReferenceFileDefinition
      description: File definition with internal reference.
    ParameterDescription:
      properties:
        name:
          type: string
          title: Name
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
        data_type:
          $ref: '#/components/schemas/ParameterDataTypeEnum'
        unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit
        source:
          anyOf:
            - $ref: '#/components/schemas/FindReplaceParameterSource'
            - $ref: '#/components/schemas/FilesListParameterSource'
            - $ref: '#/components/schemas/OtherParameterSource'
          title: Source
        default_value:
          anyOf:
            - type: boolean
            - type: number
            - type: string
            - type: 'null'
          title: Default Value
        validity_safe_expression:
          anyOf:
            - type: string
            - type: 'null'
          title: Validity Safe Expression
        attributes:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          type: object
          title: Attributes
          default: {}
      type: object
      required:
        - name
        - data_type
        - source
      title: ParameterDescription
      description: Parameter description.
    ParameterDataTypeEnum:
      type: string
      enum:
        - float
        - integer
        - string
        - boolean
      title: ParameterDataTypeEnum
      description: Enum of parameter data types.
    FindReplaceParameterSource:
      properties:
        source_type:
          type: string
          const: find_replace
          title: Source Type
          default: find_replace
        associated_file:
          type: string
          title: Associated File
      type: object
      required:
        - associated_file
      title: FindReplaceParameterSource
      description: Find and Replace parameter source.
    FilesListParameterSource:
      properties:
        source_type:
          type: string
          const: files_list
          title: Source Type
          default: files_list
        files:
          items:
            type: string
          type: array
          title: Files
      type: object
      required:
        - files
      title: FilesListParameterSource
      description: File list parameter source.
    OtherParameterSource:
      properties:
        source_type:
          type: string
          const: other
          title: Source Type
          default: other
      type: object
      title: OtherParameterSource
      description: Other parameter source.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````