agentSkills

Updates skill secret requirements.

Replaces the list of secrets a skill needs and returns the resulting requirements.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

put/agents/skills/{skillId}/secrets

Path parameters

skillIdstring uuid required

The skill ID.

Request body

Response

OK

idstring uuid

The secret requirement identifier.

envVarNamestring nullable

The environment variable name the secret is injected as.

descriptionstring nullable

The description shown to users when providing the secret.

scope'workspace' | 'user'

Who must provide the secret value.

isRequiredboolean

Whether the secret is required for the skill to work.

hasValueboolean

Whether a value is available for the requesting user.

Changes

Changed in 1 of the 11 revisions of this API.1