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

# Retroactive apply job status

> Returns the team's latest (or a specific) share-template apply job for progress polling.



## OpenAPI

````yaml /api-reference/cx/swagger.json get /clients/apply-share-template/status
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /clients/apply-share-template/status:
    get:
      tags:
        - clients
      summary: Retroactive apply job status
      description: >-
        Returns the team's latest (or a specific) share-template apply job for
        progress polling.
      parameters:
        - description: Specific job id
          name: job_id
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pkg_routes_clients.ShareTemplateJob'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_clients.ShareTemplateJob:
      type: object
      properties:
        _id:
          type: string
        applied:
          type: integer
        completed_at:
          type: string
        created_at:
          type: string
        created_by:
          type: string
        failed:
          type: integer
        failures:
          type: array
          items:
            $ref: '#/components/schemas/pkg_routes_clients.ApplyShareTemplateFailure'
        folders_created:
          type: integer
        processed:
          type: integer
        skipped:
          type: integer
        state:
          type: string
        team:
          type: string
        template:
          type: string
        total:
          type: integer
    pkg_routes_clients.ApplyShareTemplateFailure:
      type: object
      properties:
        client:
          type: string
        name:
          type: string
        reason:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.