/
OU
outcallerai
/
FastAPI
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v4
OpenAPI 3.1.0
2026-08-03
553
368
548.9 KB
Create Workspace Usecase
post
/api/workspaces/{workspace_id}/usecases
Path parameters
workspace_id
string
required
Request body
UseCaseWriteRequest
required
name
string
required
selectedKnowledgeBaseId
string
nullable
description
string
nullable
industry
string
nullable
prompt
string
nullable
useCaseGoals
string
nullable
conclusion
string
nullable
type
'OUTBOUND'
|
'INBOUND'
|
'ONE_WAY'
agentId
string
nullable
escalationEnabled
boolean
maxAttempts
integer
nullable
escalationWindowDays
integer
nullable
callsPerWeek
integer
nullable
escalationUseCaseId
string
nullable
phoneNumber
string
nullable
inboundNumber
string
nullable
enableManagerTransfer
boolean
scheduleEnabled
boolean
callbackTasksEnabled
boolean
scheduledCallRetryDelayHours
integer
scheduledCallMaxRetryAttempts
integer
startTime
string
endTime
string
integrations
string[]
taskTypes
string[]
concurrency
integer
defaultTtsLanguage
string
defaultTtsVoice
string
defaultTtsPace
number
defaultTtsPitch
number
promptAiSessionId
string
nullable
tasksSchedulerConfig
object
nullable
humanAgents
UseCaseHumanAgentWriteRequest[]
nullable
Response
Successful Response
UseCaseEnvelopeResponse
required