Integration Providers
Integration providers define the shared provider-level contract for a given integration.
Integration Providers object
Attributes
object
Stringid
Stringstatus
Enumintegration_id
Stringname
Stringdescription
StringNullablemetadata
ObjectNullableA key-value map
tool_filter
ObjectNullableTool filter configuration
provider
Objectdeployment
Objectauth_method
ObjectNullableauth_credentials
ObjectNullableconfig
ObjectNullablecreated_at
Dateupdated_at
Datearchived_at
DateNullable{"object": "integration.provider","status": "active","metadata": {},"tool_filter": {"type": "allow_all"},"provider": {"object": "provider#preview","id": "pro_5gHjKlMnPqRsTuVw","name": "GitHub","description": "Connect to GitHub repositories, issues, and pull requests","slug": "github","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"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"},"auth_method": {"object": "provider.capabilities.auth_method","id": "pam_2mNpQrStUvWxYzAb","type": "oauth","key": "oauth2","name": "OAuth 2.0","description": "Authenticate using OAuth 2.0","capabilities": {},"input_schema": {"type": "json_schema","schema": {}},"output_schema": {"type": "json_schema","schema": {}},"scopes": [{"object": "provider.capabilities.auth_method.scope","id": "pams_8tUvWxYzAbCdEfGh","scope": "repo","name": "Repository Access","description": "Full control of private repositories"},{"object": "provider.capabilities.auth_method.scope","id": "pams_8tUvWxYzAbCdEfGh","scope": "repo","name": "Repository Access","description": "Full control of private repositories"}],"provider_id": "pro_5gHjKlMnPqRsTuVw","provider_specification_id": "psp_9gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"auth_credentials": {"object": "provider.auth_credentials","id": "par_4sTuVwXyZaBcDeFg","type": "oauth","status": "active","is_default": true,"is_managed": true,"name": "GitHub OAuth","description": "OAuth credentials for GitHub API","metadata": {},"provider_id": "pro_5gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"},"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"}}
List integration providers
Returns a paginated list of integration providers.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalsearch
StringOptionalstatus
UnionOptionalid
UnionOptionalintegration_id
UnionOptionalprovider_id
UnionOptionalprovider_deployment_id
UnionOptionalprovider_auth_method_id
UnionOptionalprovider_auth_credentials_id
UnionOptionalprovider_config_id
UnionOptionalcreated_at
ObjectOptionalFilter integration provider creation time by date range
updated_at
ObjectOptionalFilter integration provider last update time by date range
curl -X GET "https://api.metorial.com/integration-providers" \-H "Authorization: Bearer metorial_sk_..."
Get integration provider
Retrieves a specific integration provider.
URL Parameters
integration_provider_id
StringThe unique identifier for the integration_provider
curl -X GET "https://api.metorial.com/integration-providers/int_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create integration provider
Creates a new integration provider.
Request Body
integration_id
Stringprovider_id
Stringprovider_deployment_id
Stringprovider_auth_method_id
StringOptionalNullableprovider_auth_credentials_id
StringOptionalNullableprovider_config_id
StringOptionalNullablename
StringOptionaldescription
StringOptionalmetadata
ObjectOptionalA key-value map
tool_filters
UnionOptionalNullablecurl -X POST "https://api.metorial.com/integration-providers" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"integration_id": "example_integration_id","provider_id": "example_provider_id","provider_deployment_id": "example_provider_deployment_id","provider_auth_method_id": "example_provider_auth_method_id","provider_auth_credentials_id": "example_provider_auth_credentials_id","provider_config_id": "example_provider_config_id","name": "example_name","description": "example_description","metadata": {},"tool_filters": {"type": "example_type","keys": ["example_item"]}}'
Update integration provider
Updates a specific integration provider.
URL Parameters
integration_provider_id
StringThe unique identifier for the integration_provider
Request Body
provider_deployment_id
StringOptionalprovider_auth_method_id
StringOptionalNullableprovider_auth_credentials_id
StringOptionalNullableprovider_config_id
StringOptionalNullablename
StringOptionaldescription
StringOptionalNullablemetadata
ObjectOptionalNullableA key-value map
tool_filters
UnionOptionalNullablecurl -X PATCH "https://api.metorial.com/integration-providers/int_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"provider_deployment_id": "example_provider_deployment_id","provider_auth_method_id": "example_provider_auth_method_id","provider_auth_credentials_id": "example_provider_auth_credentials_id","provider_config_id": "example_provider_config_id","name": "example_name","description": "example_description","metadata": {},"tool_filters": {"type": "example_type","keys": ["example_item"]}}'
Delete integration provider
Archives a specific integration provider.
URL Parameters
integration_provider_id
StringThe unique identifier for the integration_provider
curl -X DELETE "https://api.metorial.com/integration-providers/int_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."