Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
updateAgentProvider
Function updateAgentProvider
updateAgentProvider
(
workspace
:
string
,
agentId
:
string
,
provider
:
{
auth
:
|
{
env
:
string
;
type
:
"bearer_env"
}
|
{
env
:
string
;
header
:
string
;
type
:
"header_env"
}
|
{
env
:
string
;
param
:
string
;
type
:
"query_env"
}
|
{
type
:
"none"
}
;
baseUrl
:
string
;
openaiCompatible
:
boolean
;
routePrefix
:
string
;
templateId
:
string
;
upstreamId
:
string
;
}
,
)
:
{
config
:
{
agentName
:
string
;
createdTs
:
number
;
domain
:
string
;
environment
:
"development"
|
"staging"
|
"production"
;
id
:
string
;
primaryTasks
:
string
[]
;
provider
:
{
auth
:
|
{
env
:
string
;
type
:
"bearer_env"
}
|
{
env
:
string
;
header
:
string
;
type
:
"header_env"
}
|
{
env
:
string
;
param
:
string
;
type
:
"query_env"
}
|
{
type
:
"none"
}
;
baseUrl
:
string
;
openaiCompatible
:
boolean
;
routePrefix
:
string
;
templateId
:
string
;
upstreamId
:
string
;
}
;
riskTier
:
"low"
|
"med"
|
"high"
|
"critical"
;
role
:
string
;
stakeholders
:
string
[]
;
updatedTs
:
number
;
}
;
configPath
:
string
;
sigPath
:
string
;
}
Parameters
workspace
:
string
agentId
:
string
provider
:
{
auth
:
|
{
env
:
string
;
type
:
"bearer_env"
}
|
{
env
:
string
;
header
:
string
;
type
:
"header_env"
}
|
{
env
:
string
;
param
:
string
;
type
:
"query_env"
}
|
{
type
:
"none"
}
;
baseUrl
:
string
;
openaiCompatible
:
boolean
;
routePrefix
:
string
;
templateId
:
string
;
upstreamId
:
string
;
}
Returns
{
config
:
{
agentName
:
string
;
createdTs
:
number
;
domain
:
string
;
environment
:
"development"
|
"staging"
|
"production"
;
id
:
string
;
primaryTasks
:
string
[]
;
provider
:
{
auth
:
|
{
env
:
string
;
type
:
"bearer_env"
}
|
{
env
:
string
;
header
:
string
;
type
:
"header_env"
}
|
{
env
:
string
;
param
:
string
;
type
:
"query_env"
}
|
{
type
:
"none"
}
;
baseUrl
:
string
;
openaiCompatible
:
boolean
;
routePrefix
:
string
;
templateId
:
string
;
upstreamId
:
string
;
}
;
riskTier
:
"low"
|
"med"
|
"high"
|
"critical"
;
role
:
string
;
stakeholders
:
string
[]
;
updatedTs
:
number
;
}
;
configPath
:
string
;
sigPath
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...