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

# Generate action items

> Starts action item extraction. The recording's transcript is sent to OpenAI and the items are produced in the background, so the response lists them only if they already existed. Poll `GET /recordings/{id}/action-items` until `status` is `success` or `failed`. The status is returned unchanged, without starting a new run, when it is already `success`, `no_transcript` or `in_progress`.

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/api/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled/recordings.yaml POST /recordings/{id}/trigger-action-items
openapi: 3.0.3
info:
  title: NeetoRecord Recordings APIs
  version: 2.0.0
servers:
  - description: NeetoRecord APIs
    url: https://{your-subdomain}.neetorecord.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
tags:
  - name: Recordings
    description: APIs to retrieve and manage recordings in your workspace.
paths:
  /recordings/{id}/trigger-action-items:
    post:
      tags:
        - Recordings
      summary: Generate action items
      description: >-
        Starts action item extraction. The recording's transcript is sent to
        OpenAI and the items are produced in the background, so the response
        lists them only if they already existed. Poll `GET
        /recordings/{id}/action-items` until `status` is `success` or `failed`.
        The status is returned unchanged, without starting a new run, when it is
        already `success`, `no_transcript` or `in_progress`.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/accept_header'
        - $ref: '#/components/parameters/recording_id_param'
      responses:
        '200':
          description: >-
            Action item generation was started, or the current state was
            returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/action_items_response'
              example:
                recording_id: x9y8z7w6v5u4t3s2
                status: in_progress
                action_items: []
        '403':
          $ref: '#/components/responses/recording_forbidden'
        '404':
          $ref: '#/components/responses/recording_not_found'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        API key. Refer to [Authentication](/api/authentication) for more
        information.
      required: true
      schema:
        type: string
    accept_header:
      in: header
      name: Accept
      description: Must be `application/json`.
      required: true
      schema:
        type: string
        enum:
          - application/json
        default: application/json
    recording_id_param:
      in: path
      name: id
      required: true
      description: >-
        The recording's `id` (UUID) or its `public_link_id` (the short code in
        the watch URL). Both are accepted.
      schema:
        type: string
  schemas:
    action_items_response:
      type: object
      properties:
        recording_id:
          type: string
          description: Public link identifier of the recording.
        status:
          type: string
          enum:
            - success
            - no_transcript
            - in_progress
            - failed
            - not_generated
          description: >-
            State of action item generation. `no_transcript` means the recording
            has no transcript to extract from.
        action_items:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                description: Unique identifier for the action item.
              text:
                type: string
                description: The action item.
              start:
                type: number
                description: Second of the recording at which the item was mentioned.
          description: >-
            Action items extracted from the transcript. Empty unless `status` is
            `success`.
    error:
      type: object
      properties:
        error:
          type: string
          description: A human readable error message.
  responses:
    recording_forbidden:
      description: The caller is not allowed to access this recording.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            error: You are not authorized to perform this action.
    recording_not_found:
      description: The recording does not exist in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            error: Recording does not exist.

````

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