Skip to main content
Planview Customer Success Center

API: Get compact logs of an account

GET /api/rest/v1/account/logs/list?log_type_id={log_type_id}&log_id={log_id}&view=compact&limit={limit}&cursor={cursor}

Retrieve a list of basic logs information associated with account in descending order of last_modified_date.

           

NOTE

Pagination is cursor-based and operates on a snapshot. Updating and creating any log after the first request may not appear until pagination restarts.

           

Security

Bearer Token Authentication (BearerAuth)

Headers

Key

Value

Description

Required

Authorization

Bearer <token>

Bearer token for authentication and access.

Yes

Request body

None

Query parameters

Param

Type

Required

Description

log_type_id

integer

False

Filter logs by one or more log type IDs. Example: log_type_id=12 or log_type_id=12,23,34

log_id

integer

False

Filter logs by one or more log IDs. Example: log_id=121 or log_id=121,231,314

view

string

True

Must be compact. Returns only basic log fields. Example: view=compact

limit

integer

False

Number of logs to return per page. Example: limit=100,

By default it is 50 and maximum is 100.

cursor

string

False

Cursor used for pagination. Pass the cursor returned from the previous response to fetch the next page.

Example

GET /api/rest/v1/account/logs/list?view=compact

GET /api/rest/v1/account/logs/list/log_type_id=12,23&view=compact

GET /api/rest/v1/account/logs/list/log_type_id=12,23&view=compact

GET /api/rest/v1/account/logs/list/log_type_id=12,23&log_id=121&view=compact&limit=100

GET /api/rest/v1/account/logs/list/log_type_id=12,23&log_id=121&view=compact&limit=100&cursor=eyJ1cGRhdGVkX2F0IjogIjIwMjYtMDEtMjFUMDQ6NDg6MjkuMTk2NTY1IiwgImlkIjogNDk0MDh9

Response

Status Code: 200 OK
Content-Type: application/json

Returns a list of logs associated with the given context.

Response example

GET /api/rest/v1/account/logs/list?view=compact&limit=3

{
    “rest_logs_compact_data”: {
        “logs”: [
            {
                “id”: 49286,
                “name”: “Test”,
                “last_modified_date”: “2026-01-15T10:41:08.605940”,
                "log_type_id":12,
                “app_context”: [
                    {
                        “container_id”: 1207494,
                        “container_source”: “projectplace”,
                        “container_type”: “project”
                    }
                ]
            },
            {
                “id”: 49526,
                “name”: “test 2”,
                “last_modified_date”: “2026-01-14T12:01:12.976594",
                "log_type_id":12,
                “app_context”: [
                    {
                        “container_id”: 1978108,
                        “container_source”: “projectplace”,
                        “container_type”: “project”
                    }
                ]
            },
            {
                “id”: 49168,
                “name”: “test 3”,
                “last_modified_date”: “2026-01-14T12:01:12.945927”,
                "log_type_id":12,
                “app_context”: [
                    {
                        “container_id”: 1978108,
                        “container_source”: “projectplace”,
                        “container_type”: “project”
                    }
                ]
            }
        ],
        “next_cursor”: “eyJ1cGRhdGVkX2F0IjogIjIwMjYtMDEtMTRUMTI6MDE6MTIuOTQ1OTI3IiwgImlkIjogNDkxNjh9”
    }
}