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

const intunedClient = new IntunedClient({
  workspaceId: "123e4567-e89b-12d3-a456-426614174000",
  apiKey: "<YOUR_API_KEY_HERE>",
});

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

  console.log(result);
}

run();
[
  {
    "id": "auth-session-123",
    "type": "CREDENTIALS",
    "status": "READY"
  },
  {
    "id": "auth-session-456",
    "type": "RUNTIME",
    "status": "PENDING"
  }
]

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 authentication sessions

id
string
required

The unique identifier for the authentication session

Minimum length: 3
Example:

"auth-session-123"

type
enum<string>
required
Available options:
CREDENTIALS,
RECORDER,
RUNTIME
status
enum<string>
required
Available options:
PENDING,
READY,
EXPIRED