Skip to main content
GET
/
{workspaceId}
/
projects
/
{projectName}
/
auth-sessions
/
create
/
{operationId}
/
result
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.create.result(project_name="my-project", operation_id="aaaabbbCCCCdddd")

    # Handle response
    print(res)
{
"status": "done",
"authSessionId": "auth-session-123"
}

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.

operationId
string
required

The ID for the operation. This is obtained from the start request.

Response

200 - application/json

Auth session creation result

  • Done
  • Pending
  • Canceled
  • In Progress
  • Failed
status
enum<string>
required
Available options:
done
authSessionId
string
required

The unique identifier for the authentication session

Minimum length: 3
Example:

"auth-session-123"