Cotal TypeScript packages
Docs
API Reference
Preparing search index...
@cotal-ai/auth
index
requestAccountMachine
Function requestAccountMachine
requestAccountMachine
(
opts
:
{
dir
:
string
;
etag
?:
string
;
idpUrl
:
string
;
intent
?:
{
enabled
:
boolean
;
expectedRevision
:
number
;
spaceId
:
string
}
;
machineId
:
string
;
metadata
?:
{
daemonVersion
:
string
;
managers
:
readonly
{
instanceId
:
string
;
spaceId
:
string
}
[]
;
managerStartFailures
?:
readonly
{
action
:
"none"
|
"repair"
|
"sign-in"
;
code
:
string
;
message
?:
string
;
spaceId
:
string
;
}
[]
;
name
:
string
;
platform
:
"linux"
|
"darwin"
|
"win32"
;
vitals
?:
{
cpu
:
{
intervalMs
:
number
;
load1
?:
number
;
load15
?:
number
;
load5
?:
number
;
logicalCount
:
number
;
utilisationPercent
:
number
;
}
;
filesystems
:
{
freeBytes
:
number
;
mount
:
string
;
totalBytes
:
number
}
[]
;
memory
:
{
availableBytes
:
number
;
totalBytes
:
number
}
;
sampledAt
:
string
;
uptimeSeconds
:
number
;
}
;
}
;
method
:
"PUT"
|
"GET"
;
signal
?:
AbortSignal
;
}
,
)
:
Promise
<
{
body
?:
unknown
;
etag
?:
string
;
status
:
number
}
>
Call only the account-computer routes on the signed-in provider's origin.
Parameters
opts
:
{
dir
:
string
;
etag
?:
string
;
idpUrl
:
string
;
intent
?:
{
enabled
:
boolean
;
expectedRevision
:
number
;
spaceId
:
string
}
;
machineId
:
string
;
metadata
?:
{
daemonVersion
:
string
;
managers
:
readonly
{
instanceId
:
string
;
spaceId
:
string
}
[]
;
managerStartFailures
?:
readonly
{
action
:
"none"
|
"repair"
|
"sign-in"
;
code
:
string
;
message
?:
string
;
spaceId
:
string
;
}
[]
;
name
:
string
;
platform
:
"linux"
|
"darwin"
|
"win32"
;
vitals
?:
{
cpu
:
{
intervalMs
:
number
;
load1
?:
number
;
load15
?:
number
;
load5
?:
number
;
logicalCount
:
number
;
utilisationPercent
:
number
;
}
;
filesystems
:
{
freeBytes
:
number
;
mount
:
string
;
totalBytes
:
number
}
[]
;
memory
:
{
availableBytes
:
number
;
totalBytes
:
number
}
;
sampledAt
:
string
;
uptimeSeconds
:
number
;
}
;
}
;
method
:
"PUT"
|
"GET"
;
signal
?:
AbortSignal
;
}
Returns
Promise
<
{
body
?:
unknown
;
etag
?:
string
;
status
:
number
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
API Reference
Cotal TypeScript packages
Loading...
Call only the account-computer routes on the signed-in provider's origin.