---
title: "Create AuthSession - Result"
method: GET
path: "/{workspaceId}/projects/{projectName}/auth-sessions/create/{operationId}/result"
tags: ["projects.authSessions.create"]
---

# Create AuthSession - Result

`GET /{workspaceId}/projects/{projectName}/auth-sessions/create/{operationId}/result`

## Request

- Base URL: `https://app.intuned.io/api/v1/workspace`
- URL: `https://app.intuned.io/api/v1/workspace/{workspaceId}/projects/{projectName}/auth-sessions/create/{operationId}/result`
- Auth: API key in header `x-api-key`

Get AuthSession creation result.

## Path parameters

- `workspaceId` string, uuid, required
- `projectName` string, required
- `operationId` string, required

## Response `200`

AuthSession creation result

- union
  - object
    - `status` 'done', required
    - `authSessionId` string, required: The unique identifier for the authentication session
  - object
    - `status` 'pending', required
  - object
    - `status` 'canceled', required
    - `message` string, required
    - `reason` object, required
      - `type` 'auth-session-validate-dependency-failed' | 'terminated' | 'job-run-paused' | 'job-run-terminated' | 'failed-to-initialize-job-run' | 'api-access-disabled' | 'cancelled-user-action', required
      - `message` string, required
      - `doc_url` string: Optional URL to documentation for this error
      - `details` unknown
  - object
    - `status` 'in_progress', required
    - `runId` string, required: Unique identifier for the run, prefixed nanoId (ru_...)
  - object
    - `status` 'failed', required
    - `message` string, required
    - `error` object, required
      - `message` string, required: Error message describing the failure
      - `code` 'internal-server-error' | 'script-process-crashed' | 'unexpected' | 'script-process-crashed' | 'script-execution-exception' | 'script-no-valid-output-received' | 'result-too-big-error' | 'script-timeout' | 'script-unexpected-error' | 'auth-check-failed' | 'all-attempts-failed' | 'check-attempts-failed' | 'create-attempts-failed' | 'post-create-check-attempts-failed' | 'api-attempts-failed' | 'onepassword-integration-error' | 'job-run-terminated': Optional error code for more specific error identification
      - `category` 'infrastructure' | 'execution' | 'auth' | 'user' | 'billing', required
      - `retirable` boolean
      - `doc_url` string: Optional URL to documentation for this error
      - `correlation_id` string: Optional correlation ID for tracing the error in logs
      - `details` unknown

---

[API](https://skmtc.dev/intunedhq/apis/intuned-client.md) - [All operations](https://skmtc.dev/intunedhq/apis/intuned-client/llms.txt) - [OpenAPI document](https://skmtc.dev/intunedhq/apis/intuned-client/revisions/9f87fec44145?raw)
