> ## 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 Associated To An Asset Version

> Get a list of all jobs associated with this asset version.

:param asset_id: Id of the asset.
:param asset_version: Version of the asset.
:param limit: number of items to retrieve
: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 offset: items to offset
:param get_count: If True, the "count" entry of the response is populated with the number of retrieved elements.

:return: PaginatedAssociatedJobs: a paginated list of ids and statuses of the jobs associated to this asset version.



## OpenAPI

````yaml docs/avxcelerate/explore-service-rest-api/explore.aws-pre-prod-api-v1.json GET /jobs/associated
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/associated:
    get:
      tags:
        - jobs
      summary: Get Jobs Associated To An Asset Version
      description: >-
        Get a list of all jobs associated with this asset version.


        :param asset_id: Id of the asset.

        :param asset_version: Version of the asset.

        :param limit: number of items to retrieve

        :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 offset: items to offset

        :param get_count: If True, the "count" entry of the response is
        populated with the number of retrieved elements.


        :return: PaginatedAssociatedJobs: a paginated list of ids and statuses
        of the jobs associated to this asset version.
      operationId: jobs-get_jobs_associated_to_an_asset_version
      parameters:
        - name: asset_id
          in: query
          required: true
          schema:
            type: string
            title: Asset Id
        - name: asset_version
          in: query
          required: true
          schema:
            type: integer
            title: Asset Version
        - name: limit
          in: query
          required: true
          schema:
            type: integer
            maximum: 100
            title: Limit
        - 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: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
        - name: getCount
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Getcount
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAssociatedJobs'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PaginatedAssociatedJobs:
      properties:
        values:
          items:
            $ref: '#/components/schemas/AssociatedJobEntry'
          type: array
          title: Values
          default: []
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
      type: object
      title: PaginatedAssociatedJobs
      description: |-
        Paginated results of jobs associated to an asset version.

        values is a list of tuples (job_id, status).
        count is the total number of associated jobs for the asset version.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AssociatedJobEntry:
      properties:
        job_id:
          type: string
          title: Job Id
        status:
          $ref: '#/components/schemas/ExploreJobStatusEnum'
      type: object
      required:
        - job_id
        - status
      title: AssociatedJobEntry
      description: Represents an entry of job associated to an asset version.
    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
    ExploreJobStatusEnum:
      type: string
      enum:
        - pending
        - running
        - failed
        - succeeded
        - killing
        - killed
      title: ExploreJobStatusEnum
      description: Enum of job status.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````