Get the account
Returns the signed-in account: its plan and subscription, the calls it used today and this month, the prefix of its key, and the server's MCP address. Needs a session cookie (401 without one), and answers 404 on a server without accounts.
/v1/accountReturns the signed-in account: its plan and subscription, the calls it used today and this month, the prefix of its key, and the server's MCP address. Needs a session cookie (401 without one), and answers 404 on a server without accounts.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.conjure.design/v1/account"
{
"email": "string",
"name": "string",
"image": "string",
"curator": true,
"plan": "free",
"subscription": {
"status": "string",
"currentPeriodEnd": "string",
"cancelAtPeriodEnd": true
},
"usage": {
"today": -9007199254740991,
"month": -9007199254740991,
"resetsAt": "string"
},
"key": {
"prefix": "string",
"createdAt": "string",
"lastUsedAt": "string"
},
"mcpUrl": "string"
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
Start a checkout POST
Returns the URL of a Polar checkout of the unlimited plan, for a month (the default) or a year. Needs a session cookie (401 without one); 400 for a year on a server without a yearly plan; 503 when the server has no billing or Polar did not answer.
Make a key POST
Makes the account's key, or replaces it, and returns it. The key is shown this one time and the old key stops at once. Needs a session cookie (401 without one).