ToolService
Tool Set Secrets
Create a new tool set secret
Creates a new secret scoped to the tool set
post/v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/secrets
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
The workspace that owns the tool set.
toolSetIdstring required
Example:toolset_01HXKD2E5NQM3T9AYWCFNRMN74
The tool set that will own this secret. Accepts the canonical ts_… form or the external_id:<value> form.
Request body
Example request
{
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"toolSetId": "toolset_01HXKD2E5NQM3T9AYWCFNRMN74"
}Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"info": {
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}Changes
Changed in 2 of the 57 revisions of this API.22
- ●
removed the request property
metadata/bundleKeyrequest-property-removed
- ●
removed the optional property
metadata/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
info/allOf[ToolSetSecretInfo]/createdBy/metadata/createdAtto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○