---
title: "Get labels"
method: GET
path: "/projects/{project_id}/tasks/{task_id}/labels"
tags: ["task"]
---

# Get labels

`GET /projects/{project_id}/tasks/{task_id}/labels`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/tasks/{task_id}/labels`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Query parameters

- `offset` string
- `limit` string

## Response `200`

Success

- TaskLabel
  - `label_id` integer: Id of the label that is added to the task.
  - `created_at` string, date-time: Date and time when the label was added to the task.
  - `updated_at` string, date-time: Date and time when the label was last updated.
  - `archived` boolean: True if the label is archived, if false it is not.
  - `deleted` boolean: True if the label is deleted, if false it is not.

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
