Skip to main content
GET
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
/
{authSessionId}
Python (SDK)
from intuned_client import IntunedClient
import os


with IntunedClient(
    workspace_id="123e4567-e89b-12d3-a456-426614174000",
    api_key=os.getenv("INTUNED_API_KEY", ""),
) as ic_client:

    res = ic_client.project.auth_sessions.one(project_name="my-project", auth_session_id="<id>")

    # Handle response
    print(res)
{
  "id": "auth-session-123",
  "type": "CREDENTIALS",
  "status": "READY"
}

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.

authSessionId
string
required

Authentication session ID. You can obtain it from the Auth Sessions tab in your project details.

Response

200 - application/json

Auth Session details

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