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
name
StringNullableDisplay name
description
StringNullableDescription
metadata
ObjectNullableCustom key-value pairs for storing additional information
provider_id
StringProvider ID
provider_deployment_id
StringNullableDeployment ID
created_at
DateTimestamp when created
updated_at
DateTimestamp when last updated
{"object": "provider.config","id": "pcf_7dEfGhJkLmNpQrSt","name": "Production Config","description": "Configuration for production environment","metadata": {"label": "primary","notes": "Default production config"},"provider_id": "pro_5gHjKlMnPqRsTuVw","provider_deployment_id": "pde_1aBcDeFgHjKlMnPq","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.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
Query Parameters
limit
NumberOptionalMaximum number of items to return (1-100)
after
StringOptionalReturn items after this ID
before
StringOptionalReturn items before this ID
cursor
StringOptionalPagination cursor from a previous response
order
EnumOptionalSort order for results
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/configs" \-H "Authorization: Bearer metorial_sk_..."
Get provider config
Retrieves a specific provider config by ID.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
provider_config_id
StringThe unique identifier for the provider_config
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create provider config
Creates a new provider config.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
Request Body
name
Stringdescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
config
ObjectConfiguration data source
curl -X POST "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/configs" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {},"config": {"type": "example_type","data": {}}}'
Update provider config
Updates a specific provider config.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
provider_config_id
StringThe unique identifier for the provider_config
Request Body
name
StringOptionaldescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
curl -X PATCH "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {}}'
Delete provider config
Permanently deletes a provider config.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
provider_config_id
StringThe unique identifier for the provider_config
curl -X DELETE "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/configs/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Get config schema
Retrieves the JSON Schema for configuration of this provider deployment.
URL Parameters
provider_deployment_id
StringThe unique identifier for the provider_deployment
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-schema" \-H "Authorization: Bearer metorial_sk_..."