Project keywords
add_project_keywords
Add project keywords ยท Changes data
Add up to 500 keyword attachments to one owned marketplace project.
- Keywords are trimmed, lowercased, validated and deduplicated.
- Existing attachments and their labels remain unchanged.
- Optional
label_idsapply only to new attachments. - No removal prompt is needed.
- Inspect readback after an uncertain response before repeating.
Cost and limits: Account/project capacity and the credit balance apply; one successful batch costs 5 credits.
Input
| Name | Type | Required | Description |
|---|---|---|---|
project_id | integer | Required | A marketplace project ID: list_projects data.projects[].marketplaces[].project_id, not a project group. Minimum 1. Maximum 2147483647. |
keywords | string[] | Required | At most 500 inputs before normalization and deduplication. At least 1 item. At most 500 items. |
label_ids | integer[] | Optional | Item-label IDs from list_item_labels, applied only to newly attached keywords. At most 1000 items. |
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:
| Name | Type | Required |
|---|---|---|
operation | string | Required |
committed | true | Required |
recovered | boolean | Required |
outcome | object | Required |
Full input and output JSON Schema
Code