Custom Provider Deployments
Deployments track the build and deployment process of custom provider versions. View deployment status and logs.
Custom Provider Deployments object
Attributes
object
StringString representing the object's type
id
StringUnique custom provider deployment identifier
status
StringNullableCurrent deployment status
trigger
StringNullableWhat triggered this deployment
custom_provider_id
StringID of the parent custom provider
provider_id
StringNullableID of the associated provider
custom_provider_version_id
StringNullableID of the custom provider version being deployed
commit
ObjectNullableactor
ObjectNullablecreated_at
DateTimestamp when created
updated_at
DateTimestamp when last updated
{"object": "custom_provider.deployment","id": "cpd_1aBcDeFgHjKlMnPq","status": "queued","trigger": "manual","custom_provider_id": "cpr_1aBcDeFgHjKlMnPq","provider_id": "pro_5gHjKlMnPqRsTuVw","custom_provider_version_id": "cpv_1aBcDeFgHjKlMnPq","commit": {"id": "cpcm_1aBcDeFgHjKlMnPq","type": "merge","message": "Deploy new version","created_at": "2025-09-15T10:30:00.000Z"},"actor": {"id": "act_1aBcDeFgHjKlMnPq","name": "John Doe","type": "external","organization_actor_id": "orgact_1aBcDeFgHjKlMnPq"},"created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}
List custom provider deployments
Returns a paginated list of deployments for a custom provider.
URL Parameters
custom_provider_id
StringThe unique identifier for the custom_provider
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
status
UnionOptionalFilter by status (queued, deploying, succeeded, failed)
ids
UnionOptionalFilter by deployment IDs
custom_provider_version_ids
UnionOptionalFilter by version IDs
curl -X GET "https://api.metorial.com/custom-providers/cus_Rm4Mnheq2bfEPhBhP7SY/deployments" \-H "Authorization: Bearer metorial_sk_..."
Get custom provider deployment
Retrieves a specific deployment.
URL Parameters
custom_provider_id
StringThe unique identifier for the custom_provider
custom_provider_deployment_id
StringThe unique identifier for the custom_provider_deployment
curl -X GET "https://api.metorial.com/custom-providers/cus_Rm4Mnheq2bfEPhBhP7SY/deployments/cus_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Get deployment logs
Retrieves the build and deployment logs for a deployment.
URL Parameters
custom_provider_id
StringThe unique identifier for the custom_provider
custom_provider_deployment_id
StringThe unique identifier for the custom_provider_deployment
curl -X GET "https://api.metorial.com/custom-providers/cus_Rm4Mnheq2bfEPhBhP7SY/deployments/cus_Rm4Mnheq2bfEPhBhP7SY/logs" \-H "Authorization: Bearer metorial_sk_..."