Resource Endpoints
This page documents all available operations for creating, managing, and using resources on the Mirra platform.
Create Resource
Create a new resource with API endpoint configuration and OpenAPI specification.
Endpoint
Request Body
Response
The resource is created in draft status and must be published before it appears in the marketplace.
Install Resource
Install a resource to your account before invoking methods. Installation creates an installation record and prepares the resource for authentication.
Endpoint
Response
The isAuthenticated field indicates whether the user has provided credentials. Resources requiring authentication must be authenticated before use.
Authenticate Resource
Provide credentials for resources requiring authentication. The platform securely stores credentials and injects them into API requests.
Endpoint
Request Body
- API Key
- OAuth 2.0
- Basic Auth
- Bearer Token
Get Installation Usage
Track usage metrics and costs for a specific resource installation.
Endpoint
Response
Get Resource Metrics
View aggregated metrics across all users for a resource you created. Available to resource creators only.
Endpoint
Response
Publish Resource
Publish a resource to the marketplace to make it available for installation. Publishing validates the resource configuration.
Endpoint
Publishing Requirements
- Valid name and description
- At least one method defined
- Valid OpenAPI 3.0 specification
- All method schemas validated
Response
Unpublish Resource
Remove a resource from the marketplace. Unpublishing prevents new installations but does not affect existing installations.
Endpoint
Response
Update Resource
Update resource configuration, methods, or pricing. Updates do not affect existing installations until users upgrade.
Endpoint
Request Body
Delete Resource
Permanently delete a resource. Resources with active installations cannot be deleted.
Endpoint
Response
List Marketplace Resources
Browse available resources in the marketplace with filtering and pagination.
Endpoint
Query Parameters
category(string, optional) - Filter by categorytags(string[], optional) - Filter by tagssearch(string, optional) - Search by name or descriptionlimit(number, optional) - Results per page (default: 10)offset(number, optional) - Pagination offset (default: 0)
Response
List User Installations
Get all resources installed to your account.
Endpoint
Response
Uninstall Resource
Remove a resource installation from your account. This removes credentials and prevents future method calls.
Endpoint
Response
Note: Uninstalling a resource does not refund subscription fees or usage charges.
See Also
- Overview - Resource concepts and types
- Examples - Practical implementation examples
- Technical Notes - Authentication, pricing, and troubleshooting