Vapi · Capability
Vapi API — Insight
Vapi API — Insight. 7 operations. Lead operation: Create Insight. Self-contained Naftiko capability covering one Vapi business surface.
What You Can Do
POST
Insightcontrollercreate
— Create Insight
/v1/reporting/insight
GET
Insightcontrollerfindall
— Get Insights
/v1/reporting/insight
POST
Insightcontrollerpreview
— Preview Insight
/v1/reporting/insight/preview
PATCH
Insightcontrollerupdate
— Update Insight
/v1/reporting/insight/{id}
GET
Insightcontrollerfindone
— Get Insight
/v1/reporting/insight/{id}
DELETE
Insightcontrollerremove
— Delete Insight
/v1/reporting/insight/{id}
POST
Insightcontrollerrun
— Run Insight
/v1/reporting/insight/{id}/run
MCP Tools
create-insight
Create Insight
get-insights
Get Insights
read-only
idempotent
preview-insight
Preview Insight
update-insight
Update Insight
idempotent
get-insight
Get Insight
read-only
idempotent
delete-insight
Delete Insight
idempotent
run-insight
Run Insight
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Vapi API — Insight
description: 'Vapi API — Insight. 7 operations. Lead operation: Create Insight. Self-contained Naftiko capability covering
one Vapi business surface.'
tags:
- Vapi
- Insight
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
VAPI_API_KEY: VAPI_API_KEY
capability:
consumes:
- type: http
namespace: vapi-insight
baseUri: https://api.vapi.ai
description: Vapi API — Insight business capability. Self-contained, no shared references.
resources:
- name: reporting-insight
path: /reporting/insight
operations:
- name: insightcontrollercreate
method: POST
description: Create Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: insightcontrollerfindall
method: GET
description: Get Insights
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: query
type: string
- name: page
in: query
type: number
description: This is the page number to return. Defaults to 1.
- name: sortOrder
in: query
type: string
description: This is the sort order for pagination. Defaults to 'DESC'.
- name: sortBy
in: query
type: string
description: This is the column to sort by. Defaults to 'createdAt'.
- name: limit
in: query
type: number
description: This is the maximum number of items to return. Defaults to 100.
- name: createdAtGt
in: query
type: string
description: This will return items where the createdAt is greater than the specified value.
- name: createdAtLt
in: query
type: string
description: This will return items where the createdAt is less than the specified value.
- name: createdAtGe
in: query
type: string
description: This will return items where the createdAt is greater than or equal to the specified value.
- name: createdAtLe
in: query
type: string
description: This will return items where the createdAt is less than or equal to the specified value.
- name: updatedAtGt
in: query
type: string
description: This will return items where the updatedAt is greater than the specified value.
- name: updatedAtLt
in: query
type: string
description: This will return items where the updatedAt is less than the specified value.
- name: updatedAtGe
in: query
type: string
description: This will return items where the updatedAt is greater than or equal to the specified value.
- name: updatedAtLe
in: query
type: string
description: This will return items where the updatedAt is less than or equal to the specified value.
- name: reporting-insight-preview
path: /reporting/insight/preview
operations:
- name: insightcontrollerpreview
method: POST
description: Preview Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: reporting-insight-id
path: /reporting/insight/{id}
operations:
- name: insightcontrollerupdate
method: PATCH
description: Update Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: insightcontrollerfindone
method: GET
description: Get Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: insightcontrollerremove
method: DELETE
description: Delete Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: reporting-insight-id-run
path: /reporting/insight/{id}/run
operations:
- name: insightcontrollerrun
method: POST
description: Run Insight
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: bearer
token: '{{env.VAPI_API_KEY}}'
exposes:
- type: rest
namespace: vapi-insight-rest
port: 8080
description: REST adapter for Vapi API — Insight. One Spectral-compliant resource per consumed operation, prefixed with
/v1.
resources:
- path: /v1/reporting/insight
name: reporting-insight
description: REST surface for reporting-insight.
operations:
- method: POST
name: insightcontrollercreate
description: Create Insight
call: vapi-insight.insightcontrollercreate
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: insightcontrollerfindall
description: Get Insights
call: vapi-insight.insightcontrollerfindall
with:
id: rest.id
page: rest.page
sortOrder: rest.sortOrder
sortBy: rest.sortBy
limit: rest.limit
createdAtGt: rest.createdAtGt
createdAtLt: rest.createdAtLt
createdAtGe: rest.createdAtGe
createdAtLe: rest.createdAtLe
updatedAtGt: rest.updatedAtGt
updatedAtLt: rest.updatedAtLt
updatedAtGe: rest.updatedAtGe
updatedAtLe: rest.updatedAtLe
outputParameters:
- type: object
mapping: $.
- path: /v1/reporting/insight/preview
name: reporting-insight-preview
description: REST surface for reporting-insight-preview.
operations:
- method: POST
name: insightcontrollerpreview
description: Preview Insight
call: vapi-insight.insightcontrollerpreview
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/reporting/insight/{id}
name: reporting-insight-id
description: REST surface for reporting-insight-id.
operations:
- method: PATCH
name: insightcontrollerupdate
description: Update Insight
call: vapi-insight.insightcontrollerupdate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: insightcontrollerfindone
description: Get Insight
call: vapi-insight.insightcontrollerfindone
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: insightcontrollerremove
description: Delete Insight
call: vapi-insight.insightcontrollerremove
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/reporting/insight/{id}/run
name: reporting-insight-id-run
description: REST surface for reporting-insight-id-run.
operations:
- method: POST
name: insightcontrollerrun
description: Run Insight
call: vapi-insight.insightcontrollerrun
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: vapi-insight-mcp
port: 9090
transport: http
description: MCP adapter for Vapi API — Insight. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: create-insight
description: Create Insight
hints:
readOnly: false
destructive: false
idempotent: false
call: vapi-insight.insightcontrollercreate
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-insights
description: Get Insights
hints:
readOnly: true
destructive: false
idempotent: true
call: vapi-insight.insightcontrollerfindall
with:
id: tools.id
page: tools.page
sortOrder: tools.sortOrder
sortBy: tools.sortBy
limit: tools.limit
createdAtGt: tools.createdAtGt
createdAtLt: tools.createdAtLt
createdAtGe: tools.createdAtGe
createdAtLe: tools.createdAtLe
updatedAtGt: tools.updatedAtGt
updatedAtLt: tools.updatedAtLt
updatedAtGe: tools.updatedAtGe
updatedAtLe: tools.updatedAtLe
outputParameters:
- type: object
mapping: $.
- name: preview-insight
description: Preview Insight
hints:
readOnly: false
destructive: false
idempotent: false
call: vapi-insight.insightcontrollerpreview
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: update-insight
description: Update Insight
hints:
readOnly: false
destructive: false
idempotent: true
call: vapi-insight.insightcontrollerupdate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-insight
description: Get Insight
hints:
readOnly: true
destructive: false
idempotent: true
call: vapi-insight.insightcontrollerfindone
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: delete-insight
description: Delete Insight
hints:
readOnly: false
destructive: true
idempotent: true
call: vapi-insight.insightcontrollerremove
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: run-insight
description: Run Insight
hints:
readOnly: false
destructive: false
idempotent: false
call: vapi-insight.insightcontrollerrun
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.