GET
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
getAuthSessions
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.authSessions.all("my-project");

  // Handle the result
  console.log(result);
}

run();
[
  {
    "id": "00000000-1111-2222-3333-444444444444"
  },
  {
    "id": "11111111-2222-3333-4444-555555555555"
  }
]

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

Response

200
application/json

List of auth sessions

The response is of type object[].