lk-api-v2 / docs /openapi-lkvapi-v1.yaml
Ins0mn1a's picture
Upload openapi-lkvapi-v1.yaml
e195924 verified
openapi: 3.0.0
info:
title: openapi-lkvapi-v1
version: 1.0.0
paths:
/trunks/dispatch:
post:
summary: Create INBOUND dispatch
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_local_create_inbound_dispatch_bru
description: ''
tags:
- LOCAL
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/create_inbound_dispatch'
servers:
- url: http://localhost:3000
/trunks:
post:
summary: Create OUTBOUND trunk
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_create_outbound_trunk_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/create_outbound_trunk'
servers:
- url: http://localhost:3000
get:
summary: List ALL trunks (LK)
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_list_all_trunks_lk_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
servers:
- url: https://ins0mn1a-lk-api-v2.hf.space
/agents/dd687835-fc4c-4425-9a49-efeebe0ba361:
delete:
summary: Delete agent
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_local_delete_agent_bru
description: ''
tags:
- LOCAL
responses:
'200':
description: ''
servers:
- url: http://localhost:3000
put:
summary: Update agent
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_local_update_agent_bru
description: ''
tags:
- LOCAL
responses:
'200':
description: ''
requestBody:
$ref: '#/components/requestBodies/update_agent'
servers:
- url: http://localhost:3000
/agents:
get:
summary: List agents
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_list_agents_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
servers:
- url: https://ins0mn1a-lk-api-v2.hf.space
post:
summary: Refcheck1 - Create agent
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_refcheck1_-_create_agent_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/refcheck1_-_create_agent'
servers:
- url: https://ins0mn1a-lk-api-v1.hf.space
/agents/call:
post:
summary: Make an OUTBOUND call
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_local_make_an_outbound_call_bru
description: ''
tags:
- LOCAL
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/make_an_outbound_call'
servers:
- url: http://localhost:3000
/agents/7decaee0-ff5e-4b65-a885-0ee7b2973c99:
delete:
summary: Delete agent
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_delete_agent_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
servers:
- url: https://ins0mn1a-lk-api-v1.hf.space
/call:
post:
summary: Make an outbound call
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_make_an_outbound_call_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/make_an_outbound_call'
servers:
- url: https://ins0mn1a-lk-api-v2.hf.space
/agents/e6ab4be9-cdfc-4cb4-b7e7-834f2ae270b2:
put:
summary: Update agent
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_remote_update_agent_bru
description: ''
tags:
- REMOTE
responses:
'200':
description: ''
requestBody:
$ref: '#/components/requestBodies/update_agent'
servers:
- url: https://ins0mn1a-lk-api-v1.hf.space
/openai/deployments/%7B%7BAZURE_DEPLOYMENT%7D%7D/chat/completions:
post:
summary: AZ Generate JSON (chatcompl)
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_structured_outputs_az_generate_json_chatcompl_bru
description: ''
tags:
- STRUCTURED OUTPUTS
responses:
'200':
description: ''
parameters:
- name: api-version
in: query
description: ''
required: true
schema:
type: string
example: 2024-12-01-preview
- name: api-key
in: header
description: ''
required: true
schema:
type: string
example: '{{AZURE_API_KEY}}'
- name: content-type
in: header
description: ''
required: true
schema:
type: string
example: application/json
requestBody:
$ref: '#/components/requestBodies/az_generate_json_chatcompl'
servers:
- url: https://{resource_name}.openai.azure.com
variables:
resource_name:
default: ''
/v1/chat/completions:
post:
summary: HF Generate JSON (chatcompl)
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_structured_outputs_hf_generate_json_chatcompl_bru
description: ''
tags:
- STRUCTURED OUTPUTS
responses:
'200':
description: ''
parameters:
- name: content-type
in: header
description: ''
required: true
schema:
type: string
example: application/json
- name: Authorization
in: header
description: ''
required: true
schema:
type: string
example: Bearer hf-api-key
requestBody:
$ref: '#/components/requestBodies/hf_generate_json_chatcompl'
servers:
- url: https://router.huggingface.co
/:
post:
summary: CF Generate JSON (chatcompl)
operationId: >-
users_zerog_downloads_bruno-collections_lk-vapi-migration_structured_outputs_cf_generate_json_chatcompl_bru
description: ''
tags:
- STRUCTURED OUTPUTS
responses:
'200':
description: ''
requestBody:
$ref: '#/components/requestBodies/cf_generate_json_chatcompl'
servers:
- url: https://wandering-morning-bdee.mohbim.workers.dev
servers: []
components:
schemas:
create_inbound_dispatch:
type: object
properties:
agentId:
type: string
sipTrunkId:
type: string
example:
agentId: a47d2ba4-4931-4dcf-99f9-ca7d4db3243c
sipTrunkId: 9c5a0ba8-903d-4597-9f68-74fe64d1de7e
create_inbound_trunk:
type: object
properties:
name:
type: string
numbers:
type: array
items:
type: string
authUsername:
type: string
authPassword:
type: string
example:
name: sip-inbound-trunk-1
numbers:
- '+919108241092'
authUsername: TEST
authPassword: '{{AUTH_PASS}}'
create_outbound_trunk:
type: object
properties:
name:
type: string
address:
type: string
numbers:
type: array
items:
type: string
authUsername:
type: string
authPassword:
type: string
example:
name: sip-outbound-trunk-1
address: livekit-outbound-123.pstn.twilio.com
numbers:
- '+17753176886'
authUsername: TEST
authPassword: '{{AUTH_PASS}}'
make_an_outbound_call:
type: object
properties:
callTo:
type: string
agentId:
type: string
variables:
type: object
properties:
applicant_name:
type: string
company:
type: string
position:
type: string
reference_name:
type: string
example:
callTo: '+917760788864'
agentId: 5afeb70a-0a3c-479f-983d-93b010a5bb31
variables:
applicant_name: Melissa Sanders
company: Acme Inc.
position: Director Operations
reference_name: Reese Snow
tampaha_-_create_agent:
type: object
properties:
name:
type: string
systemPrompt:
type: string
stt:
type: object
properties:
provider:
type: string
model:
type: string
language:
type: string
llm:
type: object
properties:
provider:
type: string
endpoint:
type: string
model:
type: string
apiKey:
type: string
apiVersion:
type: string
tts:
type: object
properties:
provider:
type: string
model:
type: string
variablesSchema:
type: object
properties:
applicant_name:
type: string
company:
type: string
position:
type: string
reference_name:
type: string
example:
name: lk-agent-workerpool-2
systemPrompt: '{{SYSTEM_PROMPT}}'
stt:
provider: deepgram
model: nova-3
language: en-US
llm:
provider: azure
endpoint: https://o247-ai-sandbox.openai.azure.com/
model: gpt-5-mini
apiKey: >-
azureopenai-api-key
apiVersion: 2024-12-01-preview
tts:
provider: deepgram
model: aura-2-andromeda-en
variablesSchema:
applicant_name: ''
company: ''
position: ''
reference_name: ''
update_agent:
type: object
properties:
name:
type: string
example:
name: updated-agent
refcheck1_-_create_agent:
type: object
properties:
name:
type: string
systemPrompt:
type: string
stt:
type: object
properties:
provider:
type: string
model:
type: string
language:
type: string
llm:
type: object
properties:
provider:
type: string
endpoint:
type: string
model:
type: string
apiKey:
type: string
apiVersion:
type: string
tts:
type: object
properties:
provider:
type: string
model:
type: string
variablesSchema:
type: object
properties:
candidate_name:
type: string
referee_name:
type: string
example:
name: lk-agent-workerpool-1
systemPrompt: '{{SYSTEM_PROMPT}}'
stt:
provider: deepgram
model: nova-3
language: en-US
llm:
provider: azure
endpoint: https://o247-ai-sandbox.openai.azure.com/
model: gpt-5-mini
apiKey: >-
azureopenai-api-key
apiVersion: 2024-12-01-preview
tts:
provider: deepgram
model: aura-2-andromeda-en
variablesSchema:
candidate_name: ''
referee_name: ''
az_generate_json_chatcompl:
type: object
properties: {}
basic_hf_-_gpt-oss-120b:
type: object
properties:
model:
type: string
messages:
type: array
items:
type: object
properties:
role:
type: string
content:
type: string
stream:
type: boolean
example:
model: openai/gpt-oss-120b:groq
messages:
- role: user
content: Say hello world
stream: false
basiccerebras-_gpt-oss-120b:
type: object
properties:
model:
type: string
messages:
type: array
items:
type: object
properties:
role:
type: string
content:
type: string
stream:
type: boolean
example:
model: gpt-oss-120b
messages:
- role: user
content: Say hello world
stream: false
cf_generate_json_chatcompl:
type: object
properties: {}
hf_generate_json_chatcompl:
type: object
properties: {}
requestBodies:
create_inbound_dispatch:
content:
application/json:
schema:
$ref: '#/components/schemas/create_inbound_dispatch'
description: ''
required: true
create_inbound_trunk:
content:
application/json:
schema:
$ref: '#/components/schemas/create_inbound_trunk'
description: ''
required: true
create_outbound_trunk:
content:
application/json:
schema:
$ref: '#/components/schemas/create_outbound_trunk'
description: ''
required: true
make_an_outbound_call:
content:
application/json:
schema:
$ref: '#/components/schemas/make_an_outbound_call'
description: ''
required: true
tampaha_-_create_agent:
content:
application/json:
schema:
$ref: '#/components/schemas/tampaha_-_create_agent'
description: ''
required: true
update_agent:
content:
application/json:
schema:
$ref: '#/components/schemas/update_agent'
description: ''
required: true
refcheck1_-_create_agent:
content:
application/json:
schema:
$ref: '#/components/schemas/refcheck1_-_create_agent'
description: ''
required: true
az_generate_json_chatcompl:
content:
application/json:
schema:
$ref: '#/components/schemas/az_generate_json_chatcompl'
description: ''
required: true
basic_hf_-_gpt-oss-120b:
content:
application/json:
schema:
$ref: '#/components/schemas/basic_hf_-_gpt-oss-120b'
description: ''
required: true
basiccerebras-_gpt-oss-120b:
content:
application/json:
schema:
$ref: '#/components/schemas/basiccerebras-_gpt-oss-120b'
description: ''
required: true
cf_generate_json_chatcompl:
content:
application/json:
schema:
$ref: '#/components/schemas/cf_generate_json_chatcompl'
description: ''
required: true
hf_generate_json_chatcompl:
content:
application/json:
schema:
$ref: '#/components/schemas/hf_generate_json_chatcompl'
description: ''
required: true
securitySchemes: {}