LemuAIDocs

Projects · 1 min read

Get a Project

Get one LemuTickets project with its ticket types, workflow statuses and transitions

Open in ChatGPTOpen in ClaudeMarkdown

Returns one project with its ticket types and workflows. Use it to learn the status names, categories and transitions to use in your integration, and the ticket type names you can send when creating tickets.

GET/v1/projects/{ref}

Needs the projects.read scope in the project.

Path parameters#

NameTypeRequiredDescription
refstringYesThe project key (SUP, not case sensitive) or id.

Example request:

cURL
curl https://api.tickets.lemuai.com/v1/projects/SUP \
  -H "Authorization: Bearer ltk_live_your_api_key"

Response#

200

JSON
{
  "id": "3b0f6c1e-8a2d-4f5b-9c71-0e4d2a6b8f13",
  "key": "SUP",
  "name": "Customer Support",
  "description": "Complaints and requests from customers on every channel",
  "type": "service_desk",
  "visibility": "open",
  "lead_user_id": "0e2a4c6b-8d1f-4a3e-9b5c-7d9f1a3c5e7b",
  "default_team_id": "1c3e5a7b-9d2f-4e6a-b8c0-a2e4f6b8d0c1",
  "default_type_id": "9d2e4f60-1b3a-4c8d-a7e5-6f0b2c9d1e47",
  "color": "blue",
  "icon": "headset",
  "settings": {},
  "external_id": null,
  "archived": false,
  "created_at": "2026-10-01T06:30:00.000000+00:00",
  "open_tickets": 128,
  "permissions": ["comments.internal", "projects.read", "requesters.read", "requesters.write", "tickets.read", "tickets.write"],
  "types": [
    {
      "id": "9d2e4f60-1b3a-4c8d-a7e5-6f0b2c9d1e47",
      "project_id": "3b0f6c1e-8a2d-4f5b-9c71-0e4d2a6b8f13",
      "name": "Complaint",
      "description": "",
      "icon": "message-square-warning",
      "color": "red",
      "workflow_id": "2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3d5f7a",
      "sla_policy_id": "7e9a1c3b-5d2f-4a6e-8b0c-1d3f5a7c9e2b",
      "field_layout": [],
      "is_subtask": false,
      "archived": false
    }
  ],
  "workflows": [
    {
      "id": "2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3d5f7a",
      "name": "Service desk",
      "description": "",
      "project_id": "3b0f6c1e-8a2d-4f5b-9c71-0e4d2a6b8f13",
      "initial_status_id": "4d7b9e1f-3a5c-4e8b-a0d2-f4b6c8e0a1d3",
      "allow_any_transition": false,
      "layout": {},
      "statuses": [
        {
          "id": "4d7b9e1f-3a5c-4e8b-a0d2-f4b6c8e0a1d3",
          "name": "New",
          "category": "new",
          "color": "sky",
          "position": 0,
          "pauses_sla": false,
          "is_resolution": false,
          "is_final": false,
          "wip_limit": null
        },
        {
          "id": "7a2b3c4d-9e5f-4a6b-b7c8-d9e0f1a2b3c4",
          "name": "Resolved",
          "category": "done",
          "color": "green",
          "position": 5,
          "pauses_sla": false,
          "is_resolution": true,
          "is_final": false,
          "wip_limit": null
        }
      ],
      "transitions": [
        {
          "id": "b1d3f5a7-9c2e-4b4d-8f6a-1c3e5a7b9d0f",
          "name": "Resolve",
          "from_status_id": null,
          "to_status_id": "7a2b3c4d-9e5f-4a6b-b7c8-d9e0f1a2b3c4",
          "conditions": {},
          "validators": {},
          "post_actions": [],
          "approval": {}
        }
      ]
    }
  ]
}

The response has the project fields (with permissions filled in), plus:

FieldTypeDescription
permissionsarray of stringsThe scopes the caller has in this project.
typesarrayThe project's ticket types: id, name, description, icon, color, the workflow_id it uses, its sla_policy_id, is_subtask and archived.
workflowsarrayThe workflows the types use (shortened above).

Each workflow has:

FieldDescription
initial_status_idThe status new tickets start in.
allow_any_transitiontrue if tickets can move to any status, ignoring transitions.
statusesEach status: id, name, category (new, open, waiting, done), color, position, pauses_sla (the SLA clock stops in this status), is_resolution (reaching it counts as resolved), is_final (reaching it closes the ticket) and wip_limit.
transitionsEach transition: id, name, from_status_id (null means from any status), to_status_id, conditions (who may use it), validators (required_fields, require_comment), post_actions and approval.

Errors#

StatuscodeWhen
403missing_capabilityThe key does not have projects.read in this project
404project_not_foundNo project with this key or id, or the key cannot access it