Conjure

Get the usage report

Returns what agents did over MCP and what the server spent serving them, over `period` (`7d` or `30d`, default `30d`), with a count for each day. Needs the admin token (`Authorization: Bearer <token>`) or the curator's session.

GET/v1/usage

Returns what agents did over MCP and what the server spent serving them, over period (7d or 30d, default 30d), with a count for each day. Needs the admin token (Authorization: Bearer <token>) or the curator's session.

Query Parameters

period?string

Value in

  • "7d"
  • "30d"

Response Body

application/json

application/json

curl -X GET "https://api.conjure.design/v1/usage"
{
  "period": "7d",
  "from": "string",
  "to": "string",
  "calls": {
    "total": -9007199254740991,
    "previous": -9007199254740991,
    "byPeriod": {
      "7d": -9007199254740991,
      "30d": -9007199254740991
    },
    "byTool": {
      "search_screens": -9007199254740991,
      "view_screens": -9007199254740991,
      "get_screen": -9007199254740991,
      "get_kit": -9007199254740991,
      "guides": -9007199254740991
    },
    "byDay": [
      {
        "day": "string",
        "calls": {
          "search_screens": -9007199254740991,
          "view_screens": -9007199254740991,
          "get_screen": -9007199254740991,
          "get_kit": -9007199254740991,
          "guides": -9007199254740991
        }
      }
    ]
  },
  "callers": {
    "byCaller": {
      "unlimited": -9007199254740991,
      "free": -9007199254740991,
      "keyless": -9007199254740991,
      "curator": -9007199254740991,
      "refused": -9007199254740991
    },
    "byDay": [
      {
        "day": "string",
        "callers": {
          "unlimited": -9007199254740991,
          "free": -9007199254740991,
          "keyless": -9007199254740991,
          "curator": -9007199254740991,
          "refused": -9007199254740991
        }
      }
    ]
  },
  "accounts": {
    "total": -9007199254740991,
    "new": -9007199254740991,
    "unlimited": -9007199254740991,
    "active": -9007199254740991
  },
  "searches": {
    "total": -9007199254740991,
    "misses": -9007199254740991,
    "weak": -9007199254740991
  },
  "images": {
    "count": -9007199254740991,
    "bytes": -9007199254740991,
    "approxTokens": -9007199254740991
  },
  "queries": {
    "distinct": -9007199254740991,
    "missed": -9007199254740991,
    "all": [
      {
        "query": "string",
        "times": -9007199254740991,
        "latestMatched": -9007199254740991,
        "latestReturned": -9007199254740991
      }
    ],
    "misses": [
      {
        "query": "string",
        "times": -9007199254740991,
        "latestMatched": -9007199254740991,
        "latestReturned": -9007199254740991
      }
    ]
  },
  "costs": {
    "labelling": {
      "runs": -9007199254740991,
      "screens": -9007199254740991,
      "tokens": {
        "inputUncached": -9007199254740991,
        "inputCacheRead": -9007199254740991,
        "inputCacheWrite": -9007199254740991,
        "output": -9007199254740991
      },
      "unreported": -9007199254740991,
      "models": [
        {
          "provider": "string",
          "model": "string",
          "runs": -9007199254740991,
          "priced": true
        }
      ],
      "usd": 0
    },
    "images": {
      "count": -9007199254740991,
      "bytes": -9007199254740991
    },
    "search": {
      "calls": -9007199254740991
    },
    "detailsAndGuides": {
      "calls": -9007199254740991
    },
    "total": {
      "calls": -9007199254740991,
      "usd": 0,
      "usdPerThousandCalls": 0
    }
  }
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}