Skip to main content
Base URL: https://api.streamlogia.com
An organisation holds one or more projects and a set of members. Every account must belong to an organisation — new users are prompted to create one on first login. The creator is automatically assigned the org_admin role.
Organisation
└── Project A  ← isolated log stream, alert rules
└── Project B
└── Members

Get my organisations

GET /v1/orgs/mine Returns organisations with the user’s role in each.
Response
[
  {
    "id": "org_a1b2c3d4",
    "name": "Acme Corp",
    "slug": "acme",
    "role": "org_admin"
  }
]

Get an organisation

GET /v1/orgs/{orgId}

Path parameters

orgId
string
required
UUID of the organisation.
Response
{
  "id": "org_a1b2c3d4",
  "name": "Acme Corp",
  "slug": "acme",
  "enabled": true,
  "createdAt": "2026-01-15T10:00:00Z",
  "updatedAt": "2026-03-01T08:30:00Z"
}

Create an organisation

POST /v1/orgs Any authenticated user can create an organisation. New accounts hit this endpoint automatically after the on-boarding step.

Request body

name
string
required
Display name — e.g. "Acme Corp"
slug
string
required
URL-safe identifier, unique across the platform — e.g. "acme-corp"
Request
{ "name": "Acme Corp", "slug": "acme-corp" }
Response
{
  "id": "org_a1b2c3d4",
  "name": "Acme Corp",
  "slug": "acme-corp",
  "createdAt": "2026-04-07T10:00:00Z"
}
StatusDescription
401Not authenticated
409Slug already taken

Update an organisation

PUT /v1/orgs/{orgId}

Path parameters

orgId
string
required
UUID of the organisation.

Request body

name
string
New display name.
slug
string
New slug — must be unique.
Request
{ "name": "Acme Corporation" }
Response
{
  "id": "org_a1b2c3d4",
  "name": "Acme Corporation",
  "slug": "acme-corp",
  "updatedAt": "2026-04-07T11:00:00Z"
}

Delete an organisation

DELETE /v1/orgs/{orgId}
Irreversible. All projects, logs, members, API keys, and alert rules are permanently deleted.

Path parameters

orgId
string
required
UUID of the organisation.
Returns 204 No Content with an empty body.

Next: create a project →

Projects are where logs live and API keys are scoped.