Dispra Docs

Cloud › Keys

List API calls

GET https://devapi.dispralabs.com/v1/cloud/projects/:prj/api-calls

Every call made with the project's keys over the last 30 days, refused and rate-limited ones included, with a summary of the last 24 hours. Use it to debug an integration.

Needs a key with full access.

  • Authentication: Secret key (send it as Authorization: Bearer <key>)

Parameters

  • prj string, required: The project's id. Example: prj_01jdk3m9x2v7c4q8w5n6b1t0ra
  • key string, optional: Only this key's calls (its prefix). Example: dsp_live_8Kq2
  • filter string, optional: errors, slow or rate_limited. Example: errors
  • q string, optional: Text in the path. Example: deployments
  • cursor string, optional: The next_cursor of the previous page.
  • limit number, optional: Items per page, 1 to 200 (default 50). Example: 50

Returns

Errors

StatusCodeWhen
404not_foundNo such object in the key's project (or environment).

Request samples

Dispra Cloud CLI

dcloud api GET /v1/cloud/projects/prj_01jdk3m9x2v7c4q8w5n6b1t0ra/api-calls?key=dsp_live_8Kq2&filter=errors&q=deployments&limit=50

cURL

curl "https://devapi.dispralabs.com/v1/cloud/projects/prj_01jdk3m9x2v7c4q8w5n6b1t0ra/api-calls?key=dsp_live_8Kq2&filter=errors&q=deployments&limit=50" \
  -H "Authorization: Bearer dsp_live_YOUR_KEY"

Node

const res = await fetch("https://devapi.dispralabs.com/v1/cloud/projects/prj_01jdk3m9x2v7c4q8w5n6b1t0ra/api-calls?key=dsp_live_8Kq2&filter=errors&q=deployments&limit=50", {
  method: "GET",
  headers: { Authorization: "Bearer dsp_live_YOUR_KEY" },
});
console.log(await res.json());

Python

import requests
res = requests.request("GET", "https://devapi.dispralabs.com/v1/cloud/projects/prj_01jdk3m9x2v7c4q8w5n6b1t0ra/api-calls", headers={"Authorization": "Bearer dsp_live_YOUR_KEY"}, params={"key": "dsp_live_8Kq2", "filter": "errors", "q": "deployments", "limit": "50"})
print(res.json())

Go

req, _ := http.NewRequest("GET", "https://devapi.dispralabs.com/v1/cloud/projects/prj_01jdk3m9x2v7c4q8w5n6b1t0ra/api-calls?key=dsp_live_8Kq2&filter=errors&q=deployments&limit=50", nil)
req.Header.Set("Authorization", "Bearer dsp_live_YOUR_KEY")
res, _ := http.DefaultClient.Do(req)

Responses

200

{
  "data": {
    "at": "2026-12-05T10:15:02Z",
    "key": "dsp_live_8Kq2",
    "method": "POST",
    "path": "/v1/cloud/services/svc_01jdk3n2f4g6h8j0k2l4z6x8ca/deployments",
    "status": 201,
    "latency_ms": 182,
    "request_id": "req_0b349478236d2070"
  }
}

404 not_found

{
  "error": {
    "code": "not_found",
    "message": "No such object in the key's project (or environment).",
    "request_id": "req_7f3a9c21d84be056"
  }
}

Related