Skip to main content
GET
/
v0.1
/
team
/
limits
Get Team Limits
curl --request GET \
  --url https://api.promptloop.com/v0.1/team/limits \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.promptloop.com/v0.1/team/limits"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.promptloop.com/v0.1/team/limits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "status": "success",
  "data": {
    "plan": "Pro",
    "row_limit": 250,
    "rate_limited": true,
    "subscribed": true,
    "enterprise": false
  },
  "message": "<string>",
  "error": {
    "code": 123,
    "details": "<string>"
  }
}
{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}
{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}
{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}
{
"status": "error",
"data": {},
"message": "<string>",
"error": {
"code": 123,
"details": "<string>"
}
}

Authorizations

x-api-key
string
header
required

Response

Successfully retrieved limits data

status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required
message
string
required
error
object