Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pixlcore/xyops/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Tags are lightweight, user-defined labels you attach to events, jobs, and tickets in xyOps. They serve three key purposes: visual organization, search filtering, and automation triggers through conditional actions.Visual Organization
Display tags alongside events and jobs for quick status identification
Search & Filter
Filter jobs and tickets by tags to find related items
Conditional Actions
Trigger actions based on tag presence at job completion
Tag Structure
Each tag definition includes:- ID - Alphanumeric identifier (auto-generated or provided)
- Title - Display name shown in the UI
- Icon - Optional Material Design Icon
- Notes - Optional description
Example Tag Definition
Where Tags Apply
Tags flow through the xyOps system in multiple ways:Events
Define default tags on events that apply to every job launch:Jobs
Running jobs accumulate tags from multiple sources:- Event defaults - Inherited from the parent event
- Manual overrides - Custom tags when launching manually
- Plugin updates - Added dynamically during execution
- Workflow nodes - Added by workflow sub-jobs
- Resource limits - Added when limits are exceeded
Tickets
Tickets support their own tags and can override or extend event tags for attached jobs.Dynamic Tagging from Plugins
Event plugins can add tags to running jobs by sending push updates via STDOUT:Plugin Tag Update
- Tags are additive only (no remove/replace)
- Duplicate tags are automatically deduplicated
- Tag IDs must reference existing tag definitions
Tag-Based Conditional Actions
Trigger actions when a job completes with specific tags present:Tag Action Behavior
- Timing - Only fires on job completion
- Retry - Does not fire if the job is retried
- Deduplication - Multiple references to the same action run only once
Recommended Tag Categories
Organize your automation with these common tag patterns:Environments
Severity Levels
Teams & Ownership
Data Sensitivity
Searching and Filtering
Use tags to filter throughout xyOps:- Job Search
- Ticket Search
- Event Filtering
Filter historical jobs by one or more tags:Returns all jobs that have both tags.
API Reference
List All Tags
Get Single Tag
Create Tag
Request Body
t<random>. Optionally provide your own ID.
Update Tag
Request Body
Delete Tag
Request Body
Other Tag Sources
Beyond event defaults and plugin pushes, tags can be added by:Resource Limits
Limits can apply tags when exceeded:Workflows
Workflow nodes can define tags for sub-jobs. User-defined tags (non-underscore) bubble up to the parent workflow job for visibility.Tickets
When a ticket is created via a job action, it automatically inherits all tags from the triggering job.Permissions
These privileges control tag management:create_tags- Create new tag definitionsedit_tags- Modify existing tagsdelete_tags- Remove tag definitions
Best Practices
Define Tags First
Define Tags First
Use Descriptive Titles
Use Descriptive Titles
Keep tag titles concise but meaningful. “Prod” is clear, “p” is not.
Consistent Icons
Consistent Icons
Choose icons that visually represent the tag’s meaning for quick recognition.
Avoid System Prefixes
Avoid System Prefixes
Never create tag IDs starting with underscore (_) to prevent collisions with system tags.
Tag Hierarchies
Tag Hierarchies
Use naming conventions like “team:ops” or “env:prod” for logical grouping.