Skip to content

Get-DifyTag

Warning

This help was primarily created by a generative AI. It may contain partially inaccurate expressions.

SYNOPSIS

Retrieve tag information for either apps or knowledge.

SYNTAX

Get-DifyTag [[-Id] <String[]>] [[-Name] <String[]>] [[-Type] <String>]
 [<CommonParameters>]

DESCRIPTION

The Get-DifyTag cmdlet retrieves tag information from the Dify platform. Tags can be filtered by their type (app or knowledge), ID, or name.

NOTE: This help was primarily created by a generative AI. It may contain partially inaccurate expressions.

EXAMPLES

Example 1

Get-DifyTag -Type "app"

Get tags by type.

Example 2

Get-DifyTag -Type "app" -Id "..."

Get tags by ID.

Example 3

Get-DifyTag -Type "app" -Name "..."

Get tags by name.

PARAMETERS

-Id

Specifies the IDs of the tags to retrieve. Use this parameter to filter tags by their unique IDs.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the names of the tags to retrieve. Use this parameter to filter tags by their names.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Type

Specifies the type of tags to retrieve. The valid values are app or knowledge. This parameter is required to execute the cmdlet.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES