Skill Configurations
Manage configuration profiles for skill execution.
Skill Configurations object
Attributes
object
StringString representing the object's type
id
Stringis_default
Booleanallow_scripts
Booleanallowed_file_extensions
Array of Stringsallow_non_standard_directories
Booleandeleted_at
DateNullablecreated_at
Dateupdated_at
Date{"object": "skill.configuration"}
Create skill configuration
Creates a new non-default skill configuration.
Request Body
allow_scripts
BooleanOptionalallowed_file_extensions
Array of StringsOptionalNullableallow_non_standard_directories
BooleanOptionalcurl -X POST "https://api.metorial.com/skills/configurations" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"allow_scripts": false,"allowed_file_extensions": ["example_item"],"allow_non_standard_directories": false}'
List skill configurations
Returns a paginated list of visible skill configurations.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalcurl -X GET "https://api.metorial.com/skills/configurations" \-H "Authorization: Bearer metorial_sk_..."
Get skill configuration
Retrieves a specific skill configuration by ID, or the default.
URL Parameters
skill_configuration_id
StringThe unique identifier for the skill_configuration
curl -X GET "https://api.metorial.com/skills/configurations/ski_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Update skill configuration
Updates a specific skill configuration. Updating default creates it first if needed.
URL Parameters
skill_configuration_id
StringThe unique identifier for the skill_configuration
Request Body
allow_scripts
BooleanOptionalallowed_file_extensions
Array of StringsOptionalNullableallow_non_standard_directories
BooleanOptionalcurl -X PATCH "https://api.metorial.com/skills/configurations/ski_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"allow_scripts": false,"allowed_file_extensions": ["example_item"],"allow_non_standard_directories": false}'
Delete skill configuration
Soft deletes a specific non-internal skill configuration.
URL Parameters
skill_configuration_id
StringThe unique identifier for the skill_configuration
curl -X DELETE "https://api.metorial.com/skills/configurations/ski_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."