REST API Overview
The Meter REST API provides direct HTTP access to all Meter features. Use it when the Python SDK isn’t available or when you need language-agnostic integration.Base URL
Authentication
Include your API key in theAuthorization header using the Bearer scheme:
Request format
All POST and PATCH requests must includeContent-Type: application/json and send JSON-encoded request bodies.
Example:
Response format
All responses are JSON-encoded with appropriate HTTP status codes:200 OK: Successful request201 Created: Resource created successfully400 Bad Request: Invalid request parameters401 Unauthorized: Invalid or missing API key404 Not Found: Resource not found500 Internal Server Error: Server error
API endpoints
Strategies
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/strategies/generate | Generate a new strategy |
| POST | /v1/strategies/{id}/refine | Refine an existing strategy |
| GET | /v1/strategies | List all strategies |
| GET | /v1/strategies/{id} | Get strategy details |
| DELETE | /v1/strategies/{id} | Delete a strategy |
Jobs
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/jobs | Create a new job |
| GET | /v1/jobs/{id} | Get job status and results |
| GET | /v1/jobs | List jobs (with filtering) |
| POST | /v1/jobs/compare | Compare two jobs |
| GET | /v1/strategies/{id}/history | Get strategy job history |
Schedules
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/schedules | Create a schedule |
| GET | /v1/schedules | List all schedules |
| PATCH | /v1/schedules/{id} | Update a schedule |
| DELETE | /v1/schedules/{id} | Delete a schedule |
| GET | /v1/schedules/{id}/changes | Get unseen changes |
Rate limiting
Rate limits are not yet enforced during beta. Reasonable usage is expected.
Pagination
List endpoints support pagination withlimit and offset query parameters:
Idempotency
POST requests are not idempotent—calling the same endpoint twice will create two resources. For idempotent operations, use the Python SDK or implement your own idempotency logic.CORS
The API does not currently support CORS. For browser-based applications, proxy requests through your backend.Webhooks
Configure webhooks when creating schedules to receive real-time notifications:Next steps
Authentication
Learn about API key authentication
Strategy Endpoints
Explore strategy API endpoints
Job Endpoints
Explore job API endpoints
Schedule Endpoints
Explore schedule API endpoints