Skip to main content
PUT
https://ageneral.ai
/
v1
/
agents
/
{agent_id}
/
secrets
/
{name}
Put agent secret
curl --request PUT \
  --url https://ageneral.ai/v1/agents/{agent_id}/secrets/{name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Session JWT from Ageneral sign-in. Send as Authorization: Bearer <token>.

Path Parameters

agent_id
string
required
name
string
required

Body

application/json

Body carries value; agent_id and name are path parameters.

value
string
required

Response

Success

The response is of type object.