Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
findLatestAttestationForTask
Function findLatestAttestationForTask
findLatestAttestationForTask
(
workspace
:
string
,
scope
:
|
{
agentId
:
string
;
type
:
"AGENT"
}
|
{
nodeId
:
string
;
type
:
"NODE"
}
,
taskId
:
string
,
)
:
|
{
attestationId
:
string
;
createdByUser
:
string
;
createdTs
:
number
;
evidenceLinks
:
string
[]
;
hashes
:
{
relatedFiles
:
{
path
:
string
;
sha256
:
string
}
[]
}
;
role
:
"OWNER"
|
"AUDITOR"
;
scope
:
{
agentId
?:
string
;
nodeId
?:
string
;
type
:
"AGENT"
|
"NODE"
}
;
statement
:
string
;
taskId
:
string
;
v
:
1
;
}
|
null
Parameters
workspace
:
string
scope
:
{
agentId
:
string
;
type
:
"AGENT"
}
|
{
nodeId
:
string
;
type
:
"NODE"
}
taskId
:
string
Returns
|
{
attestationId
:
string
;
createdByUser
:
string
;
createdTs
:
number
;
evidenceLinks
:
string
[]
;
hashes
:
{
relatedFiles
:
{
path
:
string
;
sha256
:
string
}
[]
}
;
role
:
"OWNER"
|
"AUDITOR"
;
scope
:
{
agentId
?:
string
;
nodeId
?:
string
;
type
:
"AGENT"
|
"NODE"
}
;
statement
:
string
;
taskId
:
string
;
v
:
1
;
}
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...