taxonomy

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-taxonomy"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/c5dc3a1d-51b3-496c-aa50-15d3d4cca3ff/social-card.svg?v=3e7ae33eec8b" alt="taxonomy" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/tracking-plansScope settings:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tracking-plans"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "data": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "mode": "string",
      "name": "string",
      "project_id": "string",
      "schema": {},
      "updated_at": "2024-01-01T00:00:00Z",
      "version": 0
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
created_atstringrequired
idstringrequired
modestringrequired
off | warn | enforce
namestringrequired
project_idstringrequired
schemaobjectrequired
{events: [...]} (see docs/plan/12 governance).
updated_atstringrequired
versionintegerrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/tracking-plansScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
modestring
off | warn | enforce (default warn)
namestringrequired
schemarequired
{
  "mode": "string",
  "name": "string",
  "schema": {}
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/tracking-plans" \
  -H "Content-Type: application/json" \
  -d '{"mode":"string","name":"string","schema":{}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "id": "string",
  "mode": "string",
  "name": "string",
  "project_id": "string",
  "schema": {},
  "updated_at": "2024-01-01T00:00:00Z",
  "version": 0
}
Schema
created_atstringrequired
idstringrequired
modestringrequired
off | warn | enforce
namestringrequired
project_idstringrequired
schemaobjectrequired
{events: [...]} (see docs/plan/12 governance).
updated_atstringrequired
versionintegerrequired
400
403
404
409
POSThttps://lucidace.com/v1/projects/{project_id}/tracking-plans/validateScope settings:read

Compile a plan's patterns with the server's regex engine and report each failing property, without saving anything. A document that does not parse at all is a 400.

Parameters

project_idstringpathrequired

Request body

application/json
schemarequired
{
  "schema": {}
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/tracking-plans/validate" \
  -H "Content-Type: application/json" \
  -d '{"schema":{}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "errors": [
    {
      "event": "string",
      "message": "string",
      "property": "string"
    }
  ],
  "valid": true
}
Schema
errorsPropertyError[]required
Show child parameters
eventstringrequired
Event name, or * for a global property.
messagestringrequired
propertystringrequired
validbooleanrequired
400
404
GEThttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}Scope settings:read

Parameters

project_idstringpathrequired
plan_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

404
DELETEhttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}Scope settings:write

Parameters

project_idstringpathrequired
plan_idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}Scope settings:write

Parameters

project_idstringpathrequired
plan_idstringpathrequired

Request body

application/json
modestring
namestring
schema
{
  "mode": "string",
  "name": "string",
  "schema": {}
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}" \
  -H "Content-Type: application/json" \
  -d '{"mode":"string","name":"string","schema":{}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409
GEThttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branchesScope settings:read

Parameters

project_idstringpathrequired
plan_idstringpathrequired
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branches"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "data": [
    {
      "base_schema": {},
      "base_version": 0,
      "created_at": "2024-01-01T00:00:00Z",
      "created_by": "string",
      "description": "string",
      "id": "string",
      "merged_at": "2024-01-01T00:00:00Z",
      "merged_by": "string",
      "merged_version": 0,
      "name": "string",
      "plan_id": "string",
      "review_note": "string",
      "reviewed_at": "2024-01-01T00:00:00Z",
      "reviewed_by": "string",
      "schema": {},
      "status": "string",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
base_schemaobjectrequired
The live plan's document when the branch was cut (three-way merge base).
base_versionintegerrequired
created_atstringrequired
created_bystring
descriptionstringrequired
idstringrequired
merged_atstring
merged_bystring
merged_versioninteger
namestringrequired
plan_idstringrequired
review_notestringrequired
reviewed_atstring
reviewed_bystring
schemaobjectrequired
The branch's draft plan document.
statusstringrequired
draft | in_review | changes_requested | approved | merged | closed
updated_atstringrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branchesScope settings:write

Parameters

project_idstringpathrequired
plan_idstringpathrequired

Request body

application/json
descriptionstring
namestringrequired
{
  "description": "string",
  "name": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branches" \
  -H "Content-Type: application/json" \
  -d '{"description":"string","name":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 A draft copy of the plan's current schema
Example
{
  "base_schema": {},
  "base_version": 0,
  "created_at": "2024-01-01T00:00:00Z",
  "created_by": "string",
  "description": "string",
  "id": "string",
  "merged_at": "2024-01-01T00:00:00Z",
  "merged_by": "string",
  "merged_version": 0,
  "name": "string",
  "plan_id": "string",
  "review_note": "string",
  "reviewed_at": "2024-01-01T00:00:00Z",
  "reviewed_by": "string",
  "schema": {},
  "status": "string",
  "updated_at": "2024-01-01T00:00:00Z"
}
Schema
base_schemaobjectrequired
The live plan's document when the branch was cut (three-way merge base).
base_versionintegerrequired
created_atstringrequired
created_bystring
descriptionstringrequired
idstringrequired
merged_atstring
merged_bystring
merged_versioninteger
namestringrequired
plan_idstringrequired
review_notestringrequired
reviewed_atstring
reviewed_bystring
schemaobjectrequired
The branch's draft plan document.
statusstringrequired
draft | in_review | changes_requested | approved | merged | closed
updated_atstringrequired
400
403
404
409
GEThttps://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branches/{branch_id}Scope settings:read

Parameters

project_idstringpathrequired
plan_idstringpathrequired
branch_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}/branches/{branch_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

404

Updated