Get what is left to set this project up
curl --request GET \
--url https://api.getlurk.com/v1/setup \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/setup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/setup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"steps": [
{
"id": "<string>",
"title": "<string>",
"line": "<string>",
"ask": "<string>",
"done": true,
"opens": [
"home"
]
}
],
"areas": [
{
"area": "home",
"locked": true,
"opened_by": "<string>"
}
],
"next": "<string>",
"complete": true,
"live": true,
"pending_key_claim": {
"id": "<string>",
"name": "<string>",
"status": "pending",
"expires_at": "2023-11-07T05:31:56Z",
"pkce_required": true,
"api_key_id": "<string>",
"code_issue_count": 1
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Projects
Get what is left to set this project up
The steps to set the project up (unit, rule, Home dashboard, go-live, app key, first event), which are done, and which dashboard areas they open. Derived from project state, so agent work counts. Once a rule goes live nothing is locked. Locks are advice: no operation is refused.
GET
/
v1
/
setup
Get what is left to set this project up
curl --request GET \
--url https://api.getlurk.com/v1/setup \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/setup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/setup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"steps": [
{
"id": "<string>",
"title": "<string>",
"line": "<string>",
"ask": "<string>",
"done": true,
"opens": [
"home"
]
}
],
"areas": [
{
"area": "home",
"locked": true,
"opened_by": "<string>"
}
],
"next": "<string>",
"complete": true,
"live": true,
"pending_key_claim": {
"id": "<string>",
"name": "<string>",
"status": "pending",
"expires_at": "2023-11-07T05:31:56Z",
"pkce_required": true,
"api_key_id": "<string>",
"code_issue_count": 1
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Response
Get what is left to set this project up