Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Create version tag

POST/v1/private/datasets/{id}/versions/hash/{versionHash}/tagsCreate version tag

Add a tag to a specific dataset version for easy reference (e.g., 'baseline', 'v1.0', 'production')

Parameters

versionHashstringpathrequired
idstring · uuidpathrequired

Request body

application/json
objectDatasetVersionTag
tagstringrequired

maxLength 100 · minLength 0

Example request
{
  "tag": "string"
}

Responses

204Tag created successfully
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
404Not Found - Version not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
409Conflict - Tag already existsapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu