SmythOS SDK
Core
SDK
CLI
GitHub
Preparing search index...
API Reference
WorkerJob
Interface WorkerJob
interface
WorkerJob
{
completedAt
?:
number
;
createdAt
:
number
;
currentStep
?:
string
;
error
?:
string
;
id
:
string
;
interactions
:
{
from
:
string
;
text
:
string
;
timestamp
:
number
;
type
:
string
;
}
[]
;
partialResult
:
string
;
pendingQuestion
?:
{
questionId
:
string
;
text
:
string
}
;
result
?:
string
;
resultSurfaced
?:
boolean
;
status
:
|
"completed"
|
"queued"
|
"running"
|
"waiting_for_input"
|
"failed"
|
"cancelled"
;
task
:
string
;
}
Index
Properties
completed
At?
created
At
current
Step?
error?
id
interactions
partial
Result
pending
Question?
result?
result
Surfaced?
status
task
Properties
Optional
completed
At
completedAt
?:
number
created
At
createdAt
:
number
Optional
current
Step
currentStep
?:
string
Optional
error
error
?:
string
id
id
:
string
interactions
interactions
:
{
from
:
string
;
text
:
string
;
timestamp
:
number
;
type
:
string
}
[]
partial
Result
partialResult
:
string
Optional
pending
Question
pendingQuestion
?:
{
questionId
:
string
;
text
:
string
}
Optional
result
result
?:
string
Optional
result
Surfaced
resultSurfaced
?:
boolean
status
status
:
|
"completed"
|
"queued"
|
"running"
|
"waiting_for_input"
|
"failed"
|
"cancelled"
task
task
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
completed
At
created
At
current
Step
error
id
interactions
partial
Result
pending
Question
result
result
Surfaced
status
task
Core
SDK
CLI
GitHub
SmythOS SDK
Loading...