curl \
-X GET 'https://api.meilisearch.com/api/v2/resources?regionId=1' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"offset": 0,
"limit": 20,
"total": 1,
"results": [
{
"id": 7,
"name": "XS",
"plan": "resource_based_plan",
"regionId": 3,
"displayName": "XS",
"storage": 32,
"memory": 1,
"vcpu": 0.5,
"fullPlan": {
"id": 5,
"name": "Resource-based XS",
"code": "resource_based_xs",
"features": [
{
"id": 101,
"name": "Instance runtime",
"kind": "instance_runtime",
"stripePriceId": "price_1Nx2yZ3aBcDeFgHi",
"enabled": true,
"nickname": "XS",
"description": "Hourly runtime of the instance.",
"productName": "Meilisearch Cloud instance",
"unitPrice": 0.05,
"monthlyEstimation": 36.5,
"transformQuantity": {
"divideBy": 1000,
"round": "up"
}
}
]
}
}
]
}{
"message": "The provided token is invalid.",
"code": "invalid_token",
"type": "auth",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#invalid_token"
}Resources
List resources
Lists the machine sizes and plans you can create a project with or move a project to, with the pricing of public plans.
GET
/
api
/
v2
/
resources
curl \
-X GET 'https://api.meilisearch.com/api/v2/resources?regionId=1' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"offset": 0,
"limit": 20,
"total": 1,
"results": [
{
"id": 7,
"name": "XS",
"plan": "resource_based_plan",
"regionId": 3,
"displayName": "XS",
"storage": 32,
"memory": 1,
"vcpu": 0.5,
"fullPlan": {
"id": 5,
"name": "Resource-based XS",
"code": "resource_based_xs",
"features": [
{
"id": 101,
"name": "Instance runtime",
"kind": "instance_runtime",
"stripePriceId": "price_1Nx2yZ3aBcDeFgHi",
"enabled": true,
"nickname": "XS",
"description": "Hourly runtime of the instance.",
"productName": "Meilisearch Cloud instance",
"unitPrice": 0.05,
"monthlyEstimation": 36.5,
"transformQuantity": {
"divideBy": 1000,
"round": "up"
}
}
]
}
}
]
}{
"message": "The provided token is invalid.",
"code": "invalid_token",
"type": "auth",
"link": "https://www.meilisearch.com/docs/reference/management-api-errors#invalid_token"
}Authorizations
personal_access_tokenoauth2
Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.
Query Parameters
Response
Resources list
Envelope of every list response, the items being in results.