Twilio · Capability

Twilio Assistants — Understand

Twilio Assistants — Understand. 46 operations. Lead operation: Understand. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioUnderstand

What You Can Do

GET
Fetchunderstanddialogue — fetchunderstanddialogue
/v1/understand/assistants/{assistantsid}/dialogues/{sid}
GET
Fetchunderstandassistantfallbackactions — fetchunderstandassistantfallbackactions
/v1/understand/assistants/{assistantsid}/fallbackactions
POST
Updateunderstandassistantfallbackactions — updateunderstandassistantfallbackactions
/v1/understand/assistants/{assistantsid}/fallbackactions
GET
Listunderstandfieldtype — listunderstandfieldtype
/v1/understand/assistants/{assistantsid}/fieldtypes
POST
Createunderstandfieldtype — createunderstandfieldtype
/v1/understand/assistants/{assistantsid}/fieldtypes
GET
Listunderstandfieldvalue — listunderstandfieldvalue
/v1/understand/assistants/{assistantsid}/fieldtypes/{fieldtypesid}/fieldvalues
POST
Createunderstandfieldvalue — createunderstandfieldvalue
/v1/understand/assistants/{assistantsid}/fieldtypes/{fieldtypesid}/fieldvalues
GET
Fetchunderstandfieldvalue — fetchunderstandfieldvalue
/v1/understand/assistants/{assistantsid}/fieldtypes/{fieldtypesid}/fieldvalues/{sid}
DELETE
Deleteunderstandfieldvalue — deleteunderstandfieldvalue
/v1/understand/assistants/{assistantsid}/fieldtypes/{fieldtypesid}/fieldvalues/{sid}
GET
Fetchunderstandfieldtype — fetchunderstandfieldtype
/v1/understand/assistants/{assistantsid}/fieldtypes/{sid}
POST
Updateunderstandfieldtype — updateunderstandfieldtype
/v1/understand/assistants/{assistantsid}/fieldtypes/{sid}
DELETE
Deleteunderstandfieldtype — deleteunderstandfieldtype
/v1/understand/assistants/{assistantsid}/fieldtypes/{sid}
GET
Fetchunderstandassistantinitiationactions — fetchunderstandassistantinitiationactions
/v1/understand/assistants/{assistantsid}/initiationactions
POST
Updateunderstandassistantinitiationactions — updateunderstandassistantinitiationactions
/v1/understand/assistants/{assistantsid}/initiationactions
GET
Listunderstandmodelbuild — listunderstandmodelbuild
/v1/understand/assistants/{assistantsid}/modelbuilds
POST
Createunderstandmodelbuild — createunderstandmodelbuild
/v1/understand/assistants/{assistantsid}/modelbuilds
GET
Fetchunderstandmodelbuild — fetchunderstandmodelbuild
/v1/understand/assistants/{assistantsid}/modelbuilds/{sid}
POST
Updateunderstandmodelbuild — updateunderstandmodelbuild
/v1/understand/assistants/{assistantsid}/modelbuilds/{sid}
DELETE
Deleteunderstandmodelbuild — deleteunderstandmodelbuild
/v1/understand/assistants/{assistantsid}/modelbuilds/{sid}
GET
Listunderstandquery — listunderstandquery
/v1/understand/assistants/{assistantsid}/queries
POST
Createunderstandquery — createunderstandquery
/v1/understand/assistants/{assistantsid}/queries
GET
Fetchunderstandquery — fetchunderstandquery
/v1/understand/assistants/{assistantsid}/queries/{sid}
POST
Updateunderstandquery — updateunderstandquery
/v1/understand/assistants/{assistantsid}/queries/{sid}
DELETE
Deleteunderstandquery — deleteunderstandquery
/v1/understand/assistants/{assistantsid}/queries/{sid}
GET
Fetchunderstandstylesheet — Returns Style sheet JSON object for this Assistant
/v1/understand/assistants/{assistantsid}/stylesheet
POST
Updateunderstandstylesheet — Updates the style sheet for an assistant identified by {AssistantSid} or {AssistantUniqueName}.
/v1/understand/assistants/{assistantsid}/stylesheet
GET
Listunderstandtask — listunderstandtask
/v1/understand/assistants/{assistantsid}/tasks
POST
Createunderstandtask — createunderstandtask
/v1/understand/assistants/{assistantsid}/tasks
GET
Fetchunderstandtask — fetchunderstandtask
/v1/understand/assistants/{assistantsid}/tasks/{sid}
POST
Updateunderstandtask — updateunderstandtask
/v1/understand/assistants/{assistantsid}/tasks/{sid}
DELETE
Deleteunderstandtask — deleteunderstandtask
/v1/understand/assistants/{assistantsid}/tasks/{sid}
GET
Fetchunderstandtaskactions — Returns JSON actions for this Task.
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/actions
POST
Updateunderstandtaskactions — Updates the actions of an Task identified by {TaskSid} or {TaskUniqueName}.
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/actions
GET
Listunderstandfield — listunderstandfield
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/fields
POST
Createunderstandfield — createunderstandfield
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/fields
GET
Fetchunderstandfield — fetchunderstandfield
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/fields/{sid}
DELETE
Deleteunderstandfield — deleteunderstandfield
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/fields/{sid}
GET
Listunderstandsample — listunderstandsample
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/samples
POST
Createunderstandsample — createunderstandsample
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/samples
GET
Fetchunderstandsample — fetchunderstandsample
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/samples/{sid}
POST
Updateunderstandsample — updateunderstandsample
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/samples/{sid}
DELETE
Deleteunderstandsample — deleteunderstandsample
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/samples/{sid}
GET
Fetchunderstandtaskstatistics — fetchunderstandtaskstatistics
/v1/understand/assistants/{assistantsid}/tasks/{tasksid}/statistics
GET
Fetchunderstandassistant — fetchunderstandassistant
/v1/understand/assistants/{sid}
POST
Updateunderstandassistant — updateunderstandassistant
/v1/understand/assistants/{sid}
DELETE
Deleteunderstandassistant — deleteunderstandassistant
/v1/understand/assistants/{sid}

MCP Tools

fetchunderstanddialogue

fetchunderstanddialogue

read-only idempotent
fetchunderstandassistantfallbackactions

fetchunderstandassistantfallbackactions

read-only idempotent
updateunderstandassistantfallbackactions

updateunderstandassistantfallbackactions

listunderstandfieldtype

listunderstandfieldtype

read-only idempotent
createunderstandfieldtype

createunderstandfieldtype

listunderstandfieldvalue

listunderstandfieldvalue

read-only idempotent
createunderstandfieldvalue

createunderstandfieldvalue

fetchunderstandfieldvalue

fetchunderstandfieldvalue

read-only idempotent
deleteunderstandfieldvalue

deleteunderstandfieldvalue

idempotent
fetchunderstandfieldtype

fetchunderstandfieldtype

read-only idempotent
updateunderstandfieldtype

updateunderstandfieldtype

deleteunderstandfieldtype

deleteunderstandfieldtype

idempotent
fetchunderstandassistantinitiationactions

fetchunderstandassistantinitiationactions

read-only idempotent
updateunderstandassistantinitiationactions

updateunderstandassistantinitiationactions

listunderstandmodelbuild

listunderstandmodelbuild

read-only idempotent
createunderstandmodelbuild

createunderstandmodelbuild

fetchunderstandmodelbuild

fetchunderstandmodelbuild

read-only idempotent
updateunderstandmodelbuild

updateunderstandmodelbuild

deleteunderstandmodelbuild

deleteunderstandmodelbuild

idempotent
listunderstandquery

listunderstandquery

read-only idempotent
createunderstandquery

createunderstandquery

read-only
fetchunderstandquery

fetchunderstandquery

read-only idempotent
updateunderstandquery

updateunderstandquery

read-only
deleteunderstandquery

deleteunderstandquery

idempotent
returns-style-sheet-json-object

Returns Style sheet JSON object for this Assistant

read-only idempotent
updates-style-sheet-assistant-identified

Updates the style sheet for an assistant identified by {AssistantSid} or {AssistantUniqueName}.

listunderstandtask

listunderstandtask

read-only idempotent
createunderstandtask

createunderstandtask

fetchunderstandtask

fetchunderstandtask

read-only idempotent
updateunderstandtask

updateunderstandtask

deleteunderstandtask

deleteunderstandtask

idempotent
returns-json-actions-this-task

Returns JSON actions for this Task.

read-only idempotent
updates-actions-task-identified-tasksid

Updates the actions of an Task identified by {TaskSid} or {TaskUniqueName}.

listunderstandfield

listunderstandfield

read-only idempotent
createunderstandfield

createunderstandfield

fetchunderstandfield

fetchunderstandfield

read-only idempotent
deleteunderstandfield

deleteunderstandfield

idempotent
listunderstandsample

listunderstandsample

read-only idempotent
createunderstandsample

createunderstandsample

fetchunderstandsample

fetchunderstandsample

read-only idempotent
updateunderstandsample

updateunderstandsample

deleteunderstandsample

deleteunderstandsample

idempotent
fetchunderstandtaskstatistics

fetchunderstandtaskstatistics

read-only idempotent
fetchunderstandassistant

fetchunderstandassistant

read-only idempotent
updateunderstandassistant

updateunderstandassistant

deleteunderstandassistant

deleteunderstandassistant

idempotent

Capability Spec

assistant-understand.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio Assistants — Understand
  description: 'Twilio Assistants — Understand. 46 operations. Lead operation: Understand. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - Understand
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: assistant-understand
    baseUri: https://preview.twilio.com
    description: Twilio Assistants — Understand business capability. Self-contained, no shared references.
    resources:
    - name: understand-Assistants-AssistantSid-Dialogues-Sid
      path: /understand/Assistants/{AssistantSid}/Dialogues/{Sid}
      operations:
      - name: fetchunderstanddialogue
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
    - name: understand-Assistants-AssistantSid-FallbackActions
      path: /understand/Assistants/{AssistantSid}/FallbackActions
      operations:
      - name: fetchunderstandassistantfallbackactions
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
      - name: updateunderstandassistantfallbackactions
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-FieldTypes
      path: /understand/Assistants/{AssistantSid}/FieldTypes
      operations:
      - name: listunderstandfieldtype
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandfieldtype
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-FieldTypes-FieldTypeSid-FieldValues
      path: /understand/Assistants/{AssistantSid}/FieldTypes/{FieldTypeSid}/FieldValues
      operations:
      - name: listunderstandfieldvalue
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: FieldTypeSid
          in: path
          type: string
          required: true
        - name: Language
          in: query
          type: string
          description: 'An ISO language-country string of the value. For example: *en-US*'
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandfieldvalue
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: FieldTypeSid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-FieldTypes-FieldTypeSid-FieldValues-Sid
      path: /understand/Assistants/{AssistantSid}/FieldTypes/{FieldTypeSid}/FieldValues/{Sid}
      operations:
      - name: fetchunderstandfieldvalue
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: FieldTypeSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
      - name: deleteunderstandfieldvalue
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: FieldTypeSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
    - name: understand-Assistants-AssistantSid-FieldTypes-Sid
      path: /understand/Assistants/{AssistantSid}/FieldTypes/{Sid}
      operations:
      - name: fetchunderstandfieldtype
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
      - name: updateunderstandfieldtype
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandfieldtype
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
    - name: understand-Assistants-AssistantSid-InitiationActions
      path: /understand/Assistants/{AssistantSid}/InitiationActions
      operations:
      - name: fetchunderstandassistantinitiationactions
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
      - name: updateunderstandassistantinitiationactions
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-ModelBuilds
      path: /understand/Assistants/{AssistantSid}/ModelBuilds
      operations:
      - name: listunderstandmodelbuild
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandmodelbuild
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-ModelBuilds-Sid
      path: /understand/Assistants/{AssistantSid}/ModelBuilds/{Sid}
      operations:
      - name: fetchunderstandmodelbuild
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
      - name: updateunderstandmodelbuild
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandmodelbuild
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          required: true
        - name: Sid
          in: path
          type: string
          required: true
    - name: understand-Assistants-AssistantSid-Queries
      path: /understand/Assistants/{AssistantSid}/Queries
      operations:
      - name: listunderstandquery
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: Language
          in: query
          type: string
          description: An ISO language-country string of the sample.
        - name: ModelBuild
          in: query
          type: string
          description: The Model Build Sid or unique name of the Model Build to be queried.
        - name: Status
          in: query
          type: string
          description: 'A string that described the query status. The values can be: pending_review, reviewed, discarded'
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandquery
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Queries-Sid
      path: /understand/Assistants/{AssistantSid}/Queries/{Sid}
      operations:
      - name: fetchunderstandquery
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
      - name: updateunderstandquery
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandquery
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
    - name: understand-Assistants-AssistantSid-StyleSheet
      path: /understand/Assistants/{AssistantSid}/StyleSheet
      operations:
      - name: fetchunderstandstylesheet
        method: GET
        description: Returns Style sheet JSON object for this Assistant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant
          required: true
      - name: updateunderstandstylesheet
        method: POST
        description: Updates the style sheet for an assistant identified by {AssistantSid} or {AssistantUniqueName}.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Tasks
      path: /understand/Assistants/{AssistantSid}/Tasks
      operations:
      - name: listunderstandtask
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandtask
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Tasks-Sid
      path: /understand/Assistants/{AssistantSid}/Tasks/{Sid}
      operations:
      - name: fetchunderstandtask
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
      - name: updateunderstandtask
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandtask
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Actions
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Actions
      operations:
      - name: fetchunderstandtaskactions
        method: GET
        description: Returns JSON actions for this Task.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task.
          required: true
      - name: updateunderstandtaskactions
        method: POST
        description: Updates the actions of an Task identified by {TaskSid} or {TaskUniqueName}.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Fields
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Fields
      operations:
      - name: listunderstandfield
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Field.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandfield
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Field.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Fields-Sid
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Fields/{Sid}
      operations:
      - name: fetchunderstandfield
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Field.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
      - name: deleteunderstandfield
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Field.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Samples
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Samples
      operations:
      - name: listunderstandsample
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Sample.
          required: true
        - name: Language
          in: query
          type: string
          description: An ISO language-country string of the sample.
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
      - name: createunderstandsample
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Sample.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Samples-Sid
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Samples/{Sid}
      operations:
      - name: fetchunderstandsample
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Sample.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
      - name: updateunderstandsample
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Sample.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandsample
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Sample.
          required: true
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
    - name: understand-Assistants-AssistantSid-Tasks-TaskSid-Statistics
      path: /understand/Assistants/{AssistantSid}/Tasks/{TaskSid}/Statistics
      operations:
      - name: fetchunderstandtaskstatistics
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: AssistantSid
          in: path
          type: string
          description: The unique ID of the parent Assistant.
          required: true
        - name: TaskSid
          in: path
          type: string
          description: The unique ID of the Task associated with this Field.
          required: true
    - name: understand-Assistants-Sid
      path: /understand/Assistants/{Sid}
      operations:
      - name: fetchunderstandassistant
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
      - name: updateunderstandassistant
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteunderstandassistant
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: A 34 character string that uniquely identifies this resource.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: assistant-understand-rest
    port: 8080
    description: REST adapter for Twilio Assistants — Understand. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/understand/assistants/{assistantsid}/dialogues/{sid}
      name: understand-assistants-assistantsid-dialogues-sid
      description: REST surface for understand-Assistants-AssistantSid-Dialogues-Sid.
      operations:
      - method: GET
        name: fetchunderstanddialogue
        description: fetchunderstanddialogue
        call: assistant-understand.fetchunderstanddialogue


# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/twilio/refs/heads/main/capabilities/assistant-understand.yaml