Category List
Overview
This API retrieves a list of categories available in the system. The request requires an API key for authentication.
Example
- Method:
GET
Endpoint
https://api.gpulab.ai/categories
Request Headers
| Key | Type | Description |
|---|---|---|
api-key | String | Your authentication key. |
Request Body
There is no request body for this endpoint.
Response
Status Code: 200 OK
Response Body:
[
{
"id": 1,
"name": "Category 1"
},
{
"id": 2,
"name": "Category 2"
},
{
"id": 3,
"name": "Category 3"
}
]