API Reference
A RESTful API with resource-oriented URLs, JSON-encoded responses, and standard HTTP status codes.
Base URL
Every request goes to a single host, with the resource path appended.
https://api.metorial.comAuthentication
Authenticate with a bearer token. Each key is scoped to one environment within a project, so the same code can target live or test data by swapping the key.
- Publishable keys (
metorial_pk_) read public data and are safe in client-side code. - Secret keys (
metorial_sk_) have full project access and must stay server-side.
Prefer an SDK
The JavaScript and Python SDKs handle authentication, pagination, and retries for you.
Resources
Providers
ProvidersA provider is a read-only template for an MCP server integration (like GitHub or Slack). To use…Provider VersionsA provider version is a specific release of a provider. Each version has its own tools, auth…Provider SpecificationsA provider specification is the set of tools, auth methods, and configuration fields a provider…Provider TriggersA provider trigger is an event a provider can emit for callbacks. Each provider version has its…Provider ToolsA tool is a single action a provider can perform, like `search_issues` or `send_message`…Provider Auth MethodsA provider auth method is one way to authenticate with a provider, such as OAuth, an API token…
Integrations
IntegrationsAn integration is a reusable set of providers with shared configuration. Integration instances…Integration ProvidersAn integration provider is one provider in an integration, with the deployment, configuration…Integration Setup SessionsAn integration setup session is a shareable flow that connects each provider an integration…Integration InstancesAn integration instance is an integration set up for a specific actor or identity. It binds…Integration Instance ProvidersAn integration instance provider binds one provider of an integration instance to the…Integration Instance GroupsAn integration instance group combines providers from multiple integration instances into one…Integration Instance Group ProvidersAn integration instance group provider links one integration instance provider into a group…
Sessions
SessionsA session is a connection between clients and providers over MCP. Each session connects to one…Session TemplatesA session template is a reusable configuration for creating sessions with the same providers.Session Template ProvidersA session template provider is one provider in a session template, with its deployment, config…Session ProvidersA session provider is one provider connected to a session, with the deployment, config, and…Session ParticipantsA session participant is a client, provider, or system actor in a session. Participants appear…Session ErrorsA session error is an error recorded while running a session. Similar errors group together for…Provider RunsA provider run is one execution of a provider in a session. Runs track activity from start to…Session MessagesA session message is one MCP message exchanged between a client and a provider. Messages are…Session ConnectionsA session connection is one MCP connection in a session. Connections report their state…Tool CallsA tool call is one invocation of a provider tool in a session, with its input, output, and…
Skills
Skill ConfigurationsA skill configuration is a profile controlling how skills execute.SkillsA skill is a reusable composition of provider and integration capabilities.Skill AgentsA skill agent is a reusable sub-agent document stored in a skill.Skill FilesSkill files are the versioned files that make up a skill, addressed by path.Skill GroupsA skill group is a reusable collection of skills.Skill Group ItemsA skill group item is one skill in a skill group.Skill ItemsA skill item is a provider or integration attached to a skill.Skill AccessSkill access is the record of who can view or edit a skill.Skill ParticipantsA skill participant is a member or consumer participating in a skill.Skill TemplatesA skill template is a reusable starting point for creating skills.Skill Template ItemsA skill template item is a provider or integration attached to a skill template.Skill VersionsA skill version is a snapshot of a skill at a point in time.Skill ExportsA skill export is a zip file containing a skill, plugin, or marketplace.Skill ImportsA skill import is a queued import of skills from a repository or uploaded file.Skill MarketplacesA skill marketplace is a curated collection of skill plugins.Skill Marketplace PluginsA skill marketplace plugin is one plugin in a skill marketplace.Skill Security ReviewsA security review assesses what a skill makes an agent do and whether its files can be trusted…Skill PluginsA skill plugin is a set of skills distributed through a skill marketplace.Skill Plugin SkillsA skill plugin skill is one skill in a skill plugin.
Configurations
Provider DeploymentsA provider deployment is a provider set up for your instance, with its own configuration and…Provider ConfigsA provider config is a set of configuration values for a provider. It holds values directly or…Provider Config VaultsA provider config vault is a saved, reusable set of configuration values. Configs can reference…Provider Auth ConfigsA provider auth config is a user's authenticated connection to a provider. It is created when a…Provider Auth CredentialsProvider auth credentials are an OAuth app registration used with a provider: a client ID, a…Provider Setup SessionsA provider setup session is a guided flow that collects authentication, configuration, or both…Provider Auth ImportsA provider auth import is existing authentication credentials brought into Metorial from…Provider Auth ExportsA provider auth export is a copy of authentication credentials taken out of Metorial for use in…
Portals
PortalA portal is a branded catalog of integrations and skills for your consumers. Each portal has…Portal AccessA portal access rule grants one consumer group access to one listing target, such as an…Portal ListingsA portal listing is the shared catalog entry for one integration, skill, or skill set on a…Portal Access RequestsA portal access request is a consumer's request for access to a listing. Approving it grants…Portal Consumer GroupsA portal consumer group is a set of consumers on a portal. Groups decide which listings each…Portal Consumer ProfilesA portal consumer profile is the identity of one person on a portal. Group assignments decide…Portal Consumer InvitesA portal consumer invite is an email invitation for one person to join a portal.
Custom Providers
Custom ProvidersA custom provider is an MCP server you deploy and use through your instance. It runs from a…Custom Provider VersionsA custom provider version is a release of a custom provider. It is built by a deployment and…Custom Provider DeploymentsA custom provider deployment is a build and rollout of one custom provider version.
File Collections
DocumentsA document is rich text with comments, versions, and participants.Document VersionsA document version is a snapshot of a document's content.Document ParticipantsA document participant is an actor with access to a document.StoresA store is a shared collection of files and documents. Participants get read or write access to…Store ItemsA store item is a file, document, or directory in a store.Store ParticipantsA store participant is an actor with access to a store and its contents.