> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/release-notes/cloudeka-api/ai-deka-registry/assign-label-to-artifact.md).

# Assign label to artifact

Assigns the specified label to an artifact.

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI Deka Registry","description":"API endpoints for AI Deka Registry (base: /core/dekaregistry)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_dekaregistry__gin_utils.MessageResponse":{"type":"object","properties":{"message":{"type":"string"}}}}},"paths":{"/core/dekaregistry/v2/artifact/{id}/assign-label/{label_id}":{"post":{"description":"Assigns the specified label to an artifact.","tags":["AI Deka Registry","Artifact"],"summary":"Assign label to artifact","parameters":[{"schema":{"type":"string","format":"uuid"},"description":"Artifact ID","name":"id","in":"path","required":true},{"schema":{"type":"integer"},"description":"Label ID","name":"label_id","in":"path","required":true}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}}}}}}}
```
