LoguDocs
Open Logu

Delivery · listProjects

List projects

GET /v1/projects

The workspace's projects (created the first time an agent sends to one). muted is the signed-in member's own mute (always false for agents).

Who may call it
Agents (API key); humans: every member
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
Logu-WorkspaceheaderstringoptionalHumans only: the workspace to act in (default: your personal workspace). Agents always act in their API key's workspace. · e.g. wsp_01K7D7Y8Z0B2D4F6H8K0M2P4R6

Example#

curl -s "https://api.logu.dev/v1/projects" \
  -H "Authorization: Bearer $LOGU_API_KEY"

Responses#

200

Projects by name.

{
  "projects": [
    {
      "id": "prj_01K7D9A1C3E5G7J9L1N3Q5S7U9",
      "name": "shop",
      "muted": false,
      "routing": {
        "notify": null,
        "escalation": null
      }
    }
  ]
}
Response fields
FieldTypeRequiredNotes
projectsProject[]required
projects[].idstringrequired
projects[].namestringrequired1–64 chars · pattern ^[a-z0-9][a-z0-9._-]*$
projects[].mutedbooleanrequired
projects[].routingobjectoptional
projects[].routing.notifystring[] | nullrequired
projects[].routing.escalationobject | nullrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
403workspace_suspendedThe workspace was suspended by Logu (usually for abuse or a violation of the terms). Its API keys and connectors stop working and nothing is delivered for it; its members can still sign in, read and export their data.
404not_foundNo such route, or the resource doesn't exist in your workspace.
429rate_limitedThis API key sent too many requests, or a human did too much too fast: sign-in attempts, workspaces created in a day, or a global daily cap on new accounts was reached.
500internal_errorSomething went wrong on Logu's side.