Provider Deployments

A deployment is a running instance of a provider, pinned to a specific version. Deployments support custom configuration values and user authentication.

Provider Deployments object

Attributes

object

String

String representing the object's type

id

String

Unique deployment identifier

status

Enum

Deployment status

is_default

Boolean

Whether this is the default deployment

name

StringNullable

Display name

description

StringNullable

Description

metadata

ObjectNullable

Custom key-value pairs for storing additional information

tool_filter

Object

Tool filter configuration

provider_id

String

Provider ID

locked_version

ObjectNullable

default_config

ObjectNullable

created_at

Date

Timestamp when created

updated_at

Date

Timestamp when last updated

{
"object": "provider.deployment",
"id": "pde_1aBcDeFgHjKlMnPq",
"status": "active",
"name": "Production",
"description": "Production deployment",
"metadata": {},
"tool_filter": {
"type": "allow_all"
},
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"locked_version": {
"object": "provider.version",
"id": "prv_4dEfGhJkLmNpQrSt",
"version": "1.0.0",
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"name": "Version 1.0.0",
"metadata": {},
"specification_id": "psp_9gHjKlMnPqRsTuVw",
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
},
"default_config": {
"object": "provider.config#preview",
"id": "pcf_7dEfGhJkLmNpQrSt",
"name": "Production Config",
"description": "Configuration for production environment",
"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"
}

List provider deployments

Returns a paginated list of provider deployments.

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional

id

UnionOptional

Filter by deployment ID(s)

provider_id

UnionOptional

Filter by provider ID(s)

provider_version_id

UnionOptional

Filter by version ID(s)

actor_id

UnionOptional

Filter by actor ID(s)

consumer_id

UnionOptional

Filter by consumer ID(s)

identity_id

UnionOptional

Filter by identity ID(s)

identity_credential_id

UnionOptional

Filter by identity credential ID(s)

status

UnionOptional

Filter by status (active, archived)

search

StringOptional

Search by name or description

created_at

ObjectOptional

Filter provider deployment creation time by date range

updated_at

ObjectOptional

Filter provider deployment last update time by date range

GEThttp://api.metorial.com/provider-deployments
curl -X GET "https://api.metorial.com/provider-deployments" \
-H "Authorization: Bearer metorial_sk_..."

Get provider deployment

Retrieves a specific provider deployment by ID.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

GEThttp://api.metorial.com/provider-deployments/:provider_deployment_id
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."

Create provider deployment

Creates a new provider deployment.

Request Body

name

StringOptional

description

StringOptional

metadata

ObjectOptional

Custom key-value pairs for storing additional information

tool_filters

UnionOptionalNullable

provider_id

String

The provider to deploy

locked_provider_version_id

StringOptional

Pin this deployment to a specific provider version

Provide exactly one of the following:
These 2 fields are mutually exclusive - include only one in your request

provider_config_id

StringOptional

Existing provider config ID

provider_config

ObjectOptional
POSThttp://api.metorial.com/provider-deployments
curl -X POST "https://api.metorial.com/provider-deployments" \
-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"
]
},
"provider_id": "example_provider_id",
"locked_provider_version_id": "example_locked_provider_version_id",
"provider_config_id": "example_provider_config_id"
}'

Update provider deployment

Updates a specific provider deployment.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

Request Body

name

StringOptional

description

StringOptional

metadata

ObjectOptional

Custom key-value pairs for storing additional information

tool_filters

UnionOptionalNullable
PATCHhttp://api.metorial.com/provider-deployments/:provider_deployment_id
curl -X PATCH "https://api.metorial.com/provider-deployments/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 deployment

Permanently deletes a provider deployment.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

DELETEhttp://api.metorial.com/provider-deployments/:provider_deployment_id
curl -X DELETE "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."