Skip to main content

Endpoint

GET https://theslow.net/api/slowstats/get-projects

Overview

This endpoint retrieves a list of all projects tied to your API key.
Use it to list projects for dashboards, dropdowns, or initial app state.

Authentication

This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in the X-API-KEY header:
X-API-KEY: YOUR_API_KEY_HERE
For more details, see the Authentication Guide.

Query Parameters

None. This endpoint fetches all projects tied to your API key.

Responses

βœ… 200 OK

Returns a JSON array of projects:
{
  "projects": [
    {
      "id": "string",
      "name": "string",
      "created_at": "2025-07-16T00:00:00Z"
    }
  ]
}

πŸ”’ 401 Unauthorized

If authentication fails (invalid or missing API key):
{
  "error": "Unauthorized: You must provide a valid API Key."
}

πŸ’₯ 500 Internal Server Error

For unexpected server errors:
{
  "error": "An internal server error occurred."
}

Examples

CURL

curl -X GET "https://theslow.net/api/slowstats/get-projects"      -H "X-API-KEY: YOUR_API_KEY_HERE"

Python (requests)

import requests

headers = {"X-API-KEY": "YOUR_API_KEY_HERE"}
response = requests.get("https://theslow.net/api/slowstats/get-projects", headers=headers)
print(response.json())

JavaScript (fetch)

fetch("https://theslow.net/api/slowstats/get-projects", {
  headers: { "X-API-KEY": "YOUR_API_KEY_HERE" }
})
  .then(res => res.json())
  .then(data => console.log(data.projects));

Notes

  • This endpoint enforces ownership checks, meaning it only returns projects tied to your API key.

Need Further Assistance?

If you have any questions or encounter issues, please don’t hesitate to reach out to our support team.