FishOutFishOut

Create a project label

POST/orgs/{organizationId}/projects/{projectId}/labels

Create a project label within the selected project. A label with a description is applied by AI triage and counts toward the plan limit; without one it is manual-only and unlimited. Names must not repeat a built-in. Uses the app's permissions and entitlements.

Authorization

AuthorizationBearer <token>

Scoped FishOut API key. Never send credentials in query parameters.

In: header

Path Parameters

organizationId*string
Length1 <= length
projectId*string
Length1 <= length

Header Parameters

Idempotency-Key*string

Reuse for retries of the same action for 24 hours. A changed body returns 409.

Length8 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/orgs/string/projects/string/labels" \  -H "Idempotency-Key: stringst" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "data": {    "id": "string",    "projectId": "string",    "name": "string",    "description": "string",    "exclude": "string",    "examples": [      "string"    ],    "builtin": true,    "enabled": true,    "property1": "string",    "property2": "string"  },  "meta": {    "requestId": "string",    "replayed": true  }}