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

# Count your team's open async jobs

> Returns your team's open job counts as `{task: {pending, running}}`, with an entry for every async task even when it has no jobs. Only these two states are reported — a succeeded, failed or cancelled job leaves the counts rather than moving between them, so poll a task's status endpoint to see a terminal state. Counts are approximate: they are read from the orchestrator and cached briefly.



## OpenAPI

````yaml /openapi.json get /v2/async/jobs/status
openapi: 3.1.0
info:
  title: Nixtla Forecast API
  description: >-
    API for TimeGPT forecast. Just send your data as json and get results. We do
    the heavy lifting.
  version: 0.4.2
servers:
  - url: https://api.nixtla.io
security: []
paths:
  /v2/async/jobs/status:
    get:
      tags:
        - async jobs
      summary: Count your team's open async jobs
      description: >-
        Returns your team's open job counts as `{task: {pending, running}}`,
        with an entry for every async task even when it has no jobs. Only these
        two states are reported — a succeeded, failed or cancelled job leaves
        the counts rather than moving between them, so poll a task's status
        endpoint to see a terminal state. Counts are approximate: they are read
        from the orchestrator and cached briefly.
      operationId: get_async_jobs_status_v2_async_jobs_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  $ref: '#/components/schemas/OpenJobCounts'
                type: object
                title: Response Get Async Jobs Status V2 Async Jobs Status Get
      security:
        - HTTPBearer: []
components:
  schemas:
    OpenJobCounts:
      properties:
        pending:
          type: integer
          title: Pending
          description: Accepted but not yet started in a sandbox.
        running:
          type: integer
          title: Running
          description: Currently executing in a sandbox.
      type: object
      required:
        - pending
        - running
      title: OpenJobCounts
      description: >-
        How many of one task's jobs are still open.


        Only non-terminal states appear: the orchestrator counts open workflows,
        so a job that has

        succeeded, failed or been cancelled leaves these counts entirely rather
        than moving between

        them. Poll the task's status endpoint for a specific job's terminal
        state.
  securitySchemes:
    HTTPBearer:
      type: http
      description: HTTPBearer
      scheme: bearer

````