Provider Configs
A config holds settings for a deployment, like API endpoints or feature flags. Create configs with values directly, or from a saved config vault with pre-saved values.
Provider Configs object
Attributes
object
StringString representing the object's type
id
StringUnique config identifier
status
EnumConfig status
is_default
BooleanWhether this is the default config
name
StringNullableDisplay name
description
StringNullableDescription
metadata
ObjectNullableCustom key-value pairs for storing additional information
tool_filter
ObjectTool filter configuration
provider_id
StringProvider ID
specification_id
StringSpecification ID
deployment
ObjectNullablefrom_vault
ObjectNullablecreated_at
DateTimestamp when created
updated_at
DateTimestamp when last updated
{"object": "provider.config","id": "pcf_7dEfGhJkLmNpQrSt","status": "active","name": "Production Config","description": "Configuration for production environment","metadata": {},"tool_filter": {"type": "allow_all"},"provider_id": "pro_5gHjKlMnPqRsTuVw","specification_id": "psp_9gHjKlMnPqRsTuVw","deployment": {"object": "provider.deployment#preview","id": "pde_1aBcDeFgHjKlMnPq","name": "Production","description": "Production deployment","metadata": {},"provider_id": "pro_5gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"from_vault": {"object": "provider.config_vault","id": "pcvt_3bCdEfGhJkLmNpQr","status": "active","name": "Production Secrets","description": "Secure storage for production credentials","metadata": {},"provider_id": "pro_5gHjKlMnPqRsTuVw","deployment": {"object": "provider.deployment#preview","id": "pde_1aBcDeFgHjKlMnPq","name": "Production","description": "Production deployment","metadata": {},"provider_id": "pro_5gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}
List provider configs
Returns a paginated list of provider configs.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalstatus
UnionOptionalFilter by status (active, archived)
id
UnionOptionalFilter by config ID(s)
provider_id
UnionOptionalFilter by provider ID(s)
provider_specification_id
UnionOptionalFilter by provider specification ID(s)
provider_deployment_id
UnionOptionalFilter by provider deployment ID(s)
provider_config_vault_id
UnionOptionalFilter by config vault ID(s)
actor_id
UnionOptionalFilter by actor ID(s)
consumer_id
UnionOptionalFilter by consumer ID(s)
identity_id
UnionOptionalFilter by identity ID(s)
identity_credential_id
UnionOptionalFilter by identity credential ID(s)
search
StringOptionalSearch by name or description
created_at
ObjectOptionalFilter provider config creation time by date range
updated_at
ObjectOptionalFilter provider config last update time by date range
curl -X GET "https://api.metorial.com/provider-configs" \-H "Authorization: Bearer metorial_sk_..."
Get provider config
Retrieves a specific provider config by ID.
URL Parameters
provider_config_id
StringThe unique identifier for the provider_config
curl -X GET "https://api.metorial.com/provider-configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create provider config
Creates a new provider config.
Request Body
provider_id
StringProvider ID
provider_deployment_id
StringOptionalOptional provider deployment ID
name
StringOptionaldescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
tool_filters
UnionOptionalNullablecurl -X POST "https://api.metorial.com/provider-configs" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"provider_id": "example_provider_id","provider_deployment_id": "example_provider_deployment_id","name": "example_name","description": "example_description","metadata": {},"tool_filters": {"type": "example_type","keys": ["example_item"]},"value": {}}'
Update provider config
Updates a specific provider config.
URL Parameters
provider_config_id
StringThe unique identifier for the provider_config
Request Body
name
StringOptionaldescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
tool_filters
UnionOptionalNullablecurl -X PATCH "https://api.metorial.com/provider-configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {},"tool_filters": {"type": "example_type","keys": ["example_item"]}}'
Delete provider config
Permanently deletes a provider config.
URL Parameters
provider_config_id
StringThe unique identifier for the provider_config
curl -X DELETE "https://api.metorial.com/provider-configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Get config schema
Retrieves the JSON Schema for configuration of this provider deployment.
Query Parameters
provider_id
StringOptionalprovider_config_id
StringOptionalprovider_version_id
StringOptionalprovider_deployment_id
StringOptionalcurl -X GET "https://api.metorial.com/provider-config-schema" \-H "Authorization: Bearer metorial_sk_..."