> ## 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.

# Resolve targets for a scheduled launch

> Resolve the clients/plans/deals (and lead) for a single schedule entry on a project template, for display in the Schedules tab.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /library/project_template/{project_template}/_schedule_targets
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:
  /library/project_template/{project_template}/_schedule_targets:
    post:
      tags:
        - library
      summary: Resolve targets for a scheduled launch
      description: >-
        Resolve the clients/plans/deals (and lead) for a single schedule entry
        on a project template, for display in the Schedules tab.
      parameters:
        - description: Project template ID
          name: project_template
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_library_project_templates.ScheduleTargetsRequest
        description: Schedule index
        required: true
      responses:
        '200':
          description: Resolved schedule targets
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_library_project_templates.ScheduleTargetsResponse
        '400':
          description: Bad request - invalid ID or index
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Project template not found or no access
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_library_project_templates.ScheduleTargetsRequest:
      type: object
      properties:
        index:
          type: integer
    pkg_routes_library_project_templates.ScheduleTargetsResponse:
      type: object
      properties:
        due:
          type: string
        frequency:
          type: string
        lead:
          $ref: >-
            #/components/schemas/pkg_routes_library_project_templates.ScheduleTargetsLead
        resolved_via:
          type: string
        targets:
          type: array
          items:
            $ref: >-
              #/components/schemas/pkg_routes_library_project_templates.ScheduleTargetItem
        timestamp:
          type: string
        total:
          type: integer
        type:
          type: string
    pkg_routes_library_project_templates.ScheduleTargetsLead:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        role:
          type: string
    pkg_routes_library_project_templates.ScheduleTargetItem:
      type: object
      properties:
        _id:
          type: string
        code:
          type: string
        funnel:
          description: deals only — used to deep-link into the funnel view
          type: string
        name:
          type: string
        status:
          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.