Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
tags
Create tag
curl --request POST \
  --url https://capy.ai/api/v1/projects/{projectId}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "name": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.capy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API token (capy_xxxx). Generate at capy.ai/settings/tokens

Path Parameters

projectId
string
required

Project ID.

Body

application/json
name
string
required
Required string length: 1 - 64
Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
color
enum<string>
required
Available options:
default,
primary,
success,
warning,
destructive,
blue,
purple,
pink,
orange,
lime

Response

Success

name
string
required
Required string length: 1 - 64
Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
color
enum<string>
required
Available options:
default,
primary,
success,
warning,
destructive,
blue,
purple,
pink,
orange,
lime