Skip to main content
GET
/
v1
/
tasks
/
{id}
/
activity
List task activity
curl --request GET \
  --url https://api.shingleai.com/v1/tasks/{id}/activity \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440010",
      "createdAt": "2024-01-15T14:30:00Z",
      "updatedAt": "2024-01-15T14:30:00Z",
      "deletedAt": null,
      "organizationId": "123e4567-e89b-12d3-a456-426614174000",
      "taskId": "550e8400-e29b-41d4-a716-446655440000",
      "userId": "123e4567-e89b-12d3-a456-426614174000",
      "action": "updated",
      "fieldName": "status",
      "metadata": null,
      "oldValue": "<unknown>",
      "newValue": "<unknown>"
    }
  ],
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

Task UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Query Parameters

limit
number
default:10

Maximum number of items to return (1-100)

Required range: 1 <= x <= 100
Example:

10

offset
number | null
default:0

Number of items to skip

Required range: x >= 0
Example:

0

sortOrder
enum<string>
default:desc

Sort order by creation date

Available options:
asc,
desc
Example:

"desc"

Response

Task activity history with pagination metadata

data
object[]
required
meta
object