API Reference
Remove tags from many prompts at once
Counterpart of the bulk assign, for multi-prompt tag edits. Prompts outside the organization are reported in `skippedPromptIds` instead of failing the request, and pairs that were never linked are absorbed.
POST
header
X-API-Key<token>API Key for programmatic access
domainId*stringPublic UUID of the domain whose tag library is addressed
application/json- body
promptIds*array<string>Items
items <= 500tagIds*array<string>Items
items <= 500Removal summary
application/json- response
removed*numberLinks this call deleted; already-absent pairs count as 0
skippedPromptIds*array<string>Requested prompt UUIDs that do not belong to the organization
curl -X POST 'https://api.getmint.ai/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/tags/assignments/bulk-unassign' \ -H 'Content-Type: application/json' \ -d '{ "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ], "tagIds": [ "7c9e6679-7425-40de-944b-e07fc1f90ae7" ]}'{ "removed": 120, "skippedPromptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ]}