GET
/
task
/
list
JavaScript
import Tembo from '@tembo-io/sdk';

const client = new Tembo({
  apiKey: 'My API Key',
});

const tasks = await client.task.list();

console.log(tasks.issues);
{
  "issues": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "description": "<string>",
      "status": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "meta": {
    "totalCount": 123,
    "totalPages": 123,
    "currentPage": 123,
    "pageSize": 123,
    "hasNext": true,
    "hasPrevious": true
  }
}

Query Parameters

limit
integer
default:10

Number of items to return per page (max 100)

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

10

page
integer
default:1

Page number to retrieve (starts from 1)

Required range: x >= 1
Example:

1

Response

200 - application/json

Successfully retrieved paginated list of issues

issues
object[]
required
meta
object
required