taxonomy
GET
https://lucidace.com /v1/projects/{project_id}/tracking-plans Scope settings:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode 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[]requiredShow child parameters
created_atstringrequiredidstringrequiredmodestringrequiredoff | warn | enforcenamestringrequiredproject_idstringrequiredschemaobjectrequired{events: [...]} (see docs/plan/12 governance).updated_atstringrequiredversionintegerrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/tracking-plans Scope settings:writeParameters
project_idstringpathrequiredRequest body
application/json
modestringoff | warn | enforce (default warn)namestringrequiredschemarequired{
"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_atstringrequiredidstringrequiredmodestringrequiredoff | warn | enforcenamestringrequiredproject_idstringrequiredschemaobjectrequired{events: [...]} (see docs/plan/12 governance).updated_atstringrequiredversionintegerrequired400
403
404
409
POST
https://lucidace.com /v1/projects/{project_id}/tracking-plans/validate Scope settings:readCompile 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_idstringpathrequiredRequest 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[]requiredShow child parameters
eventstringrequiredEvent name, or
* for a global property.messagestringrequiredpropertystringrequiredvalidbooleanrequired400
404
GET
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id} Scope settings:readParameters
project_idstringpathrequiredplan_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tracking-plans/{plan_id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id} Scope settings:writeParameters
project_idstringpathrequiredplan_idstringpathrequiredCode 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
PATCH
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id} Scope settings:writeParameters
project_idstringpathrequiredplan_idstringpathrequiredRequest body
application/json
modestringnamestringschema{
"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
GET
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id}/branches Scope settings:readParameters
project_idstringpathrequiredplan_idstringpathrequiredlimitintegerquerycursorstringqueryCode 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[]requiredShow child parameters
base_schemaobjectrequiredThe live plan's document when the branch was cut (three-way merge base).
base_versionintegerrequiredcreated_atstringrequiredcreated_bystringdescriptionstringrequiredidstringrequiredmerged_atstringmerged_bystringmerged_versionintegernamestringrequiredplan_idstringrequiredreview_notestringrequiredreviewed_atstringreviewed_bystringschemaobjectrequiredThe branch's draft plan document.
statusstringrequireddraft | in_review | changes_requested | approved | merged | closedupdated_atstringrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id}/branches Scope settings:writeParameters
project_idstringpathrequiredplan_idstringpathrequiredRequest body
application/json
descriptionstringnamestringrequired{
"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_schemaobjectrequiredThe live plan's document when the branch was cut (three-way merge base).
base_versionintegerrequiredcreated_atstringrequiredcreated_bystringdescriptionstringrequiredidstringrequiredmerged_atstringmerged_bystringmerged_versionintegernamestringrequiredplan_idstringrequiredreview_notestringrequiredreviewed_atstringreviewed_bystringschemaobjectrequiredThe branch's draft plan document.
statusstringrequireddraft | in_review | changes_requested | approved | merged | closedupdated_atstringrequired400
403
404
409
GET
https://lucidace.com /v1/projects/{project_id}/tracking-plans/{plan_id}/branches/{branch_id} Scope settings:readParameters
project_idstringpathrequiredplan_idstringpathrequiredbranch_idstringpathrequiredCode 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
Updated