Provider Specifications
A specification defines what a provider version can do: its tools, auth methods, and required configuration fields.
Provider Specifications object
Attributes
object
StringString representing the object's type
id
StringUnique specification identifier
key
StringUnique specification key
name
StringDisplay name
description
StringNullableDescription
config_schema
ObjectJSON Schema defining the configuration structure
config_visibility
EnumVisibility level of the configuration
tools
ObjectAvailable tools
auth_methods
ObjectAuthentication methods
provider_id
StringProvider ID
created_at
DateTimestamp when created
updated_at
DateTimestamp when last updated
{"object": "provider.specification","id": "psp_9gHjKlMnPqRsTuVw","key": "github","name": "GitHub","description": "GitHub API integration","config_schema": {"type": "object","properties": {"base_url": {"type": "string","description": "Base URL for the API"}},"required": ["base_url"]},"config_visibility": "encrypted","tools": [{"object": "provider.tool","id": "pto_5jKlMnPqRsTuVwXy","key": "create_issue","name": "Create Issue","description": "Creates a new issue in a GitHub repository","capabilities": {},"input_schema": {"type": "json_schema","schema": {}},"output_schema": {"type": "json_schema","schema": {}},"tags": {},"specification_id": "psp_9gHjKlMnPqRsTuVw","provider_id": "pro_5gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}],"auth_methods": [{"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"}],"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"}],"provider_id": "pro_5gHjKlMnPqRsTuVw","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}
List provider specifications
Returns a paginated list of provider specifications.
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
id
UnionOptionalFilter by specification ID(s)
provider_id
UnionOptionalFilter by provider ID(s)
provider_version_id
UnionOptionalFilter by provider version ID(s)
provider_deployment_id
UnionOptionalFilter by provider deployment ID(s)
provider_config_id
UnionOptionalFilter by provider config ID(s)
curl -X GET "https://api.metorial.com/provider-specifications" \-H "Authorization: Bearer metorial_sk_..."
Get provider specification
Retrieves a specific provider specification by ID.
URL Parameters
provider_specification_id
StringThe unique identifier for the provider_specification
curl -X GET "https://api.metorial.com/provider-specifications/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."