AI tag suggestions

POST /api/v1/tags/suggest

Get AI-powered tag name suggestions based on existing tags and optional context

Operation ID: suggest_tags_api_v1_tags_suggest_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

existing_tags array · string

Names of tags that already exist (to avoid duplicates)

context string

Optional business context to guide suggestions

Responses

201 Successful Response

suggestions array · TagSuggestionItem TagSuggestionItem

List of suggested tag names

2 fields
name string required

Suggested tag name

reason string required

Brief reason for the suggestion

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object