Skip to content
Meem Payment

API reference · Console

Intelligence and analytics

Analytics catalogue and metric queries, AI Command Center conversations, Dashboard Studio, Insight Center, AI usage and AI provider configuration. Console API: these endpoints need a console user with the matching permission (ai.use, dashboards.manage, ai.usage.read or ai.configure).

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

GET /api/v1/analytics/catalog

GET/api/v1/analytics/catalog

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/analytics/catalog" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/analytics/catalog");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/analytics/catalog", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/analytics/catalog", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/analytics/catalog",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/analytics/catalog"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/analytics/query

POST/api/v1/analytics/query

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · MetricQueryRequest

  • metricsarray<string>nullable
  • dimensionsarray<string>nullable
  • filtersMetricFilters
    Show child attributes MetricFilters (12)
    • merchantIdsarray<string (uuid)>nullable
    • gatewaysarray<string>nullable
    • currenciesarray<string>nullable
    • paymentMethodsarray<string>nullable
    • cardSchemesarray<string>nullable
    • issuerCountriesarray<string>nullable
    • binsarray<string>nullable
    • statusesarray<string>nullable
    • channelsarray<string>nullable
    • workflowIdsarray<string (uuid)>nullable
    • declineCodesarray<string>nullable
    • operationsarray<string>nullable
  • fromstring (date-time)nullable
  • tostring (date-time)nullable
  • environmentGatewayEnvironment

    One of: Sandbox · Production

  • timeGrainTimeGrain

    One of: Hour · Day · Week · Month

  • limitinteger (int32)nullable
  • sortBystringnullable
  • sortAscendingbooleannullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/analytics/query" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "metrics": [
      "<metric>"
    ],
    "dimensions": [
      "<dimension>"
    ],
    "filters": {
      "merchantIds": [
        "<merchantId>"
      ],
      "gateways": [
        "<gateway>"
      ],
      "currencies": [
        "<currencie>"
      ],
      "paymentMethods": [
        "<paymentMethod>"
      ],
      "cardSchemes": [
        "<cardScheme>"
      ],
      "issuerCountries": [
        "<issuerCountrie>"
      ],
      "bins": [
        "<bin>"
      ],
      "statuses": [
        "<statuse>"
      ],
      "channels": [
        "<channel>"
      ],
      "workflowIds": [
        "<workflowId>"
      ],
      "declineCodes": [
        "<declineCode>"
      ],
      "operations": [
        "<operation>"
      ]
    },
    "from": "2026-12-31T20:59:59Z",
    "to": "2026-12-31T20:59:59Z",
    "environment": "Sandbox",
    "timeGrain": "Hour",
    "limit": 1,
    "sortBy": "<sortBy>",
    "sortAscending": false
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/analytics/query")
{
    Content = JsonContent.Create(new
    {
        metrics = new[] { "<metric>" },
        dimensions = new[] { "<dimension>" },
        filters = new
        {
            merchantIds = new[] { "<merchantId>" },
            gateways = new[] { "<gateway>" },
            currencies = new[] { "<currencie>" },
            paymentMethods = new[] { "<paymentMethod>" },
            cardSchemes = new[] { "<cardScheme>" },
            issuerCountries = new[] { "<issuerCountrie>" },
            bins = new[] { "<bin>" },
            statuses = new[] { "<statuse>" },
            channels = new[] { "<channel>" },
            workflowIds = new[] { "<workflowId>" },
            declineCodes = new[] { "<declineCode>" },
            operations = new[] { "<operation>" },
        },
        from = "2026-12-31T20:59:59Z",
        to = "2026-12-31T20:59:59Z",
        environment = "Sandbox",
        timeGrain = "Hour",
        limit = 1,
        sortBy = "<sortBy>",
        sortAscending = false,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/analytics/query", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    metrics: ["<metric>"],
    dimensions: ["<dimension>"],
    filters: {
      merchantIds: ["<merchantId>"],
      gateways: ["<gateway>"],
      currencies: ["<currencie>"],
      paymentMethods: ["<paymentMethod>"],
      cardSchemes: ["<cardScheme>"],
      issuerCountries: ["<issuerCountrie>"],
      bins: ["<bin>"],
      statuses: ["<statuse>"],
      channels: ["<channel>"],
      workflowIds: ["<workflowId>"],
      declineCodes: ["<declineCode>"],
      operations: ["<operation>"],
    },
    from: "2026-12-31T20:59:59Z",
    to: "2026-12-31T20:59:59Z",
    environment: "Sandbox",
    timeGrain: "Hour",
    limit: 1,
    sortBy: "<sortBy>",
    sortAscending: false,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type MetricQueryRequest = {
  metrics?: string[] | null;
  dimensions?: string[] | null;
  filters?: Record<string, unknown> /* MetricFilters */;
  from?: string | null;
  to?: string | null;
  environment?: "Sandbox" | "Production";
  timeGrain?: "Hour" | "Day" | "Week" | "Month";
  limit?: number | null;
  sortBy?: string | null;
  sortAscending?: boolean | null;
};

const body: MetricQueryRequest = {
  metrics: ["<metric>"],
  dimensions: ["<dimension>"],
  filters: {
    merchantIds: ["<merchantId>"],
    gateways: ["<gateway>"],
    currencies: ["<currencie>"],
    paymentMethods: ["<paymentMethod>"],
    cardSchemes: ["<cardScheme>"],
    issuerCountries: ["<issuerCountrie>"],
    bins: ["<bin>"],
    statuses: ["<statuse>"],
    channels: ["<channel>"],
    workflowIds: ["<workflowId>"],
    declineCodes: ["<declineCode>"],
    operations: ["<operation>"],
  },
  from: "2026-12-31T20:59:59Z",
  to: "2026-12-31T20:59:59Z",
  environment: "Sandbox",
  timeGrain: "Hour",
  limit: 1,
  sortBy: "<sortBy>",
  sortAscending: false,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/analytics/query", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/analytics/query",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "metrics": ["<metric>"],
        "dimensions": ["<dimension>"],
        "filters": {
            "merchantIds": ["<merchantId>"],
            "gateways": ["<gateway>"],
            "currencies": ["<currencie>"],
            "paymentMethods": ["<paymentMethod>"],
            "cardSchemes": ["<cardScheme>"],
            "issuerCountries": ["<issuerCountrie>"],
            "bins": ["<bin>"],
            "statuses": ["<statuse>"],
            "channels": ["<channel>"],
            "workflowIds": ["<workflowId>"],
            "declineCodes": ["<declineCode>"],
            "operations": ["<operation>"],
        },
        "from": "2026-12-31T20:59:59Z",
        "to": "2026-12-31T20:59:59Z",
        "environment": "Sandbox",
        "timeGrain": "Hour",
        "limit": 1,
        "sortBy": "<sortBy>",
        "sortAscending": False,
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "metrics": [
                "<metric>"
              ],
              "dimensions": [
                "<dimension>"
              ],
              "filters": {
                "merchantIds": [
                  "<merchantId>"
                ],
                "gateways": [
                  "<gateway>"
                ],
                "currencies": [
                  "<currencie>"
                ],
                "paymentMethods": [
                  "<paymentMethod>"
                ],
                "cardSchemes": [
                  "<cardScheme>"
                ],
                "issuerCountries": [
                  "<issuerCountrie>"
                ],
                "bins": [
                  "<bin>"
                ],
                "statuses": [
                  "<statuse>"
                ],
                "channels": [
                  "<channel>"
                ],
                "workflowIds": [
                  "<workflowId>"
                ],
                "declineCodes": [
                  "<declineCode>"
                ],
                "operations": [
                  "<operation>"
                ]
              },
              "from": "2026-12-31T20:59:59Z",
              "to": "2026-12-31T20:59:59Z",
              "environment": "Sandbox",
              "timeGrain": "Hour",
              "limit": 1,
              "sortBy": "<sortBy>",
              "sortAscending": false
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/analytics/query"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/status

GET/api/v1/intelligence/status

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/status" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/status");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/status", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/status", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/status",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/status"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/suggestions

GET/api/v1/intelligence/suggestions

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Query parameters

  • localestringoptional

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/suggestions"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/conversations

GET/api/v1/intelligence/conversations

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Query parameters

  • includeArchivedbooleanoptional

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/conversations

POST/api/v1/intelligence/conversations

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · CreateConversationRequest

  • environmentstringnullable
  • titlestringnullable
  • localestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "environment": "<environment>",
    "title": "<title>",
    "locale": "<locale>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations")
{
    Content = JsonContent.Create(new
    {
        environment = "<environment>",
        title = "<title>",
        locale = "<locale>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    environment: "<environment>",
    title: "<title>",
    locale: "<locale>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type CreateConversationRequest = {
  environment?: string | null;
  title?: string | null;
  locale?: string | null;
};

const body: CreateConversationRequest = {
  environment: "<environment>",
  title: "<title>",
  locale: "<locale>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "environment": "<environment>",
        "title": "<title>",
        "locale": "<locale>",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "environment": "<environment>",
              "title": "<title>",
              "locale": "<locale>"
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/conversations/{id}

GET/api/v1/intelligence/conversations/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/conversations/{id}/archive

POST/api/v1/intelligence/conversations/{id}/archive

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · ArchiveRequest

  • archivedboolean

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "archived": false
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive")
{
    Content = JsonContent.Create(new
    {
        archived = false,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    archived: false,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ArchiveRequest = {
  archived?: boolean;
};

const body: ArchiveRequest = {
  archived: false,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "archived": False,
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "archived": false
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/archive"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/conversations/{id}/messages

POST/api/v1/intelligence/conversations/{id}/messages

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · SendMessageRequest

  • textstringnullable
  • localestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "<text>",
    "locale": "<locale>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages")
{
    Content = JsonContent.Create(new
    {
        text = "<text>",
        locale = "<locale>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    text: "<text>",
    locale: "<locale>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type SendMessageRequest = {
  text?: string | null;
  locale?: string | null;
};

const body: SendMessageRequest = {
  text: "<text>",
  locale: "<locale>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "text": "<text>",
        "locale": "<locale>",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "text": "<text>",
              "locale": "<locale>"
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/messages"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/conversations/{id}/regenerate

POST/api/v1/intelligence/conversations/{id}/regenerate

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · SendMessageRequest

  • textstringnullable
  • localestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "<text>",
    "locale": "<locale>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate")
{
    Content = JsonContent.Create(new
    {
        text = "<text>",
        locale = "<locale>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    text: "<text>",
    locale: "<locale>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type SendMessageRequest = {
  text?: string | null;
  locale?: string | null;
};

const body: SendMessageRequest = {
  text: "<text>",
  locale: "<locale>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "text": "<text>",
        "locale": "<locale>",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "text": "<text>",
              "locale": "<locale>"
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/conversations/<id>/regenerate"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/messages/{id}/feedback

POST/api/v1/intelligence/messages/{id}/feedback

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · FeedbackRequest

  • ratinginteger (int32)
  • commentstringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "rating": 1,
    "comment": "<comment>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback")
{
    Content = JsonContent.Create(new
    {
        rating = 1,
        comment = "<comment>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    rating: 1,
    comment: "<comment>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type FeedbackRequest = {
  rating?: number;
  comment?: string | null;
};

const body: FeedbackRequest = {
  rating: 1,
  comment: "<comment>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "rating": 1,
        "comment": "<comment>",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "rating": 1,
              "comment": "<comment>"
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/messages/<id>/feedback"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/insights

GET/api/v1/intelligence/insights

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Query parameters

  • environmentstringoptional

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/insights" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/insights");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/insights", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/insights", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/insights",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/insights"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/dashboards

GET/api/v1/intelligence/dashboards

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/dashboards

POST/api/v1/intelligence/dashboards

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json

The spec doesn't describe the fields of this body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '"<body>"'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards")
{
    Content = JsonContent.Create("<body>")
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify("<body>"),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type RequestBody = unknown;

const body: RequestBody = "<body>";

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json="<body>",
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            "<body>"
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/dashboards/{id}

GET/api/v1/intelligence/dashboards/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

PUT /api/v1/intelligence/dashboards/{id}

PUT/api/v1/intelligence/dashboards/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json

The spec doesn't describe the fields of this body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '"<body>"'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>")
{
    Content = JsonContent.Create("<body>")
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify("<body>"),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type RequestBody = unknown;

const body: RequestBody = "<body>";

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json="<body>",
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            "<body>"
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("PUT", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

DELETE /api/v1/intelligence/dashboards/{id}

DELETE/api/v1/intelligence/dashboards/{id}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X DELETE "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.delete(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("DELETE", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/dashboards/{id}/widgets/{widgetId}/data

GET/api/v1/intelligence/dashboards/{id}/widgets/{widgetId}/data

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • widgetIdstringrequired

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/<id>/widgets/<widgetId>/data"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/dashboards/preview

POST/api/v1/intelligence/dashboards/preview

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json

The spec doesn't describe the fields of this body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '"<body>"'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview")
{
    Content = JsonContent.Create("<body>")
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify("<body>"),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type RequestBody = unknown;

const body: RequestBody = "<body>";

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json="<body>",
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            "<body>"
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/dashboards/preview"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("POST", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/usage

GET/api/v1/intelligence/usage

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Query parameters

  • daysinteger (int32)optional

    Default: 30

  • merchantIdstring (uuid)optional

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/usage" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/usage");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/usage", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/usage", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/usage",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/usage"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/config/providers

GET/api/v1/intelligence/config/providers

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

PUT /api/v1/intelligence/config/providers/{provider}

PUT/api/v1/intelligence/config/providers/{provider}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • providerAiProviderKindrequired

    One of: Anthropic · OpenAI · DevMock

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · AiProviderUpdate

  • enabledbooleannullable
  • modelstringnullable
  • baseUrlstringnullable
  • maxOutputTokensinteger (int32)nullable
  • timeoutSecondsinteger (int32)nullable
  • effortstringnullable
  • temperaturenumber (double)nullable
  • clearTemperatureboolean
  • apiKeystringnullable
  • removeStoredKeyboolean

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "model": "<model>",
    "baseUrl": "https://shop.example.com/return",
    "maxOutputTokens": 1,
    "timeoutSeconds": 1,
    "effort": "<effort>",
    "temperature": 1,
    "clearTemperature": false,
    "apiKey": "<apiKey>",
    "removeStoredKey": false
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>")
{
    Content = JsonContent.Create(new
    {
        enabled = false,
        model = "<model>",
        baseUrl = "https://shop.example.com/return",
        maxOutputTokens = 1,
        timeoutSeconds = 1,
        effort = "<effort>",
        temperature = 1,
        clearTemperature = false,
        apiKey = "<apiKey>",
        removeStoredKey = false,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    enabled: false,
    model: "<model>",
    baseUrl: "https://shop.example.com/return",
    maxOutputTokens: 1,
    timeoutSeconds: 1,
    effort: "<effort>",
    temperature: 1,
    clearTemperature: false,
    apiKey: "<apiKey>",
    removeStoredKey: false,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type AiProviderUpdate = {
  enabled?: boolean | null;
  model?: string | null;
  baseUrl?: string | null;
  maxOutputTokens?: number | null;
  timeoutSeconds?: number | null;
  effort?: string | null;
  temperature?: number | null;
  clearTemperature?: boolean;
  apiKey?: string | null;
  removeStoredKey?: boolean;
};

const body: AiProviderUpdate = {
  enabled: false,
  model: "<model>",
  baseUrl: "https://shop.example.com/return",
  maxOutputTokens: 1,
  timeoutSeconds: 1,
  effort: "<effort>",
  temperature: 1,
  clearTemperature: false,
  apiKey: "<apiKey>",
  removeStoredKey: false,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "enabled": False,
        "model": "<model>",
        "baseUrl": "https://shop.example.com/return",
        "maxOutputTokens": 1,
        "timeoutSeconds": 1,
        "effort": "<effort>",
        "temperature": 1,
        "clearTemperature": False,
        "apiKey": "<apiKey>",
        "removeStoredKey": False,
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "enabled": false,
              "model": "<model>",
              "baseUrl": "https://shop.example.com/return",
              "maxOutputTokens": 1,
              "timeoutSeconds": 1,
              "effort": "<effort>",
              "temperature": 1,
              "clearTemperature": false,
              "apiKey": "<apiKey>",
              "removeStoredKey": false
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("PUT", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

POST /api/v1/intelligence/config/providers/{provider}/test

POST/api/v1/intelligence/config/providers/{provider}/test

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • providerAiProviderKindrequired

    One of: Anthropic · OpenAI · DevMock

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/providers/<provider>/test"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("POST", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/config/bindings

GET/api/v1/intelligence/config/bindings

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

PUT /api/v1/intelligence/config/bindings/{feature}

PUT/api/v1/intelligence/config/bindings/{feature}

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • featurestringrequired

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · AiFeatureBindingUpdate

  • enabledbooleannullable
  • providerAiProviderKind

    One of: Anthropic · OpenAI · DevMock

  • modelstringnullable
  • clearModelboolean

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "provider": "Anthropic",
    "model": "<model>",
    "clearModel": false
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>")
{
    Content = JsonContent.Create(new
    {
        enabled = false,
        provider = "Anthropic",
        model = "<model>",
        clearModel = false,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    enabled: false,
    provider: "Anthropic",
    model: "<model>",
    clearModel: false,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type AiFeatureBindingUpdate = {
  enabled?: boolean | null;
  provider?: "Anthropic" | "OpenAI" | "DevMock";
  model?: string | null;
  clearModel?: boolean;
};

const body: AiFeatureBindingUpdate = {
  enabled: false,
  provider: "Anthropic",
  model: "<model>",
  clearModel: false,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "enabled": False,
        "provider": "Anthropic",
        "model": "<model>",
        "clearModel": False,
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "enabled": false,
              "provider": "Anthropic",
              "model": "<model>",
              "clearModel": false
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/bindings/<feature>"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("PUT", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/config/settings

GET/api/v1/intelligence/config/settings

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

PUT /api/v1/intelligence/config/settings

PUT/api/v1/intelligence/config/settings

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · AiSettingsUpdate

  • enabledbooleannullable
  • monthlyBudgetUsdnumber (double)nullable
  • clearMonthlyBudgetboolean
  • merchantMonthlyLimitUsdnumber (double)nullable
  • clearMerchantMonthlyLimitboolean
  • requestsPerMinutePerUserinteger (int32)nullable
  • maxToolCallsPerTurninteger (int32)nullable
  • maxHistoryTurnsinteger (int32)nullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "monthlyBudgetUsd": 1,
    "clearMonthlyBudget": false,
    "merchantMonthlyLimitUsd": 1,
    "clearMerchantMonthlyLimit": false,
    "requestsPerMinutePerUser": 1,
    "maxToolCallsPerTurn": 1,
    "maxHistoryTurns": 1
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings")
{
    Content = JsonContent.Create(new
    {
        enabled = false,
        monthlyBudgetUsd = 1,
        clearMonthlyBudget = false,
        merchantMonthlyLimitUsd = 1,
        clearMerchantMonthlyLimit = false,
        requestsPerMinutePerUser = 1,
        maxToolCallsPerTurn = 1,
        maxHistoryTurns = 1,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    enabled: false,
    monthlyBudgetUsd: 1,
    clearMonthlyBudget: false,
    merchantMonthlyLimitUsd: 1,
    clearMerchantMonthlyLimit: false,
    requestsPerMinutePerUser: 1,
    maxToolCallsPerTurn: 1,
    maxHistoryTurns: 1,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type AiSettingsUpdate = {
  enabled?: boolean | null;
  monthlyBudgetUsd?: number | null;
  clearMonthlyBudget?: boolean;
  merchantMonthlyLimitUsd?: number | null;
  clearMerchantMonthlyLimit?: boolean;
  requestsPerMinutePerUser?: number | null;
  maxToolCallsPerTurn?: number | null;
  maxHistoryTurns?: number | null;
};

const body: AiSettingsUpdate = {
  enabled: false,
  monthlyBudgetUsd: 1,
  clearMonthlyBudget: false,
  merchantMonthlyLimitUsd: 1,
  clearMerchantMonthlyLimit: false,
  requestsPerMinutePerUser: 1,
  maxToolCallsPerTurn: 1,
  maxHistoryTurns: 1,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "enabled": False,
        "monthlyBudgetUsd": 1,
        "clearMonthlyBudget": False,
        "merchantMonthlyLimitUsd": 1,
        "clearMerchantMonthlyLimit": False,
        "requestsPerMinutePerUser": 1,
        "maxToolCallsPerTurn": 1,
        "maxHistoryTurns": 1,
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "enabled": false,
              "monthlyBudgetUsd": 1,
              "clearMonthlyBudget": false,
              "merchantMonthlyLimitUsd": 1,
              "clearMerchantMonthlyLimit": false,
              "requestsPerMinutePerUser": 1,
              "maxToolCallsPerTurn": 1,
              "maxHistoryTurns": 1
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/settings"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("PUT", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

GET /api/v1/intelligence/config/prices

GET/api/v1/intelligence/config/prices

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .method("GET", HttpRequest.BodyPublishers.noBody())
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

PUT /api/v1/intelligence/config/prices

PUT/api/v1/intelligence/config/prices

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · AiPriceRequest

  • providerAiProviderKind

    One of: Anthropic · OpenAI · DevMock

  • modelstringnullable
  • inputPerMToknumber (double)
  • outputPerMToknumber (double)
  • cacheReadPerMToknumber (double)nullable
  • cacheWritePerMToknumber (double)nullable
  • sourcestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "Anthropic",
    "model": "<model>",
    "inputPerMTok": 1,
    "outputPerMTok": 1,
    "cacheReadPerMTok": 1,
    "cacheWritePerMTok": 1,
    "source": "<source>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices")
{
    Content = JsonContent.Create(new
    {
        provider = "Anthropic",
        model = "<model>",
        inputPerMTok = 1,
        outputPerMTok = 1,
        cacheReadPerMTok = 1,
        cacheWritePerMTok = 1,
        source = "<source>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    provider: "Anthropic",
    model: "<model>",
    inputPerMTok: 1,
    outputPerMTok: 1,
    cacheReadPerMTok: 1,
    cacheWritePerMTok: 1,
    source: "<source>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type AiPriceRequest = {
  provider?: "Anthropic" | "OpenAI" | "DevMock";
  model?: string | null;
  inputPerMTok?: number;
  outputPerMTok?: number;
  cacheReadPerMTok?: number | null;
  cacheWritePerMTok?: number | null;
  source?: string | null;
};

const body: AiPriceRequest = {
  provider: "Anthropic",
  model: "<model>",
  inputPerMTok: 1,
  outputPerMTok: 1,
  cacheReadPerMTok: 1,
  cacheWritePerMTok: 1,
  source: "<source>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "provider": "Anthropic",
        "model": "<model>",
        "inputPerMTok": 1,
        "outputPerMTok": 1,
        "cacheReadPerMTok": 1,
        "cacheWritePerMTok": 1,
        "source": "<source>",
    },
    timeout=30,
)
print(response.status_code, response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class MeemExample {
    public static void main(String[] args) throws Exception {
        String body = """
            {
              "provider": "Anthropic",
              "model": "<model>",
              "inputPerMTok": 1,
              "outputPerMTok": 1,
              "cacheReadPerMTok": 1,
              "cacheWritePerMTok": 1,
              "source": "<source>"
            }
            """;

        HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.sandbox.meem-dev.example/api/v1/intelligence/config/prices"))
            .header("Authorization", "Bearer " + System.getenv("MEEM_ACCESS_TOKEN"))
            .header("Content-Type", "application/json")
            .method("PUT", HttpRequest.BodyPublishers.ofString(body))
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}

Example response

The response schema isn't published in the spec yet.

Documentation reflects the platform as verified on 3 December 2026. Placeholder hosts and credentials are used throughout; your real sandbox host and keys are provided at onboarding.