capabilities.work

Apply a suggested label to a pull request

One step with Harness. We can help you get access.

Get something done

Apply a suggested label to a pull request

with Harness
Works with AI assistants

Use Harness: its Harness Pullreq API lets you apply a suggested label to a pull request in a single step (POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels/{label_id}/apply). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I accept a label that was suggested for my pull request?
  • Can I turn a label suggestion into a real label on the PR?
Say it to your AI assistant
  • Apply suggested label {label_id} to PR #{pullreq_number} in {repo_identifier}.
  • Accept the label suggestion {label_id} on pull request {pullreq_number} in repo {repo_identifier}.
For your developer

POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels/{label_id}/apply in Harness Pullreq API. Full spec on APIs.io.