Documentation Index
Fetch the complete documentation index at: https://mintlify.com/YamiDarknezz/task-forge-api/llms.txt
Use this file to discover all available pages before exploring further.
Returns a paginated list of all tags available in the system. Any authenticated user can call this endpoint.
Authentication
Requires a valid Bearer access token.
Authorization: Bearer <access_token>
Query Parameters
The page number to retrieve.
Number of tags to return per page. Maximum value is 100.
Field to sort results by. Allowed values: id, name, created_at, updated_at.
Sort direction. Allowed values: asc, desc.
Response
true when the request succeeds.
Array of tag objects.
Unique identifier for the tag.
Hex color code associated with the tag (e.g. #FF5733).
Optional description of the tag’s purpose.
Number of tasks currently associated with this tag.
ISO 8601 timestamp of when the tag was created.
ISO 8601 timestamp of the last update to the tag.
Number of items per page.
Total number of tags across all pages.
Whether a next page exists.
Whether a previous page exists.
Errors
| Status | Description |
|---|
401 | Missing or invalid access token. |
Example
curl -X GET "https://task-forge-gbd6h8gtg8hchve9.chilecentral-01.azurewebsites.net/api/tags?page=1&per_page=50&sort_by=name&sort_order=asc" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
"success": true,
"data": {
"tags": [
{
"id": 3,
"name": "Backend",
"color": "#3B82F6",
"description": "Backend development tasks",
"task_count": 12,
"created_at": "2024-01-10T09:00:00",
"updated_at": "2024-02-20T11:30:00"
},
{
"id": 1,
"name": "Bug",
"color": "#EF4444",
"description": "Confirmed bugs requiring a fix",
"task_count": 5,
"created_at": "2024-01-08T08:00:00",
"updated_at": "2024-01-08T08:00:00"
}
],
"pagination": {
"page": 1,
"per_page": 50,
"total": 2,
"total_pages": 1,
"has_next": false,
"has_prev": false
}
}
}