Datarova
Labels

list_project_labels

List project labels ยท Read-only, idempotent

List one page of the account's reusable project-label catalog in ascending label_id order.

Assignments appear in project results, not here. Older labels may have null name, color or pin.

Cost and limits: Consumes 5 credits.

Input

NameTypeRequiredDescription
limitintegerOptionalItems per page, 1 to 200. Default 200. Minimum 1. Maximum 200.
cursorstringOptionalOpaque page.next_cursor from the previous page of this tool, unchanged. Omit for the first page. Maximum length 1024.

Output

Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.

Fields of data:

NameTypeRequired
labelsCatalogLabel[]Required
pagePageRequired

data.labels[]

NameTypeRequiredDescription
label_idintegerRequiredMinimum 1. Maximum 2147483647.
label_namestring | nullRequired
colorstring | nullRequired
pinboolean | nullRequired

data.page

NameTypeRequiredDescription
limitintegerRequiredPage size used for this call.
next_cursorstring | nullRequiredOpaque cursor for the next page, or null on the last page. Pass it unchanged with the same filters and limit.
has_morebooleanRequiredWhether another page exists. When true, this page is a partial result.
Full input and output JSON Schema
JSONCode
{ "inputSchema": { "type": "object", "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "limit": { "description": "Items per page, 1 to 200. Default 200.", "type": "integer", "minimum": 1, "maximum": 200 }, "cursor": { "description": "Opaque page.next_cursor from the previous page of this tool, unchanged. Omit for the first page.", "type": "string", "maxLength": 1024 } }, "additionalProperties": false }, "outputSchema": { "type": "object", "required": [ "data" ], "properties": { "data": { "type": "object", "required": [ "labels", "page" ], "properties": { "labels": { "type": "array", "items": { "$ref": "#/$defs/CatalogLabel" } }, "page": { "$ref": "#/$defs/Page" } } } }, "$defs": { "CatalogLabel": { "type": "object", "description": "A reusable account label. Existing app-created labels may contain null fields or colors outside the values accepted for new writes. The default app color is returned as `gray`. Updating a label preserves fields you omit.", "required": [ "label_id", "label_name", "color", "pin" ], "properties": { "label_id": { "type": "integer", "minimum": 1, "maximum": 2147483647 }, "label_name": { "type": [ "string", "null" ] }, "color": { "type": [ "string", "null" ] }, "pin": { "type": [ "boolean", "null" ] } } }, "Page": { "type": "object", "required": [ "limit", "next_cursor", "has_more" ], "properties": { "limit": { "type": "integer", "description": "Page size used for this call." }, "next_cursor": { "type": [ "string", "null" ], "description": "Opaque cursor for the next page, or null on the last page. Pass it unchanged with the same filters and limit." }, "has_more": { "type": "boolean", "description": "Whether another page exists. When true, this page is a partial result." } } } } } }